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

Removing .onErrorResume() from StorageFileOutputStream #43453

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

ibrahimrabab
Copy link
Contributor

@ibrahimrabab ibrahimrabab commented Dec 17, 2024

Description

Removing .onErrorResume() from StorageFileOutputStream.uploadData() method since the exception gets handled in the super class, and the condition within .onErrorResume() returning null was causing NullPointerException due to returning null.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Dec 17, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@ibrahimrabab ibrahimrabab changed the title removing onErrorResume Removing .onErrorResume() from StorageFileOutputStream Dec 18, 2024
@ibrahimrabab ibrahimrabab marked this pull request as ready for review December 18, 2024 21:09
@ibrahimrabab ibrahimrabab merged commit 6db06ae into Azure:main Dec 20, 2024
27 checks passed
@ibrahimrabab ibrahimrabab deleted the fileOutputStreamLogicFix branch December 20, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants