java.lang.ClassCastException: android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams

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 vicThao
, 1 year ago
android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by Muhammad Umar
, 2 years ago
android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by howettl
, 2 years ago
android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by vjdhama
, 2 years ago
android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by Robert
, 2 years ago
android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
via Stack Overflow by DoruAdryan
, 2 years ago
android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
java.lang.ClassCastException: android.support.v4.view.ViewPager$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
at android.widget.ListView.clearRecycledState(ListView.java:538)
at android.widget.ListView.resetList(ListView.java:524)
at android.widget.ListView.setAdapter(ListView.java:468)
at com.app.forms.InventoryReportFragment$FetchData.onPostExecute(InventoryReportFragment.java:253)
at com.app.forms.InventoryReportFragment$FetchData.onPostExecute(InventoryReportFragment.java:236)

Users with the same issue

5 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.