Skip to content

Null check for nullable response object#10029

Merged
laurit merged 1 commit into
open-telemetry:mainfrom
PaurushGarg:sqs-bug-fix
Dec 7, 2023
Merged

Null check for nullable response object#10029
laurit merged 1 commit into
open-telemetry:mainfrom
PaurushGarg:sqs-bug-fix

Conversation

@PaurushGarg

Copy link
Copy Markdown
Member

bug fix as response object is nullable and it will throw an NPE on response.getAwsResponse() in case of error response.

[docker-java-stream--300619952] INFO application aws-sdk-v1 - STDERR: java.lang.NullPointerException: Cannot invoke "com.amazonaws.Response.getAwsResponse()" because "response" is null

@PaurushGarg
PaurushGarg requested a review from a team December 7, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants