-
Notifications
You must be signed in to change notification settings - Fork 657
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] Fatal Exception: java.lang.IllegalArgumentException: ... does not encode a valid TensorFlow Lite model: Could not open .... The model allocation is null/empty #7347
Comments
@ccen-stripe, can you help out here? |
hi @jamesbluecrow the .tflite model is downloaded on the fly, from the log it seems that the file is not correctly downloaded. Is it possible to confirm when the error happens network connection is not stable and the model fails to download? |
Yes it is likely due to slow internet connection. But in no case should the app crash because of it. The SDK should catch that exception if it cannot load the model and maybe emit a Because it is happening inside the SDK we cannot catch that exception ourselves. |
Will fix this in our upcoming release! |
Hi, any plans/ETA for the fix for this or is it fixed already ? We are still seeing this. Our version SDK is v20.48 |
Hi @ccen-stripe posting again in case last message was missed. Is this fixed yet? We are still facing issues. Which version contains the fix in case it's already fixed? |
@ccen-stripe @manpreet-stripe Any update here? |
This is fixed! Pending release, most likely in January |
Summary
We are seeing some our app crashing sometimes (not many) with the exception below.
Code to reproduce
No repro steps available. It has happened only to a few users.
Android version
Android 12 & 13
Impacted devices
Installation method
Through a gradle dependency
Dependency Versions
kotlin: 1.9.0
stripe-android: 20.31.0
Android Gradle Plugin: 8.1.1
Gradle: 8.3
The text was updated successfully, but these errors were encountered: