質問編集履歴
1
編集依頼で
test
CHANGED
File without changes
|
test
CHANGED
@@ -301,3 +301,29 @@
|
|
301
301
|
}
|
302
302
|
|
303
303
|
```
|
304
|
+
|
305
|
+
追記
|
306
|
+
|
307
|
+
エラーログは下記のように出ました。
|
308
|
+
|
309
|
+
```ここに言語を入力
|
310
|
+
|
311
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: FATAL EXCEPTION: Thread-8152
|
312
|
+
|
313
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: Process: net.kenta.slotcount, PID: 1436
|
314
|
+
|
315
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Canvas.drawColor(int, android.graphics.PorterDuff$Mode)' on a null object reference
|
316
|
+
|
317
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at android.view.SurfaceView.dispatchDraw(SurfaceView.java:349)
|
318
|
+
|
319
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at android.view.View.draw(View.java:15207)
|
320
|
+
|
321
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at android.view.SurfaceView.draw(SurfaceView.java:340)
|
322
|
+
|
323
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at net.kenta.slotcount.SurfaceEx.draw(SurfaceEx.java:88)
|
324
|
+
|
325
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at net.kenta.slotcount.SurfaceEx.run(SurfaceEx.java:80)
|
326
|
+
|
327
|
+
06-08 19:27:26.404 1436-1531/net.kenta.slotcount E/AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
|
328
|
+
|
329
|
+
```
|