stripe-terminal-android icon indicating copy to clipboard operation
stripe-terminal-android copied to clipboard

Crash on Android devices: AbstractMethodError com.stripe.jvmcore.crpcclient.CrpcTimeout

Open jayjah opened this issue 7 months ago • 4 comments

Crash on Android devices. Stacktrace:

Process: com.talex.mytaxidriver:stripelocalmobile, PID: 12337
                                                                                                    java.lang.AbstractMethodError: abstract method "com.stripe.jvmcore.crpcclient.CrpcTimeout com.stripe.jvmcore.crpcclient.CrpcClient$CrpcRequestContextProvider.getRequestTimeout(com.stripe.proto.net.rpc.base.RpcRequest)"
                                                                                                    	at com.stripe.jvmcore.crpcclient.CrpcClient.execute(CrpcClient.kt:42)
                                                                                                    	at com.stripe.jvmcore.crpcclient.CrpcClient.blockingPost(CrpcClient.kt:125)
                                                                                                    	at com.stripe.jvmcore.crpcclient.CrpcClient.blockingPost$default(CrpcClient.kt:87)
                                                                                                    	at com.stripe.proto.terminal.clientlogger.pub.api.ClientLoggerApi.reportEvent(ClientLoggerApi.kt:15)
                                                                                                    	at com.stripe.jvmcore.clientlogger.ClientLoggerEventDispatcher$dispatch$2.invokeSuspend(ClientLoggerDispatchers.kt:72)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
                                                                                                    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
                                                                                                    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(AppScope), StandaloneCoroutine{Cancelling}@387af70, Dispatchers.Main.immediate]

Summary

Crash on devices. It happens as soon as the transaction completed. It doesn't matter if it succeeds or canceled.

Android version

Android >= 13

Impacted devices (Android devices or readers)

Sony, Pixel

SDK version

3.7.1

Other information

jayjah avatar Jul 24 '24 14:07 jayjah