java.lang.NullPointerException

GitHub | Lnybb | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.zyd.eventbus.AActivity.onUseEvent()
  2. com.zyd.eventbus
    AActivity.onUseEvent
    1. com.zyd.eventbus.AActivity.onUseEvent(AActivity.java:47)
    1 frame
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  4. org.greenrobot.eventbus
    EventBus.post
    1. org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:485)
    2. org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:420)
    3. org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:397)
    4. org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:370)
    5. org.greenrobot.eventbus.EventBus.post(EventBus.java:251)
    5 frames
  5. com.zyd.eventbus
    BActivity.backBActivity
    1. com.zyd.eventbus.BActivity.backBActivity(BActivity.java:18)
    1 frame
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android v7
    AppCompatViewInflater$DeclaredOnClickListener.onClick
    1. android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:284)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4438)
    2. android.view.View$PerformClick.run(View.java:18422)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5045)
    6 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame