-
Notifications
You must be signed in to change notification settings - Fork 33
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
NPE in requesterPays check if credentials don't match provided user project #849
Labels
api: storage
Issues related to the googleapis/java-storage-nio API.
Comments
product-auto-label
bot
added
the
api: storage
Issues related to the googleapis/java-storage-nio API.
label
Mar 8, 2022
lbergelson
added a commit
to lbergelson/java-storage-nio
that referenced
this issue
Mar 8, 2022
Fixes a NullPointerException introduced in googleapis#841 which occured when trying to check the the requesterPays status of a file while authenticated with an invalid service account. Refs: googleapis#849, googleapis#841
4 tasks
cojenco
pushed a commit
that referenced
this issue
Mar 9, 2022
lbergelson
added a commit
to broadinstitute/gatk
that referenced
this issue
Mar 18, 2022
* The previous attempt to fix requester pays didn't fix it in many cases. This incorporates a newer version of the NIO library with several patches to fix edge cases we were hitting. * googleapis/java-storage-nio#849 * googleapis/java-storage-nio#856 * googleapis/java-storage-nio#857 * upgrade com.google.cloud:google-cloud-nio:0.123.23 ->0.123.25 * fixes #7716
lbergelson
added a commit
to broadinstitute/gatk
that referenced
this issue
Mar 18, 2022
* The previous attempt to fix requester pays didn't fix it in many cases. This incorporates a newer version of the NIO library with several patches to fix edge cases we were hitting. * googleapis/java-storage-nio#849 * googleapis/java-storage-nio#856 * googleapis/java-storage-nio#857 * upgrade com.google.cloud:google-cloud-nio:0.123.23 ->0.123.25 * fixes #7716
droazen
added a commit
to broadinstitute/gatk
that referenced
this issue
Apr 7, 2022
* The previous attempt to fix requester pays didn't fix it in many cases. This incorporates a newer version of the NIO library with several patches to fix edge cases we were hitting. * googleapis/java-storage-nio#849 * googleapis/java-storage-nio#856 * googleapis/java-storage-nio#857 * upgrade com.google.cloud:google-cloud-nio:0.123.23 ->0.123.25 fixes #7716 Co-authored-by: David Roazen <droazen@broadinstitute.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The last release introduced a new NullPointerException when trying to use an invalid service account to access a requester pays bucket. The null pointer hides the actual cause of the error which makes it hard to debug. (Although the cause is not particularly clear from the original error message anyway)
Expect to see something like this:
But instead you get
Environment details
Steps to reproduce
Code example
Stack trace
The text was updated successfully, but these errors were encountered: