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 The Thom
, 1 year ago
Attempt to invoke virtual method 'java.lang.Object android.widget.GridLayout$PackedMap.getValue(int)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.widget.GridLayout$PackedMap.getValue(int)' on a null object reference	at android.widget.GridLayout$Axis.computeGroupBounds(GridLayout.java:1304)	at android.widget.GridLayout$Axis.getGroupBounds(GridLayout.java:1313)	at android.widget.GridLayout$Axis.createLinks(GridLayout.java:1322)	at android.widget.GridLayout$Axis.getForwardLinks(GridLayout.java:1348)	at android.widget.GridLayout$Axis.createArcs(GridLayout.java:1473)	at android.widget.GridLayout$Axis.getArcs(GridLayout.java:1506)	at android.widget.GridLayout$Axis.solve(GridLayout.java:1686)	at android.widget.GridLayout$Axis.computeLocations(GridLayout.java:1790)	at android.widget.GridLayout$Axis.getLocations(GridLayout.java:1814)	at android.widget.GridLayout$Axis.layout(GridLayout.java:1860)	at android.widget.GridLayout.onLayout(GridLayout.java:1113)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)	at android.widget.FrameLayout.onLayout(FrameLayout.java:281)	at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3143)	at android.view.View.layout(View.java:17993)	at android.view.ViewGroup.layout(ViewGroup.java:5817)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2759)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2460)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1528)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7530)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)	at android.view.Choreographer.doCallbacks(Choreographer.java:686)	at android.view.Choreographer.doFrame(Choreographer.java:622)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:7325)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)