Skip to content

Android 7.x BadParcelableException: ClassNotFoundException when unmarshalling: com.appeaser.sublimenavigationviewlibrary.SublimeMenu #33

@tuxtux59

Description

@tuxtux59

Hello,

Since few weeks I'm experiencing this crash on devices running Android 7.x (7.0 & 7.1.1 for now)
BadParcelableException: ClassNotFoundException when unmarshalling: com.appeaser.sublimenavigationviewlibrary.SublimeMenu

This crash came from SublimeNavigationView.java line 479

if (menuState != null && menuState.containsKey(SS_MENU)) { mMenu = menuState.getParcelable(SS_MENU); }
Code inside onRestoreInstance method.

Here is the linked menu if it's can help. I tried to track the error from my own code but it appears that the crash only linked to the library :/

`

<Group android:checkableBehavior="single">
    <Text
        android:id="@+id/id1"
        android:title="@string/app_name"
        android:enabled="true" />
    <TextWithBadge
        android:id="@+id/id2"
        android:title="@string/string2"
        />
    <Text
        android:id="@+id/id3"
        android:checked="false"
        android:title="@string/string3"/>

    <Text
        android:id="@+id/id4"
        android:checked="false"
        android:title="@string/string4"/>

    <Text
        android:id="@+id/id5"
        android:checked="false"
        android:title="@string/string5"
        />
    <Text
        android:id="@+id/id6"
        android:checked="false"
        android:title="@string/string6"
        />

    <Text
        android:id="@+id/id7"
        android:checked="false"
        android:title="@string/string7"/>

</Group>
`

Moreover the problem seems to be random (or at least I have not found yet the source of the crash).

Have you an idea or a fix?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions