-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] Listing shares of a storage account throws a serialization exception when there are no shares available #19209
Comments
I've attached a sample gradle project with unit tests that you can open in typical IDE's, so you can see what I did to reproduce this : azure-bug-reproduction.zip You can specify the ConnectionString to use when running this test by setting the necessary environment variables (or simply editing the source files of course). This also contains unit tests for another problem I encountered: #18881 |
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Hi @gapra-msft, I get this error regardless of which jackson version I use. The example gradle project indeed tests with the upgraded jackson I.e. you can comment out all the jackson related lines in the example |
Hmm. I ran your project with 2.11.3 locally and I didn't hit this error. |
I commented out all the lines regarding jackson in the build.gradle file and the list succeeded. Could you try it with 2.11.3 locally again and confirm that you are seeing it fail. |
Indeed, my mistake. Commenting out all the jackson-related lines in |
This issue will be resolved once the 12.11.0-beta.2 azure-storage-blob library is released |
Hi @willemv, we recently released azure-storage-file-share 12.9.0-beta.2 that should fix this issue (my bad for mentioning blob before). Please try it out and let us know if you are still hitting the issue. Feel free to close this once you've confirmed the latest release fixes your issue. |
The issue is fixed in 12.9.0-beta.2 and later, thanks |
Describe the bug
Listing shares of a storage account throws a serialization exception when there are no shares available
Exception or Stack Trace
To Reproduce
ShareServiceClient#listShares()
to list the shares of the account.Code Snippet
Expected behavior
No exception, simply get a response listing 0 shares.
Setup (please complete the following information):
com.azure:azure-storage-file-share:12.8.0
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: