-
Notifications
You must be signed in to change notification settings - Fork 866
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
Getting 'java.lang.NullPointerException: Cannot invoke "software.amazon.awssdk.core.ClientEndpointProvider.isEndpointOverridden()" #5646
Comments
this error is related to this PR |
@munishchouhan can you provide a sample code I can use to repro the error? |
this is the code i am using
you can find the class here: |
can it be a dependency issue? I am adding these three in my project, do i need to add some extra?
|
This turn out to be a missing dependency issue, when i dont mentioned any version, then i thnk micornaut provides teh whole sdk, but with version, i need to provide the depdency |
This issue is now closed. Comments on closed issues are hard for our team to see. |
but the whole sdk is too big, how to know which part is missing? |
You need to add as a dependency the SDK modules that correspond to the service clients you want to use, plus any HTTP client if you want to customize its configurations - Apache and NettyNio are added automatically. S3Presigner is in Another thing you can check is for version mismatches between SDK modules. Ideally all modules should be in the same version. |
thank you |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
After updating aws sdk to 2.28.15, getting 'java.lang.NullPointerException: Cannot invoke "software.amazon.awssdk.core.ClientEndpointProvider.isEndpointOverridden()" because "ep" is null'
in software.amazon.awssdk.services.s3.presigner.S3Presigner
Regression Issue
Expected Behavior
i should not throw the exception
Current Behavior
throwing exception
Reproduction Steps
you can check out this pr
seqeralabs/wave#667
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.28.15
JDK version used
11
Operating System and version
linux
The text was updated successfully, but these errors were encountered: