Android Question mystery crash

Jack Cole

Well-Known Member
Licensed User
Longtime User
I have the following crash, which is current my top crash. I'm not able to make much sense of it.

It is affecting multiple Android versions.
1609706562814.png


Anyone have an idea?

java.lang.NullPointerException:
at anywheresoftware.b4a.keywords.Common$13.run (Common.java:1688)
at android.os.Handler.handleCallback (Handler.java:899)
at android.os.Handler.dispatchMessage (Handler.java:100)
at android.os.Looper.loop (Looper.java:238)
at android.app.ActivityThread.main (ActivityThread.java:7864)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:998)
at CPU
at 20
at 14
at 13
at 13
at 8.4
at 8.4
at 3.3
at 3.1
at 2.7
at 2.5
at 2.1
at 1.7
at 1.4
at 1.2
at 1.2
at 1.2
at 1.2
at 1.2
at 1.1
at 1.1
at 1.1
at 1
at 1
at 0.9
at 0.8
at 0.8
 

Jack Cole

Well-Known Member
Licensed User
Longtime User
Yes.

Here is the crash from Crashlytics.

Fatal Exception: java.lang.NullPointerException
Attempt to read from field 'anywheresoftware.b4a.BA anywheresoftware.b4a.BA.processBA' on a null object reference
anywheresoftware.b4a.keywords.Common$13.run (Common.java:1688)

android.os.Handler.handleCallback (Handler.java:883)
android.os.Handler.dispatchMessage (Handler.java:100)
android.os.Looper.loop (Looper.java:214)
android.app.ActivityThread.main (ActivityThread.java:7697)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:516)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)

It seems to happen when returning to a game to play again after the results are shown. I think I can probably narrow it down further by inserting more events with Firebase and/or Crashlytics logs. It's just odd that the error is not referencing the actual activity that it is running. MemoryFlow2 is a game activity. They get to the end of the game and it shows the results activity. Then they choose to play again and it returns to the game to play again (and crash happens). Of course, I try to run through the same set of screens with no crash on my device.

Here is an example of the logs in Crashlytics.
1609768179031.png
 
Upvote 0
Top