Android Question [SOLVED] Cannot Start boot service...big crash !

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi

I have a few apps that start at boot. One app in particular has started to throw the following error.

B4X:
LogCat connected to: B4A-Bridge: HTC HTC One X-353043059409659
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (service1) Create **
** Service (service1) Start **
Connected to B4A-Bridge (Wifi)
java.lang.RuntimeException: Unable to create service com.is.vitllinkTPA.svc_bootstrap: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at android.app.ActivityThread.handleCreateService(ActivityThread.java:2907)
   at android.app.ActivityThread.access$1600(ActivityThread.java:162)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1459)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:158)
   at android.app.ActivityThread.main(ActivityThread.java:5751)
   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:1083)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
   at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at com.is.vitllinkTPA.svc_bootstrap.onCreate(svc_bootstrap.java:33)
   at android.app.ActivityThread.handleCreateService(ActivityThread.java:2884)
   ... 10 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:511)
   at com.is.vitllinkTPA.svc_bootstrap.onCreate(svc_bootstrap.java:31)
   ... 11 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
   at com.is.vitllinkTPA.main.initializeProcessGlobals(main.java:1811)
   ... 14 more
Caused by: java.lang.NullPointerException
   at anywheresoftware.b4a.BA.<init>(BA.java:106)
   at adr.stringfunctions.stringfunctions.innerInitialize(stringfunctions.java:12)
   at adr.stringfunctions.stringfunctions._initialize(stringfunctions.java:324)
   at com.is.vitllinkTPA.main._process_globals(main.java:2348)
   at com.is.vitllinkTPA.main.initializeProcessGlobals(main.java:1795)
   ... 14 more

Any help would be welcome.

Regards

John.
 

Wembly

Member
Licensed User
Longtime User
Hi - did you managed to resolve this issue? I've the same problem so looking for answers as well.

Thanks
 
Upvote 0
Top