Hi All,
I have a big application, what
- if I set wifi on, but no connection
- only in release mode
can thow an exception:
Unfortunately, XXXXX has stopped.
In debug mode there is no error. If wifi connects to a router, no error.
The full error log looks like:
It is very strange error for me, because I can't figure out what is the relation to my code and looks as If originated deeper as any of my code resides in *.bas.
I search out the *.java (objects/src) files also, but didn't find isActivityPaused().
How can I find the real reason of this error? (yes, I tried log messages at wifi-related lines, but no luck)
thanks in advance
Steven
I have a big application, what
- if I set wifi on, but no connection
- only in release mode
can thow an exception:
Unfortunately, XXXXX has stopped.
In debug mode there is no error. If wifi connects to a router, no error.
The full error log looks like:
B4X:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean anywheresoftware.b4a.BA.isActivityPaused()' on a null object reference
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:104)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5737)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
I search out the *.java (objects/src) files also, but didn't find isActivityPaused().
How can I find the real reason of this error? (yes, I tried log messages at wifi-related lines, but no luck)
thanks in advance
Steven
Last edited: