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 Akshay Sood
, 1 year ago
android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by Luke Batley
, 2 years ago
android.widget.RelativeLayout$LayoutParams
via soso.io by Unknown author, 2 years ago
android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by uj-
, 2 years ago
android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by Unknown author, 2 years ago
android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams	at android.widget.ListView.setupChild(ListView.java:1849)	at android.widget.ListView.makeAndAddView(ListView.java:1816)	at android.widget.ListView.fillDown(ListView.java:697)	at android.widget.ListView.fillFromTop(ListView.java:763)	at android.widget.ListView.layoutChildren(ListView.java:1641)	at android.widget.AbsListView.onLayout(AbsListView.java:2603)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:598)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)	at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1666)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1442)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)	at android.view.View.layout(View.java:15859)	at android.view.ViewGroup.layout(ViewGroup.java:4902)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2376)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2089)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1264)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6632)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)	at android.view.Choreographer.doCallbacks(Choreographer.java:613)	at android.view.Choreographer.doFrame(Choreographer.java:583)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)	at android.os.Handler.handleCallback(Handler.java:733)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:146)