未知
- 发布:2024-05-17 15:54
- 更新:2024-05-27 22:40
- 阅读:228
【报Bug】 java.util.ConcurrentModificationException. 经常有用户反映APP闪退,我这边集成了bugly,发现有这个报错日志
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: MacOS14.5
HBuilderX类型: 正式
HBuilderX版本号: 4.15
手机系统: Android
手机系统版本号: Android 12
手机厂商: 华为
手机机型: 不确定,应该不是机型的问题
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
不崩溃
不崩溃
实际结果:
偶尔崩溃
偶尔崩溃
bug描述:
经常有用户反映APP闪退,我这边集成了bugly,发现有这个报错日志,bugly报错具体信息发在下边
main(1)
java.util.ConcurrentModificationException
解析原始
1
java.lang.RuntimeException:Unable to destroy activity {com.jiaruixx.www/io.dcloud.PandoraEntryActivity}: java.util.ConcurrentModificationException
2
android.app.ActivityThread.performDestroyActivity(ActivityThread.java:6801)
3
......
4
Caused by:
5
java.util.ConcurrentModificationException:
6
java.util.HashMap$HashIterator.nextNode(HashMap.java:1454)
7
java.util.HashMap$ValueIterator.next(HashMap.java:1483)
8
io.dcloud.common.DHInterface.message.ActionBus.sendToBus(Unknown Source:7)
9
io.dcloud.WebAppActivity.onDestroy(Unknown Source:1)
10
android.app.Activity.performDestroy(Activity.java:8875)
11
android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1379)
12
android.app.ActivityThread.performDestroyActivity(ActivityThread.java:6788)
13
android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:6847)
14
android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:57)
15
android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:50)
16
android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190)
17
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:105)
18
android.app.ActivityThread$H.handleMessage(ActivityThread.java:3059)
19
android.os.Handler.dispatchMessage(Handler.java:117)
20
android.os.Looper.loopOnce(Looper.java:205)
21
android.os.Looper.loop(Looper.java:293)
22
android.app.ActivityThread.loopProcess(ActivityThread.java:9934)
23
android.app.ActivityThread.main(ActivityThread.java:9923)
24
java.lang.reflect.Method.invoke(Native Method)
25
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
26
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1240)
挺大个数 - 嗨嗨嗨~~一个隐藏的产品经理
我也发生了这个问题
问题Trace:
java.lang.RuntimeException: Unable todestroy activity icom.iunxinsiyi.fours/io.dcloud.PandoraEntryActivity}: iava.util.ConcurrentModificationExceptionat
android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5714)at
android.app.ActivityThread.handleDestroyActivity(ActivityThread.iava:5754)at
android.app.servertransaction.DestroyActivityltem.execute(DestroyActivityltem.java:47)
挺大个数
俺也一样
问题Trace:
java.lang.RuntimeException: Unable todestroy activity icom.iunxinsiyi.fours/io.dcloud.PandoraEntryActivity}: iava.util.ConcurrentModificationExceptionat
android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5714)at
android.app.ActivityThread.handleDestroyActivity(ActivityThread.iava:5754)at
android.app.servertransaction.DestroyActivityltem.execute(DestroyActivityltem.java:47)
2024-05-27 22:40