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
Unhandled "TypeError: Cannot read property 'message' of null" #708
Comments
@jbuck Thanks for reporting this! Do you have a minimal reproduction test case that I can use to replication the problem. This is an easy fix, but I'm more curious about the origin of the error. |
Sure! Here's the code that was throwing:
The bucket I was listing and deleting had around 400k objects, and I found that this error would occur more frequently near the end of the deletion run, after running for about 45 minutes. Only the listing code was throwing this error. |
@AdityaManohar I ran it again today, happens in about 5 minutes now:
|
@jbuck I've pushed up a fix that should resolve this issue. Let me know if this works for you. Feel free to reopen this issue if you continue to have problems, and thanks for reporting! |
Exciting, a new error! :)
I can reproduce this with the same script as above; is there any other information I can add to assist in debugging this issue? |
@AdityaManohar would you like me to refile this as a new issue? It's definitely better than before, since I can actually catch and retry the command, but there's no information about the error. |
@jbuck Let me know if that helps! |
Well, I'm a moron 😭 Thanks for fixing the original issue though, happy that the second one is my fault! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
While using the AWS SDK v2.1.50 to delete a large number of files in S3 I sometimes encountered this error throwing from deep within the SDK
I looked at the code in question and I think it needs a null check, since
typeof null === 'object'
The text was updated successfully, but these errors were encountered: