You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (Assigned) (JIRA)" <ji...@apache.org> on 2012/02/29 00:56:55 UTC

[jira] [Assigned] (CAMEL-5051) NullPointerException when assigning a simple Object as final bean

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

Babak Vahdat reassigned CAMEL-5051:
-----------------------------------

    Assignee: Babak Vahdat
    
> NullPointerException when assigning a simple Object as final bean
> -----------------------------------------------------------------
>
>                 Key: CAMEL-5051
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5051
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0
>         Environment: JSE6, Windows7
>            Reporter: Fabrice Daugan
>            Assignee: Babak Vahdat
>            Priority: Trivial
>         Attachments: CAMEL-5051.patch, MyRouteBuilder.java, stacktrace.txt
>
>
> Considering this route :
> from("direct://myendpoint").routeId("myendpoint.route").bean(new Object());
> I get a NPE. I know, this is a very rare case that noone will reach again...
> Anyway the fix is very simple, and is attached with it's test case.

--
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