NullPointerException at method Timer$TickTack.run()

diego

Member
Licensed User
Longtime User
Hello, I got this error message from the market, I can't understand where is the problem, but the user couldn't download the app in an HTC Desire HD:

B4X:
java.lang.NullPointerException
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:100)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5068)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)

any ideas? :sign0085:
 

diego

Member
Licensed User
Longtime User
Yes, there is a Timer declared in Sub Globals:

Dim chrono1 as Timer

and then in Activity_Create it's initialized:

chrono1.Initialize("chrono1",100)
chrono1.Enabled = True

the app works fine on several devices that I tested, I don't know if there is an issue with HTC Desire HD or WTF...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…