NanocTheBuilder / AlienPlayer4X

This is an Android app that helps running the Alien Players in Space Empires 4X board game
GNU General Public License v3.0
3 stars 1 forks source link

NPE in colorButton.setOnCheckedChangeListener #60

Closed NanocTheBuilder closed 6 years ago

NanocTheBuilder commented 6 years ago

May 28, 8:58 PM on app version 1 Samsung Galaxy Core Prime (coreprimevelte), 1024MB RAM, Android 5.1 Report 2 of 2

java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2695) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2769) at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:4378) at android.app.ActivityThread.access$1000 (ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1436) at android.os.Handler.dispatchMessage (Handler.java:102) at android.os.Looper.loop (Looper.java:135) at android.app.ActivityThread.main (ActivityThread.java:5910) at java.lang.reflect.Method.invoke (Native Method) at java.lang.reflect.Method.invoke (Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1405) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200) Caused by: java.lang.NullPointerException: at com.thilian.se4x.robot.app.activities.NewGameActivity$3.onCheckedChanged (NewGameActivity.java:110) at android.widget.CompoundButton.setChecked (CompoundButton.java:163) at android.widget.ToggleButton.setChecked (ToggleButton.java:73) at android.widget.CompoundButton.onRestoreInstanceState (CompoundButton.java:531) at android.view.View.dispatchRestoreInstanceState (View.java:14141) at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:3089) at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:3089) at android.view.View.restoreHierarchyState (View.java:14119) at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState (PhoneWindow.java:2220) at android.app.Activity.onRestoreInstanceState (Activity.java:1086) at android.app.Activity.performRestoreInstanceState (Activity.java:1027) at android.app.Instrumentation.callActivityOnRestoreInstanceState (Instrumentation.java:1174) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2668)