Android Question Unable to create Service on Note 2

ilan

Expert
Licensed User
Longtime User
hi, i am getting this error when i call StartServiceAt(...) on a Galaxy Note 2

java.lang.RuntimeException: Unable to create service net.vladi.callrec.updatecontacts: java.lang.RuntimeException: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2373)
at android.app.ActivityThread.access$1600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
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:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:100)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:88)
at net.vladi.callrec.updatecontacts.onCreate(updatecontacts.java:32)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2363)
... 10 more
Caused by: java.lang.NullPointerException
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:128)
... 14 more

what could be the reason for that?

thanx
 
Top