l***@163.com
l***@163.com
  • 发布:2022-12-22 15:51
  • 更新:2023-03-17 17:42
  • 阅读:240

【报Bug】启动小程序openUniMP报java.lang.IndexOutOfBoundsException

分类:uni小程序sdk

产品分类: uni小程序SDK

手机系统: Android

手机系统版本号: Android 10

手机厂商: OPPO

手机机型: PCAM00

页面类型: vue

SDK版本号: UniMPSDK_Android@3.6.2.V2.20220916

示例代码:
  fun startApp(context: Context?, appid: String, splashClass: Class<*>?, redirectPath: String, arguments: JSONObject): IUniMP? {  
        val uniMPOpenConfiguration = UniMPOpenConfiguration()  
        uniMPOpenConfiguration.splashClass = splashClass  
        uniMPOpenConfiguration.redirectPath = redirectPath  
        uniMPOpenConfiguration.extraData = arguments  
        uniMPOpenConfiguration.arguments = arguments  
        return DCUniMPSDK.getInstance().openUniMP(context, appid, uniMPOpenConfiguration)  
    }

操作步骤:
DCUniMPSDK.getInstance().openUniMP(context, appid, uniMPOpenConfiguration)

预期结果:

不会crash

实际结果:

概率性crash

bug描述:

启动小程序报java.lang.IndexOutOfBoundsException

java.util.ArrayList.remove(ArrayList.java:503)  
io.dcloud.feature.unimp.a.a(Unknown Source:94)  
io.dcloud.feature.unimp.a.a(Unknown Source:14)  
io.dcloud.feature.unimp.c.a(Unknown Source:44)  
io.dcloud.feature.sdk.DCUniMPSDK.openUniMP(Unknown Source:6)
2022-12-22 15:51 负责人:DCloud_Android_DQQ 分享
已邀请:
DCloud_Android_DQQ

DCloud_Android_DQQ

demo 无法复现。提供一个可以复现问题的示例

z***@163.com

z***@163.com

请问大佬这个问题解决了吗?我小米手机也出现这个越界问题

要回复问题请先登录注册