override fun invoke(method: String?, args: String?, callback: ExceptionalConsumer<String?, out Exception?>) { Timber.d("处理指令 invoke => method = $method, args = $args") } 日志打印:处理指令 invoke => method = voipCallError, args = {"errCode":1000,"errMsg":"WMPF注册设备时,deviceToken获取失败,get voipToken error: getWMPFDeviceToken:fail:cert fail: Attempt to invoke virtual method 'javax.crypto.SecretKey java.security.KeyStore$SecretKeyEntry.getSecretKey()' on a null object reference请检查设备是否通过认证,且WMPF版本号>=1.2.0"}
Cli端发起通话时,errcode:1000,如何排查?override fun insert(uri: Uri, values: ContentValues?): Uri? { Timber.d("插入监听:${uri.path}, values:${values.toString()}") super.insert(uri, values) when (uri.path) { ... } return Uri.EMPTY } 日志打印:插入监听:/invokeChannel, values:data={"errCode":1000,"errMsg":"WMPF注册设备时,deviceToken获取失败,get voipToken error: getWMPFDeviceToken:fail:cert fail: Attempt to invoke virtual method 'javax.crypto.SecretKey java.security.KeyStore$SecretKeyEntry.getSecretKey()' on a null object reference请检查设备是否通过认证,且WMPF版本号>=1.2.0" invoke函数中method为VOIP_CALL_ERROR override fun invoke(method: String?, args: String?, callback: ExceptionalConsumer<String?, out Exception?>) { Timber.d("处理指令 invoke => method = $method, args = $args") } 版本为[图片]
06-18