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 Stack Overflow by henry
, 1 year ago
java.lang.NullPointerException: 	at com.ant.henry.gatesng.HomeActivity.doShare(HomeActivity.java:1173)	at com.ant.henry.gatesng.HomeActivity.onOptionsItemSelected(HomeActivity.java:1159)	at android.app.Activity.onMenuItemSelected(Activity.java:2647)	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.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)	at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)	at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)	at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)	at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)	at android.support.v7.view.menu.MenuPopup.onItemClick(MenuPopup.java:126)	at android.widget.AdapterView.performItemClick(AdapterView.java:299)	at android.widget.AbsListView.performItemClick(AbsListView.java:1187)	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3166)	at android.widget.AbsListView$3.run(AbsListView.java:4068)	at android.os.Handler.handleCallback(Handler.java:808)	at android.os.Handler.dispatchMessage(Handler.java:103)	at android.os.Looper.loop(Looper.java:193)	at android.app.ActivityThread.main(ActivityThread.java:5323)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)	at dalvik.system.NativeStart.main(Native Method)