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 Lucas Nordmeyer
, 1 year ago
Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference	at com.lucasmikesoftware.fuckaround.MyAdapter.setImageListItem(MyAdapter.java:69)	at com.lucasmikesoftware.fuckaround.MyAdapter.getView(MyAdapter.java:42)	at android.widget.AbsListView.obtainView(AbsListView.java:2467)	at android.widget.ListView.measureHeightOfChildren(ListView.java:1270)	at android.widget.ListView.onMeasure(ListView.java:1182)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)	at android.view.View.measure(View.java:17536)	at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1626)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)	at android.view.View.measure(View.java:17536)	at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:727)	at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:463)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:671)	at android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:90)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1319)	at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:736)	at android.view.View.measure(View.java:17536)	at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1079)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)	at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)	at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)	at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)	at android.view.View.measure(View.java:17536)	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5478)	at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)	at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2629)	at android.view.View.measure(View.java:17536)	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2102)	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1218)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1435)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1106)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6018)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:792)	at android.view.Choreographer.doCallbacks(Choreographer.java:596)