Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalStateException in androidx.customview.view #906

Closed
3 tasks done
iSoron opened this issue May 16, 2021 · 1 comment
Closed
3 tasks done

IllegalStateException in androidx.customview.view #906

iSoron opened this issue May 16, 2021 · 1 comment
Labels
bug Something is not behaving as the developers expected confirmed The developers have been able to confirm that the issue is valid high-severity
Milestone

Comments

@iSoron
Copy link
Owner

iSoron commented May 16, 2021

Pre-submission checklist

  • I am submitting a bug report, not a feature request.
  • I am running the latest version of Loop Habit Tracker.
  • I have have searched for similar issues, but did not find any matches.

Description

    java.lang.IllegalStateException: superState must be null
        at androidx.customview.view.AbsSavedState$2.createFromParcel(AbsSavedState.java:93)
        at androidx.customview.view.AbsSavedState$2.createFromParcel(AbsSavedState.java:88)
        at android.os.Parcel.readParcelable(Parcel.java:3279)
        at android.os.Parcel.readValue(Parcel.java:3174)
        at android.os.Parcel.readSparseArrayInternal(Parcel.java:3650)
        at android.os.Parcel.readSparseArray(Parcel.java:2792)
        at android.os.Parcel.readValue(Parcel.java:3231)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3567)
        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:292)
        at android.os.BaseBundle.unparcel(BaseBundle.java:236)
        at android.os.Bundle.getSparseParcelableArray(Bundle.java:1079)
        at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2179)
        at android.app.Activity.onRestoreInstanceState(Activity.java:1679)
        at android.app.Activity.performRestoreInstanceState(Activity.java:1632)
        at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1356)
        at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3491)
        at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
        at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
        at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Steps to reproduce

  1. Enable "Don't keep activites" in Developer options
  2. Install and launch the app

System information

  • Phone: Multiple (Samsung, LGE, Redmi)
  • Phone Operating System: Multiple (Android 10, Android 11)
  • App version: 2.0.1
@iSoron iSoron added bug Something is not behaving as the developers expected cant-reproduce The developers cannot replicate the issue on their own devices high-severity confirmed The developers have been able to confirm that the issue is valid and removed cant-reproduce The developers cannot replicate the issue on their own devices labels May 16, 2021
@iSoron
Copy link
Owner Author

iSoron commented May 22, 2021

Fixed in branch hotfix/2.0.2

@iSoron iSoron closed this as completed May 22, 2021
@iSoron iSoron added this to the Loop 2.0.2 milestone May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not behaving as the developers expected confirmed The developers have been able to confirm that the issue is valid high-severity
Projects
None yet
Development

No branches or pull requests

1 participant