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 Filipe Costa
, 8 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by Filipe Costa
, 8 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by AnishM
, 2 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by Filipe Costa
, 8 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by Filipe Costa
, 8 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by David Browning
, 9 months ago
Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference	at android.support.v7.view.menu.ListMenuItemView.setTitle(ListMenuItemView.java:127)	at android.support.v7.view.menu.ListMenuItemView.initialize(ListMenuItemView.java:113)	at android.support.v7.view.menu.MenuAdapter.getView(MenuAdapter.java:100)	at android.support.v7.view.menu.MenuPopup.measureIndividualMenuWidth(MenuPopup.java:160)	at android.support.v7.view.menu.StandardMenuPopup.tryShow(StandardMenuPopup.java:153)	at android.support.v7.view.menu.StandardMenuPopup.show(StandardMenuPopup.java:187)	at android.support.v7.view.menu.MenuPopupHelper.showPopup(MenuPopupHelper.java:290)	at android.support.v7.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:175)	at android.support.v7.widget.ActionMenuPresenter$OpenOverflowRunnable.run(ActionMenuPresenter.java:803)	at android.os.Handler.handleCallback(Handler.java:751)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:154)	at android.app.ActivityThread.main(ActivityThread.java:6688)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)