微信支付
- 发布:2022-03-30 15:56
- 更新:2022-03-30 16:23
- 阅读:400
产品分类: uni小程序SDK
手机系统: Android
手机系统版本号: Android 8.0
手机厂商: 小米
手机机型: 小米8SE
页面类型: vue
SDK版本号: 3.2.3.20210826
操作步骤:
预期结果:
支付成功
支付成功
实际结果:
支付失败
支付失败
bug描述:
2022-03-30 15:46:32.303 19302-19302/cn.flyrise.spcloud E/AndroidRuntime: FATAL EXCEPTION: main
Process: cn.flyrise.spcloud:unimp0, PID: 19302
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
at io.dcloud.feature.sdk.DCUniMPActivity.handleNewIntent(SourceFile:1)
at io.dcloud.b.onNewIntentImpl(SourceFile:3)
at io.dcloud.WebAppActivity.onNewIntentImpl(SourceFile:1)
at io.dcloud.feature.sdk.DCUniMPActivity.onNewIntentImpl(SourceFile:2)
at io.src.dcloud.adapter.DCloudBaseActivity.onNewIntent(SourceFile:2)
at android.app.Activity.performNewIntent(Activity.java:7106)
at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1310)
at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1322)
at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:2951)
at android.app.ActivityThread.performNewIntents(ActivityThread.java:2967)
at android.app.ActivityThread.handleNewIntent(ActivityThread.java:2983)
at android.app.ActivityThread.-wrap14(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1684)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6618)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:822)
2 个回复
DCloud_Android_DQQ
你使用的sdk版本是多少,如果是v1版本需要先升级为v2版本
1***@qq.com (作者) - 飞企中台
UniMPSDK_Android@3.2.3.20210826.zip V2版本