java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: Unable to instantiate service com.example.quotes.LocalService: java.lang.NullPointerException at android.app.ActivityThread.handleCreateService(ActivityThread.java:2347) 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.NullPointerException at android.os.Binder.queryLocalInterface(Binder.java:230) at android.os.IMessenger$Stub.asInterface(IMessenger.java:27) at android.os.Messenger.<init>(Messenger.java:139) at com.example.quotes.LocalService.<init>(LocalService.java:21) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1319) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2344) ... 10 more

Users with the same issue

Unknown visitor
Unknown visitor1 times, last one,