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 Aseem Savio
, 1 year ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
via Stack Overflow by Dhruv Sehgal
, 1 year ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
via Stack Overflow by Unknown author, 2 years ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
via Stack Overflow by Naveen
, 1 year ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
via GitHub by gubatron
, 2 years ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
via GitHub by gubatron
, 2 years ago
Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference	at android.widget.AbsListView.obtainView(AbsListView.java:2385)	at android.widget.ListView.makeAndAddView(ListView.java:1972)	at android.widget.ListView.fillDown(ListView.java:704)	at android.widget.ListView.fillFromTop(ListView.java:765)	at android.widget.ListView.layoutChildren(ListView.java:1744)	at android.widget.AbsListView.onLayout(AbsListView.java:2161)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1139)	at android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:833)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:847)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1197)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)	at com.android.internal.policy.DecorView.onLayout(DecorView.java:724)	at android.view.View.layout(View.java:17520)	at android.view.ViewGroup.layout(ViewGroup.java:5612)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2342)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6301)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871)	at android.view.Choreographer.doCallbacks(Choreographer.java:683)	at android.view.Choreographer.doFrame(Choreographer.java:619)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857)	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:6077)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)