nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.26k stars 1.76k forks source link

Android app crash #7190

Closed raldone01 closed 3 years ago

raldone01 commented 3 years ago

**** CAUSE OF ERROR ****

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at androidx.fragment.app.FragmentManager.checkStateLoss(FragmentManager.java:1703)
    at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:1743)
    at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:321)
    at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:286)
    at androidx.fragment.app.DialogFragment.show(DialogFragment.java:198)
    at com.owncloud.android.ui.activity.FileActivity.showLoadingDialog(FileActivity.java:537)
    at com.owncloud.android.ui.helpers.FileOperationsHelper.lambda$syncFile$1$FileOperationsHelper(FileOperationsHelper.java:245)
    at com.owncloud.android.ui.helpers.-$$Lambda$FileOperationsHelper$6veiwPPVcnDkYiDbC_hH1dHAJ4s.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:214)
    at android.app.ActivityThread.main(ActivityThread.java:7050)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

**** APP INFORMATION **** ID: com.nextcloud.client Version: 30130190 Build flavor: gplay

**** DEVICE INFORMATION **** Brand: samsung Device: dreamlte Model: SM-G950F Id: PPR1.180610.011 Product: dreamltexx

**** FIRMWARE **** SDK: 28 Release: 9 Incremental: G950FXXSADTI1

tobiasKaminsky commented 3 years ago

Stacktrace indicates that there is some sort of dialog open. Do you know what exactly happened / how you can reproduce it?

raldone01 commented 3 years ago

I don't think a dialog opened and I can't reproduce it. It seemed random. Sorry I can't provide further information. My network connection was very bad though. Maybe a network request took too long?

I reported this although it seemed random because i think random crashes are not good for the ux.

tobiasKaminsky commented 3 years ago

i think random crashes are not good for the ux.

Indeed and it is good that you reported it, but this is then even more trickier to fix… ;-)

stale[bot] commented 3 years ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

joshtrichards commented 3 months ago

Fixed in #13037