java.lang.NullPointerException

GitHub | obilodeau | 5 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0
    The Fragment was destroyed, and getActivity() returned null. Don't destroy the Fragment.

    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

      No message provided

      at org.tomdroid.ui.Tomdroid.onContextItemSelected()
    2. org.tomdroid.ui
      Tomdroid.onContextItemSelected
      1. org.tomdroid.ui.Tomdroid.onContextItemSelected(Tomdroid.java:384)
      1 frame
    3. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:2209)
      1 frame
    4. Android
      AlertController$AlertParams$3.onItemClick
      1. com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback.onMenuItemSelected(PhoneWindow.java:2785)
      2. com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
      3. com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
      4. com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:137)
      5. com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:873)
      5 frames
    5. Android Platform
      ActivityThread.main
      1. android.widget.AdapterView.performItemClick(AdapterView.java:284)
      2. android.widget.ListView.performItemClick(ListView.java:3513)
      3. android.widget.AbsListView$PerformClick.run(AbsListView.java:1812)
      4. android.os.Handler.handleCallback(Handler.java:587)
      5. android.os.Handler.dispatchMessage(Handler.java:92)
      6. android.os.Looper.loop(Looper.java:130)
      7. android.app.ActivityThread.main(ActivityThread.java:3683)
      7 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame