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 GitHub by dongfanglinglong
, 1 year ago
Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
via GitHub by dongfanglinglong
, 1 year ago
Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
via GitHub by dongfanglinglong
, 1 year ago
Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
via GitHub by dongfanglinglong
, 1 year ago
Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
via GitHub by Lewis-0710
, 3 months ago
Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference	at xiaofei.library.hermeseventbus.HermesEventBus$HermesListener.onHermesConnected(HermesEventBus.java:288)	at xiaofei.library.hermes.internal.Channel$HermesServiceConnection.onServiceConnected(Channel.java:284)	at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1264)	at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1281)	at android.os.Handler.handleCallback(Handler.java:815)	at android.os.Handler.dispatchMessage(Handler.java:104)	at android.os.Looper.loop(Looper.java:207)	at android.app.ActivityThread.main(ActivityThread.java:5917)	at java.lang.reflect.Method.invoke(Method.java)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)