Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by BishopGIS
, 1 year ago
Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
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(ModifyAttributesActivity.java:504)	at com.nextgis.maplibui.activity.ModifyAttributesActivity.onOptionsItemSelected(ModifyAttributesActivity.java:458)	at android.app.Activity.onMenuItemSelected(Activity.java:2885)	at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)	at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.widget.ToolbarWidgetWrapper$1.onClick(ToolbarWidgetWrapper.java:185)	at android.view.View.performClick(View.java:4856)	at android.view.View$PerformClick.run(View.java:19956)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:211)	at android.app.ActivityThread.main(ActivityThread.java:5389)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)