-
Notifications
You must be signed in to change notification settings - Fork 550
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
S3 Android Mobile SDK - TransferUtility - IllegalStateException reading from CursorWindow #288
Comments
Hello, Thanks for reporting this. We will investigate and revert. Thanks, |
Hi @rohandubal. Thanks for the update. I did some additional investigation. Here's an update. Stacktrace 1 (above) is actually occurring after a file is successfully uploaded. Here's the use case:
Depending on what the user is doing, a file of the same type can be uploaded every 1-2 minutes during a particular flow in our app, and the exception is being thrown almost every time after uploading the file. The file size on average is ~100KB. The app is typically running in the background when this is occurring. There are occasional scenarios where this file type is uploaded twice within a minute, but the exception is not being thrown. Please let me know if any additional information will help. |
Hi @rohandubal. Any updates on this issue? |
I've also seen this problem when a user tries to delete all completed UPLOAD transfers (using I've been able to obtain a copy of the In my case, the stack trace was almost identical to what jhermida-agero posted:
I tried opening the file in sqlite and running
Please let me know if there's anything I can do to help. |
This should be fixed with version 2.4.4, please re-open if the problem persists. |
Hi, We deployed the 2.4.4 AWS Android SDK update last month and although the crash[1] rate has decreased, the issue still exists and is affecting 1k+ users. We also found a new crash[2] which started after the 2.4.4 deployment and is also affecting 1k+ users. [1]
[2]
|
Thanks for reporting the issue. We are aware of this issue. We fixed a part of the issue to reduce the frequency of crashes. |
Any updates on this? |
What service are you using? In what version of SDK are you facing the problem? Is the issue limited to Simulators / Actual Devices? Can your problem be resolved if you bump to a higher version of SDK? Is this problem related to specific Android/OS version? Can you give us steps to reproduce with a minimal, complete, and verifiable example? Please include any specific network conditions that might be required to reproduce the problem. No predictable way to replicate the issue. Please include a stacktrace if applicable. java.lang.IllegalStateException: Cannot perform this operation because the connection pool has been closed. I really would like an update this issue, if it is indeed being addressed. |
Hi @jhermida-agero, @totalityorbust We have fixed bugs and made some improvements to TransferUtility in 2.6.16. Can you please upgrade to the latest and see if this fixes the issue? |
We updated a week ago or so and there have been no issues so far. I'll update this thread if anything comes up. Thanks! |
Thank you @totalityorbust for the confirmation. Let us know if you face any issues during your development/testing. |
To help us solve your problem better, please answer the following list of questions.
What service are you using?
S3 Android Mobile SDK
In what version of SDK are you facing the problem?
Started with 2.3.4, then updated to 2.4.1 and issue still occurs.
Is the issue limited to Simulators / Actual Devices?
Actual Devices
Can your problem be resolved if you bump to a higher version of SDK?
No.
Is this problem related to specific Android/OS version?
Crash reports show issues (see below) occur on KitKat through Nougat.
Can you give us steps to reproduce with a minimal, complete, and verifiable example? Please include any specific network conditions that might be required to reproduce the problem.
I have not been able to reproduce this issue. I'm only receiving crash reports from production builds. On average, there are 6-7 uploads per day, per user, for those who allow uploads on cellular data. Otherwise, data is uploaded only when connected to WiFi.
Please include a stacktrace if applicable.
There are two separate crashes being reported which result in the same exception, however the stacktraces are slightly different.
[Stacktrace 1 - Occurring on Marshmallow and Nougat]
[Stacktrace 2 - Occurring on KitKat and Lollipop]
If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application by using Mobile Hub.
The text was updated successfully, but these errors were encountered: