java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

GitHub | BishopGIS | 4 months ago
  1. 0

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

    GitHub | 4 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

  3. 0

    NullPointerException

    GitHub | 2 years ago | petrnohejl
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
  4. 0

    java.lang.NullPointerException

    GitHub | 1 year ago | techadroit
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(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 virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

      at com.nextgis.maplibui.activity.ModifyAttributesActivity.hasEdits()
    2. com.nextgis.maplibui
      ModifyAttributesActivity.onOptionsItemSelected
      1. com.nextgis.maplibui.activity.ModifyAttributesActivity.hasEdits(ModifyAttributesActivity.java:504)
      2. com.nextgis.maplibui.activity.ModifyAttributesActivity.onOptionsItemSelected(ModifyAttributesActivity.java:458)
      2 frames
    3. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:2885)
      1 frame
    4. Android Support v4
      FragmentActivity.onMenuItemSelected
      1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)
      1 frame
    5. Android v7
      ToolbarWidgetWrapper$1.onClick
      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.widget.ToolbarWidgetWrapper$1.onClick(ToolbarWidgetWrapper.java:185)
      4 frames
    6. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4856)
      2. android.view.View$PerformClick.run(View.java:19956)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:211)
      6. android.app.ActivityThread.main(ActivityThread.java:5389)
      6 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
      2 frames