質問編集履歴
1
エラーの追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -182,4 +182,23 @@
|
|
182
182
|
}
|
183
183
|
}
|
184
184
|
}
|
185
|
+
```
|
186
|
+
|
187
|
+
|
188
|
+
```ここに言語を入力
|
189
|
+
java.lang.RuntimeException: Unable to resume activity {com.example.quiz.quizgame/com.example.quiz.quizgame.MainGame}:
|
190
|
+
java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
|
191
|
+
|
192
|
+
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3581)
|
193
|
+
|
194
|
+
|
195
|
+
Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
|
196
|
+
at android.database.CursorWindow.nativeGetString(Native Method)
|
197
|
+
at android.database.CursorWindow.getString(CursorWindow.java:438)
|
198
|
+
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
|
199
|
+
at com.example.quiz.quizgame.MainGame.setQuestion(MainGame.java:79)
|
200
|
+
at com.example.quiz.quizgame.MainGame.onResume(MainGame.java:59)**
|
201
|
+
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
|
202
|
+
at android.app.Activity.performResume(Activity.java:7117)
|
203
|
+
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
|
185
204
|
```
|