java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference

GitHub | dongfanglinglong | 2 weeks ago
  1. 0

    GitHub comment 19#269902739

    GitHub | 2 weeks ago | dongfanglinglong
    java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
  2. 0

    Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register

    GitHub | 3 weeks ago | dongfanglinglong
    java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    手动杀死进程时会报NullPointerException

    GitHub | 5 months ago | z-chu
    java.lang.NullPointerException: Attempt to invoke virtual method 'void xiaofei.library.concurrentutils.ObjectCanary.set(java.lang.Object)' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. xiaofei.library.hermeseventbus
      HermesEventBus$HermesListener.onHermesConnected
      1. xiaofei.library.hermeseventbus.HermesEventBus$HermesListener.onHermesConnected(HermesEventBus.java:288)
      1 frame
    3. xiaofei.library.hermes
      Channel$HermesServiceConnection.onServiceConnected
      1. xiaofei.library.hermes.internal.Channel$HermesServiceConnection.onServiceConnected(Channel.java:284)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1264)
      2. android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1281)
      3. android.os.Handler.handleCallback(Handler.java:815)
      4. android.os.Handler.dispatchMessage(Handler.java:104)
      5. android.os.Looper.loop(Looper.java:207)
      6. android.app.ActivityThread.main(ActivityThread.java:5917)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
      2 frames