Error message when you first start on my Android device...

Amalkotey

Active Member
Licensed User
Longtime User
Hello,

after I my current widget development on my Android device for the first time start, get cih after weird the sub Service_start

B4X:
Sub Service_Start (StartingIntent As Intent)
   Service.StartForeground(2, AppNotification)
End Sub

cancels the following error and the processing. After I again on the widget click the next error message comes no longer.

B4X:
java.lang.NullPointerException
   at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:102)
   at android.os.Handler.handleCallback(Handler.java:605)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:137)
   at android.app.ActivityThread.main(ActivityThread.java:4424)
   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:784)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
   at dalvik.system.NativeStart.main(Native Method)

What can I do against it? How do I find the error? Thank you for your help in advance.

-Amalkotey-
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…