You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/04/07 04:47:00 UTC
[jira] [Resolved] (CAMEL-16461) NPE when using the
AWS2S3StreamUploadProducer and setting s3 key header
[ https://issues.apache.org/jira/browse/CAMEL-16461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-16461.
--------------------------------------
Resolution: Information Provided
> NPE when using the AWS2S3StreamUploadProducer and setting s3 key header
> -----------------------------------------------------------------------
>
> Key: CAMEL-16461
> URL: https://issues.apache.org/jira/browse/CAMEL-16461
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2-s3
> Reporter: Claudio Miranda
> Priority: Major
>
> Using the AWS2S3StreamUploadProducer and setting the header "CamelAwsS3Key" and not setting the keyName in query parameter, it throws the NPE
>
> {code:java}
> java.lang.NullPointerException: null
> at org.apache.camel.component.aws2.s3.utils.AWS2S3Utils.determineFileName(AWS2S3Utils.java:75)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)