[
https://issues.apache.org/jira/browse/CAMEL-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Łukasz Dywicki updated CAMEL-5317:
----------------------------------
Attachment: CAMEL-5317.patch
Proposed patch contains fix with fallback to default String constructor if no
exchange is set.
> NettyConverter throws NullPointerException when Exchange is not set
> -------------------------------------------------------------------
>
> Key: CAMEL-5317
> URL: https://issues.apache.org/jira/browse/CAMEL-5317
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Reporter: Łukasz Dywicki
> Assignee: Łukasz Dywicki
> Labels: netty
> Attachments: CAMEL-5317.patch
>
>
> In Camel TypeConverter API we have two ways to convert payload - with
> exchange or without. NettyConverter doesn't support ChannelBuffer -> toString
> conversion without exchange instance and throws NullPointerException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira