java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.activities.NavigationActivity}: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to com.prolificinteractive.materialcalendarview.CalendarDay[]

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 GitHub by johnnyzen
, 1 year ago
Unable to start activity ComponentInfo{com.example/com.example.activities.NavigationActivity}: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to com.prolificinteractive.materialcalendarview.CalendarDay[]
via Stack Overflow by user2748360
, 2 years ago
Unable to start activity ComponentInfo{com.marco.pokerhands2/com.marco.pokerhands2.DisplayHands}: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to com.marco.pokerhands2.Card[]
via GitHub by battlebottle
, 2 years ago
Unable to start activity ComponentInfo{net.teamworkpm.phone/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to android.text.Spannable
via GitHub by atulagrwl
, 2 years ago
Unable to start activity ComponentInfo{com.eteach.sol/com.eteach.sol.MainActivity}: java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.ImageView
via Stack Overflow by user3008754
, 2 years ago
Unable to start activity ComponentInfo{com.example.suntracking/com.example.suntracking.Accelerometer}: java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Integer
via Stack Overflow by skies
, 2 years ago
Unable to start activity ComponentInfo{com.skies.game/com.skies.game.GameActivity}: java.lang.ClassCastException: com.skies.game.GameActivity cannot be cast to android.content.DialogInterface$OnDismissListener
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.activities.NavigationActivity}: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to com.prolificinteractive.materialcalendarview.CalendarDay[]
at com.prolificinteractive.materialcalendarview.MaterialCalendarView$SavedState.(MaterialCalendarView.java:988)
at com.prolificinteractive.materialcalendarview.MaterialCalendarView$SavedState.(MaterialCalendarView.java:934)
at com.prolificinteractive.materialcalendarview.MaterialCalendarView$SavedState$1.createFromParcel(MaterialCalendarView.java:971)
at com.prolificinteractive.materialcalendarview.MaterialCalendarView$SavedState$1.createFromParcel(MaterialCalendarView.java:969)
at android.os.Parcel.readParcelable(Parcel.java:2062)
at android.os.Parcel.readValue(Parcel.java:1971)
at android.os.Parcel.readSparseArrayInternal(Parcel.java:2284)
at android.os.Parcel.readSparseArray(Parcel.java:1693)
at android.os.Parcel.readValue(Parcel.java:2028)
at android.os.Parcel.readMapInternal(Parcel.java:2255)
at android.os.Bundle.unparcel(Bundle.java:223)
at android.os.Bundle.getSparseParcelableArray(Bundle.java:1237)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:840)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1075)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
at android.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1855)
at android.app.Activity.onCreate(Activity.java:935)
at android.support.v4.app.BaseFragmentActivityDonut.onCreate(BaseFragmentActivityDonut.java:39)
at com.example.activities.TrackingActivity.onCreate(TrackingActivity.java:24)
at com.example.activities.BaseActivity.onCreate(BaseActivity.java:42)
at com.example.activities.NavigationActivity.onCreate(NavigationActivity.java:47)
at android.app.Activity.performCreate(Activity.java:5372)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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