Hello everyone!
On Firebase Console i receve many crashes like this:
Here someone experienced the same problem: https://stackoverflow.com/questions/30336252/runtimeexception-android-os-powermanagerwakelockrelease
but since i am not a skilled programmer i can't understand what it is happening...
Is there anyone on B4A that faced the same problem and have some suggestions to fix it?
Thank you in advance!
On Firebase Console i receve many crashes like this:
B4X:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.PowerManager$WakeLock.release()' on a null object reference
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.handleStartIntent(ServiceHelper.java:155)
at test.me.broadcastreceiverservice.handleStart(broadcastreceiverservice.java:99)
at test.me.broadcastreceiverservice.access$000(broadcastreceiverservice.java:8)
at test.me.broadcastreceiverservice$2.run(broadcastreceiverservice.java:80)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Here someone experienced the same problem: https://stackoverflow.com/questions/30336252/runtimeexception-android-os-powermanagerwakelockrelease
but since i am not a skilled programmer i can't understand what it is happening...
Is there anyone on B4A that faced the same problem and have some suggestions to fix it?
Thank you in advance!