質問編集履歴
1
エラーの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -367,3 +367,41 @@
|
|
367
367
|
}
|
368
368
|
|
369
369
|
```
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
```ここに言語を入力
|
376
|
+
|
377
|
+
java.lang.RuntimeException: Unable to resume activity {com.example.quiz.quizgame/com.example.quiz.quizgame.MainGame}:
|
378
|
+
|
379
|
+
java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3581)
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
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.
|
390
|
+
|
391
|
+
at android.database.CursorWindow.nativeGetString(Native Method)
|
392
|
+
|
393
|
+
at android.database.CursorWindow.getString(CursorWindow.java:438)
|
394
|
+
|
395
|
+
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
|
396
|
+
|
397
|
+
at com.example.quiz.quizgame.MainGame.setQuestion(MainGame.java:79)
|
398
|
+
|
399
|
+
at com.example.quiz.quizgame.MainGame.onResume(MainGame.java:59)**
|
400
|
+
|
401
|
+
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
|
402
|
+
|
403
|
+
at android.app.Activity.performResume(Activity.java:7117)
|
404
|
+
|
405
|
+
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
|
406
|
+
|
407
|
+
```
|