You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/05/29 16:50:24 UTC

[jira] [Resolved] (CAMEL-5317) NettyConverter throws NullPointerException when Exchange is not set

     [ https://issues.apache.org/jira/browse/CAMEL-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5317.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0
                   2.9.3

Thanks for the patch.
                
> 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
>             Fix For: 2.9.3, 2.10.0
>
>         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