Skip to content
Advertisement

android.os.BadParcelableException: ClassNotFoundException when unmarshalling

We are facing getting a BadParceableException and we have no idea why. Above is the stacktrace:

JavaScript

We saw some similars errors here in stackoverflow, but no one actually worked for us.

The exception is saying that the error happens at “super(in)”, in this class:

private static class SavedState extends BaseSavedState { int mSelectedPosition;

JavaScript

}

Does anyone have any idea to help us?

Thanks!

Advertisement

Answer

I found a solution. It is needed to indicate a bootloader as constructor parameter. I did it inside the second constructor:

JavaScript
Advertisement