java.lang.NullPointerException

GitHub | BishopGIS | 8 months 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.
  1. 0

    Падение при редактировании атрибутов

    GitHub | 9 months ago | BishopGIS
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.nextgis.maplibui.activity.ModifyAttributesActivity.saveFeature()
    2. com.nextgis.maplibui
      ModifyAttributesActivity.onOptionsItemSelected
      1. com.nextgis.maplibui.activity.ModifyAttributesActivity.saveFeature(ModifyAttributesActivity.java:536)
      2. com.nextgis.maplibui.activity.ModifyAttributesActivity.onOptionsItemSelected(ModifyAttributesActivity.java:485)
      2 frames
    3. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:2606)
      1 frame
    4. Android Support v4
      FragmentActivity.onMenuItemSelected
      1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)
      1 frame
    5. Android v7
      ActionMenuView$MenuBuilderCallback.onMenuItemSelected
      1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)
      2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      4. android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
      5. android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)
      6. android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)
      6 frames
    6. android.support.v7
      MenuBuilder.performItemAction
      1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
      2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
      3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
      4. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)
      4 frames
    7. Android v7
      ActionMenuView.invokeItem
      1. android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)
      1 frame
    8. android.support.v7
      ActionMenuItemView.onClick
      1. android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:155)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4492)
      2. android.view.View$PerformClick.run(View.java:18568)
      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:5021)
      6 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:827)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame