java.lang.NullPointerException

Stack Overflow | tuzhao | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.myebox.stationebox.activity.FunctionExpressScanActivity$2.onClick()
  2. com.myebox.stationebox
    FunctionExpressScanActivity$2.onClick
    1. com.myebox.stationebox.activity.FunctionExpressScanActivity$2.onClick(FunctionExpressScanActivity.java:595)
    1 frame
  3. Android v7
    AlertController$AlertParams$3.onItemClick
    1. android.support.v7.app.AlertController$AlertParams$3.onItemClick(AlertController.java:958)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.widget.AdapterView.performItemClick(AdapterView.java:298)
    2. android.widget.AbsListView.performItemClick(AbsListView.java:1100)
    3. android.widget.AbsListView$PerformClick.run(AbsListView.java:2788)
    4. android.widget.AbsListView$1.run(AbsListView.java:3463)
    5. android.widget.AbsListView.onDetachedFromWindow(AbsListView.java:2670)
    6. android.view.View.dispatchDetachedFromWindow(View.java:12160)
    7. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2570)
    8. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    9. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    10. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    11. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    12. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    13. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    14. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2568)
    15. android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2820)
    16. android.view.ViewRootImpl.doDie(ViewRootImpl.java:5162)
    17. android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3148)
    18. android.os.Handler.dispatchMessage(Handler.java:99)
    19. android.os.Looper.loop(Looper.java:137)
    20. android.app.ActivityThread.main(ActivityThread.java:5136)
    20 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame