Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Lisa Anne
, 1 year ago
Unable to instantiate service com.example.quotes.LocalService: java.lang.NullPointerException
via Stack Overflow by Mitodina
, 2 years ago
Unable to instantiate service hikoki.services.NotificationsService: java.lang.NullPointerException
via Stack Overflow by Alexander Malakhov
, 2 years ago
Unable to instantiate service com.example.nullptrservice.MyService: java.lang.NullPointerException
via Stack Overflow by user1835337
, 2 years ago
Unable to instantiate service com.mycompany.over.GlobalTouchService: java.lang.NullPointerException
via Stack Overflow by KMJ
, 2 years ago
Unable to instantiate service com.p.k.Math_Service: java.lang.NullPointerException
via Stack Overflow by davips
, 1 year ago
Unable to instantiate service com.example.lib.services.MyFirebaseMessagingService: java.lang.ClassNotFoundException: com.example.lib.services.MyFirebaseMessagingService
java.lang.NullPointerException: 	at android.os.Binder.queryLocalInterface(Binder.java:230)	at android.os.IMessenger$Stub.asInterface(IMessenger.java:27)	at android.os.Messenger.(Messenger.java:139)	at com.example.quotes.LocalService.(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)	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)