Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ava.lang.IllegalArgumentException: Required value was null in IdentityScanViewModel.stopScan(IdentityScanViewModel.kt:59) #7408

Open
jamesbluecrow opened this issue Oct 6, 2023 · 0 comments
Assignees
Labels

Comments

@jamesbluecrow
Copy link

Summary

App crashes because of some null pointer inside the SDK. We have only seen this error once so far.

Fatal Exception: java.lang.IllegalArgumentException: Required value was null.
       at com.stripe.android.identity.viewmodel.IdentityScanViewModel.stopScan(IdentityScanViewModel.kt:59)
       at com.stripe.android.identity.navigation.ScanDestinationsKt$ScanDestinationEffect$1$invoke$$inlined$onDispose$1.dispose(ScanDestinations.kt:486)
       at androidx.compose.runtime.DisposableEffectImpl.onForgotten(Effects.kt:85)
       at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1094)
       at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:820)
       at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:842)
       at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:592)
       at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:510)
       at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34)
       at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.java:109)
       at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.java:41)
       at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1299)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
       at android.view.Choreographer.doCallbacks(Choreographer.java:923)
       at android.view.Choreographer.doFrame(Choreographer.java:847)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8757)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Code to reproduce

N/A

Android version

Happened on 1 device running Android 13

Impacted devices

Samsung Galaxy A03s

Installation method

Gradle

Dependency Versions

kotlin: 1.9.0
stripe-android: 20.31.0
Android Gradle Plugin: 8.1.1
Gradle: 8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants