-
Notifications
You must be signed in to change notification settings - Fork 35
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
java.lang.IllegalStateException: There is no read or rewind or length check in progress CronetUploadDataStream #12
Comments
Can you please provide the full stacktrace? |
just occurs in custom uploadExecutors Fatal Exception: java.lang.IllegalStateException: There is no read or rewind or length check in progress. |
… called outside of user callback context. Knowing what caused the onError method to be called significantly simplifies troubleshooting (e.g. google/cronet-transport-for-okhttp#12) Change-Id: Ic0718d39e2eb68ac96f821f28ca8bc0baab3fec5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4110976 Reviewed-by: Stefano Duo <[email protected]> Commit-Queue: Dan Stahr <[email protected]> Cr-Commit-Position: refs/heads/main@{#1085385}
@Danstahrg I'm confused, can this modification avoid this crash? The exception is still thrown and not caught [疑问]
|
You're right in that it doesn't solve your issue straight away but as noted in the commit description it allows for more efficient troubleshooting. If you look through the code in more detail you'll find out that the As to what the actual problem is, given the above this looks like multiple callback methods being executed concurrently and interfering with each other. It looks like you're using a custom upload data provider - are you reusing instances of it by any chance? Either way, this looks like an issue unrelated to this shim library - can you open a Chromium bug? Please include the full implementation of your data provider and examples of how you use it. |
crashes are counted on firebase.
my UploadDataProvider code:
The text was updated successfully, but these errors were encountered: