D Deleted member 103 Guest May 15, 2014 #1 Hi, I got a crash report in my Google Play Developer console. What is the error? java.lang.NullPointerException at fg.cronomillemiglia_pro.main$ResumeMessage.run(main.java:254) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) at dalvik.system.NativeStart.main(Native Method) Click to expand...
Hi, I got a crash report in my Google Play Developer console. What is the error? java.lang.NullPointerException at fg.cronomillemiglia_pro.main$ResumeMessage.run(main.java:254) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) at dalvik.system.NativeStart.main(Native Method) Click to expand...
Erel B4X founder Staff member Licensed User Longtime User May 15, 2014 #2 Did it happen more than once? I've just checked the source code and such an error isn't supported to happen. Upvote 0
Did it happen more than once? I've just checked the source code and such an error isn't supported to happen.
D Deleted member 103 Guest May 15, 2014 #3 Unfortunately, that is all. Here again a screenshot. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 15, 2014 #4 This is the relevant code: Code: Copy if (mostCurrent == null || mostCurrent != activity.get()) return; processBA.setActivityPaused(false); BA.LogInfo("** Activity (main) Resume **"); processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null); <--- line 254 This error can only happen if mostCurrent is null. However there is a check for this at the beginning. Seems like something wrong happened when the process has started. Upvote 0
This is the relevant code: Code: Copy if (mostCurrent == null || mostCurrent != activity.get()) return; processBA.setActivityPaused(false); BA.LogInfo("** Activity (main) Resume **"); processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null); <--- line 254 This error can only happen if mostCurrent is null. However there is a check for this at the beginning. Seems like something wrong happened when the process has started.
D Deleted member 103 Guest May 15, 2014 #5 What can I do about it, or I can catch the error? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 15, 2014 #6 There is nothing that you can do about it. Upvote 0