You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/04 14:17:00 UTC

[jira] [Work logged] (BEAM-13586) NPE in S3 DefaultS3ClientBuilderFactory (AWS SDK v2)

     [ https://issues.apache.org/jira/browse/BEAM-13586?focusedWorklogId=703318&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-703318 ]

ASF GitHub Bot logged work on BEAM-13586:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Jan/22 14:16
            Start Date: 04/Jan/22 14:16
    Worklog Time Spent: 10m 
      Work Description: aromanenko-dev commented on pull request #16404:
URL: https://github.com/apache/beam/pull/16404#issuecomment-1004847873


   Run Java PreCommit


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 703318)
    Time Spent: 40m  (was: 0.5h)

> NPE in S3 DefaultS3ClientBuilderFactory (AWS SDK v2)
> ----------------------------------------------------
>
>                 Key: BEAM-13586
>                 URL: https://issues.apache.org/jira/browse/BEAM-13586
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-aws
>            Reporter: Moritz Mack
>            Assignee: Moritz Mack
>            Priority: P2
>              Labels: aws-sdk-v2, s3
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> 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) {code}
> This happens when setting an AWS endpoint, but no region even if the file system is not used



--
This message was sent by Atlassian Jira
(v8.20.1#820001)