camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrice Daugan (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5051) NullPointerException when assigning a simple Object as final bean
Date Tue, 28 Feb 2012 17:51:46 GMT
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
            Priority: Trivial


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

        

Mime
View raw message