Crash in migration helper
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先重现全新安装时的崩溃,并检查第 55 行的 MigrationHelper.java,然后跟踪 Countly.java 中的 Countly.init 是如何到达该位置的。确定全新安装时触发 assertion 的原因,并验证初始化能够在受影响的测试设备上无崩溃地完成。
由索引模型根据 Issue 内容生成。
描述
Hello! On a fresh install, the countly sdk throws an exception, like so:
Process: com.app, PID: 26888
java.lang.AssertionError
at ly.count.android.sdk.MigrationHelper.doWork(MigrationHelper.java:55)
at ly.count.android.sdk.Countly.init(Countly.java:550)
at com.app.MainApplication.initCountly(MainApplication.kt:699)
at com.app.MainApplication.access$initCountly(MainApplication.kt:163)
at com.app.MainApplication$onCreate$1$initJobs$2.invokeSuspend(MainApplication.kt:598)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Occurs across several different test devices.
- 主要语言
- Java
- 星标
- 696
- 派生
- 290
- 平均合并
- 15 小时 17 分钟
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Countly/countly-sdk-android 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
Countly/countly-sdk-android#222 · 5 条评论 ·
维护者通常 1 天内回复
查看 Countly/countly-sdk-android 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6896 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
OpenIntegrationEngine/engine#496 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
SasanLabs/VulnerableApp#836 ·
维护者通常 1 天内回复