Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
Exception in thread "main" java.lang.NullPointerException: region must not be null. [error] at software.amazon.awssdk.utils.Validate.paramNotBlank(Validate.java:177) [error] at software.amazon.awssdk.regions.Region.of(Region.java:138) [error] at software.amazon.awssdk.regions.Region.of(Region.java:134) [error] at org.apache.beam.sdk.io.aws2.s3.DefaultS3ClientBuilderFactory.createBuilder(DefaultS3ClientBuilderFactory.java:53) [error] at org.apache.beam.sdk.io.aws2.s3.S3FileSystem.<init>(S3FileSystem.java:119) [error] at org.apache.beam.sdk.io.aws2.s3.S3FileSystemRegistrar.fromOptions(S3FileSystemRegistrar.java:40) [error] at org.apache.beam.sdk.io.FileSystems.verifySchemesAreUnique(FileSystems.java:550) [error] at org.apache.beam.sdk.io.FileSystems.setDefaultPipelineOptions(FileSystems.java:540) [error] at org.apache.beam.sdk.PipelineRunner.fromOptions(PipelineRunner.java:47) [error] at org.apache.beam.sdk.Pipeline.create(Pipeline.java:155)
This happens when setting an AWS endpoint, but no region even if the file system is not used
Attachments
Issue Links
- links to