You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the SDK was used?
com.azure:azure-storage-blob:12.18.0
(bom 1.2.4)
What problem was encountered?
NPE in BlockBlobClient.exists
Have you found a mitigation/solution?
Kind of - i actually go to this from getBlobOutputStream, so passing overwrite=true fixed the issue for me
Caused by: java.lang.NullPointerException
at com.azure.storage.blob.specialized.BlobClientBase.exists(BlobClientBase.java:405)
at com.azure.storage.blob.specialized.BlockBlobClient.getBlobOutputStream(BlockBlobClient.java:148)
at com.azure.storage.blob.specialized.BlockBlobClient.getBlobOutputStream(BlockBlobClient.java:132)
... 70 more
From debugging
existsWithResponse(null, Context.NONE) -> returns null
Then call to existsWithResponse(null, Context.NONE).getValue() -> is NPE
The blob shouldnt exist at that point btw
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the SDK was used?
com.azure:azure-storage-blob:12.18.0
(bom 1.2.4)
What problem was encountered?
NPE in BlockBlobClient.exists
Have you found a mitigation/solution?
Kind of - i actually go to this from getBlobOutputStream, so passing overwrite=true fixed the issue for me
Caused by: java.lang.NullPointerException
at com.azure.storage.blob.specialized.BlobClientBase.exists(BlobClientBase.java:405)
at com.azure.storage.blob.specialized.BlockBlobClient.getBlobOutputStream(BlockBlobClient.java:148)
at com.azure.storage.blob.specialized.BlockBlobClient.getBlobOutputStream(BlockBlobClient.java:132)
... 70 more
From debugging
existsWithResponse(null, Context.NONE) -> returns null
Then call to existsWithResponse(null, Context.NONE).getValue() -> is NPE
The blob shouldnt exist at that point btw
The text was updated successfully, but these errors were encountered: