Skip to content
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

Azure.Core 1.44.1 with bug on Dependency System.Memory.Data 6.0.0 for instruction BinaryData.Empty.ToString() #46734

Closed
Riccardonewall1985 opened this issue Oct 21, 2024 · 5 comments
Assignees
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@Riccardonewall1985
Copy link

Unable to use NuGet package Azure.Core 1.44.1 with Dependency System.Memory.Data 6.0.0 on .NET 8 Application.
The previous version Azure.Core 1.43.0 with Dependency System.Memory.Data 1.0.2 is working well.

Suggestion: Update Dependency System.Memory.Data to version 8.0.1 for Azure.Core 1.44.1 NuGet package.

Steps to reproduce the bug:
Create a console app with .NET 8
Install NuGet package Azure.Core 1.44.1 (with Dependency System.Memory.Data 6.0.0)
Write this code line: string data = BinaryData.Empty.ToString();
Run...
You get: System.ArgumentNullException: 'Value cannot be null. (Parameter 'bytes')'

@github-actions github-actions bot added Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 21, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@annelo-msft
Copy link
Member

@m-redding, would it be possible to help understand this issue and advise? Is the reported exception one of the known issues for BinaryData, and do we have a good workaround? Thanks!

@jsquire jsquire assigned jsquire and unassigned annelo-msft Oct 21, 2024
@m-redding
Copy link
Member

This is a duplicate of #46444, you can look at the discussion there for more information. This is unfortunately a bug in the System.Memory.Data package, not Azure.Core. You can add a direct reference in your application to hoist the package to 8.0.1 and it will fix this problem

@m-redding m-redding added issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. and removed needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team labels Oct 21, 2024
Copy link

Hi @Riccardonewall1985. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

Copy link

Hi @Riccardonewall1985, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants