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

onSaveInstanceState #3617

Closed
ristein opened this issue Mar 4, 2022 · 1 comment
Closed

onSaveInstanceState #3617

ristein opened this issue Mar 4, 2022 · 1 comment

Comments

@ristein
Copy link

ristein commented Mar 4, 2022

new user here.
after I set up Deck app I changed something online and app would not sync anymore.
after account delete and reconnect empty (no cards).
after app reset and trying to log in this error.
What can I do?

using LineageOs4MicroG

Full Crash:

App Version: 1.20.0
App Version Code: 1020000
App Flavor: fdroid

Files App Version Code: 30190090

---

OS Version: 4.14.190-perf+(eng.root.20220303.115310)
OS API Level: 30
Device: OnePlus7Pro
Manufacturer: OnePlus
Model (and Product): GM1917 (OnePlus7Pro)

---

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
	at androidx.fragment.app.FragmentManager.checkStateLoss(FragmentManager.java:1844)
	at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:1884)
	at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:329)
	at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:294)
	at androidx.fragment.app.DialogFragment.show(DialogFragment.java:260)
	at it.niedermann.nextcloud.deck.ui.ImportAccountActivity$1$1$1.lambda$onError$4$it-niedermann-nextcloud-deck-ui-ImportAccountActivity$1$1$1(ImportAccountActivity.java:184)
	at it.niedermann.nextcloud.deck.ui.ImportAccountActivity$1$1$1$$ExternalSyntheticLambda4.run(Unknown Source:6)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	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)

@ristein ristein changed the title onSaveInstantSave onSaveInstantState Mar 4, 2022
@ristein ristein changed the title onSaveInstantState onSaveInstanceState Mar 4, 2022
@stefan-niedermann
Copy link
Member

after I set up Deck app I changed something online and app would not sync anymore.

Very likely caused by not updated ETags (unfortunately there are quite a lot of issues in the Deck server app regarding this topic)...

after app reset and trying to log in this error.

Try clearing the storage of the Deck android app as described in our FAQ and import your account again.

By the way, this is the repository of the Deck server app, in case the issue persists, please open a new issue in the repository of the Deck Android app (filling the complete issue template).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants