未知
- 发布:2024-05-28 15:14
- 更新:2024-05-28 15:28
- 阅读:144
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX类型: 正式
HBuilderX版本号: 4.08
手机系统: Android
手机系统版本号: Android 12
手机厂商: 小米
手机机型: --
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
APP正常使用不崩溃
APP正常使用不崩溃
实际结果:
APP有时崩溃
APP有时崩溃
bug描述:
java.lang.RuntimeException: Unable to destroy activity {org.gbiac.oc/io.dcloud.PandoraEntryActivity}: java.util.ConcurrentModificationException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5725)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5765)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:47)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2414)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8445)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:560)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1441)
at java.util.HashMap$ValueIterator.next(HashMap.java:1470)
at io.dcloud.common.DHInterface.message.ActionBus.sendToBus(Unknown Source:7)
at io.dcloud.WebAppActivity.onDestroy(Unknown Source:1)
at android.app.Activity.performDestroy(Activity.java:8873)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1475)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5712)
... 13 more
1 个回复
DCloud_Android_DQQ
升级到最新版本试试