Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: App Crash #1186

Closed
2 tasks done
TanTai97o opened this issue Aug 6, 2023 · 0 comments
Closed
2 tasks done

[Bug]: App Crash #1186

TanTai97o opened this issue Aug 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@TanTai97o
Copy link

What happened?

AndroidIDE crash report
Manufacturer: samsung
Device: SM
ABI: arm64-v8a
SDK version: 31
App version: v2.5.2-beta (252)

Stacktrace:
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at androidx.fragment.app.FragmentManagerImpl.enqueueAction(Unknown Source:37)
at androidx.fragment.app.BackStackRecord.commitInternal(Unknown Source:67)
at androidx.fragment.app.DialogFragment.dismissInternal(Unknown Source:109)
at com.google.android.material.bottomsheet.BottomSheetDialogFragment.dismiss(Unknown Source:20)
at com.itsaky.androidide.uidesigner.fragments.DesignerWorkspaceFragment.onDestroyView(Unknown Source:53)
at androidx.fragment.app.FragmentStateManager.destroyFragmentView(Unknown Source:77)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(Unknown Source:284)
at androidx.fragment.app.SpecialEffectsController$FragmentStateManagerOperation.complete(Unknown Source:63)
at androidx.fragment.app.SpecialEffectsController$FragmentStateManagerOperation.cancel(Unknown Source:16)
at androidx.fragment.app.SpecialEffectsController.forceCompleteAllOperations(Unknown Source:230)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(Unknown Source:58)
at androidx.fragment.app.FragmentManagerImpl.dispatchDestroy(Unknown Source:138)
at androidx.fragment.app.FragmentActivity.onDestroy(Unknown Source:11)
at androidx.appcompat.app.AppCompatActivity.onDestroy(Unknown Source:0)
at com.itsaky.androidide.uidesigner.UIDesignerActivity.onDestroy(Unknown Source:0)
at android.app.Activity.performDestroy(Activity.java:8571)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1364)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:6019)
Caused by: java.lang.RuntimeException: Unable to destroy activity {com.itsaky.androidide/com.itsaky.androidide.uidesigner.UIDesignerActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:6032)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:6077)
at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:6400)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:6294)
at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:71)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

What's the expected behavior?

Please fix it

What version of AndroidIDE you're using?

v2.5.0 (debug builds)

Relevant log output

No response

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@TanTai97o TanTai97o added the bug Something isn't working label Aug 6, 2023
@itsaky itsaky closed this as completed in dd347b3 Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant