[ 
https://issues.apache.org/jira/browse/CAMEL-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723560#comment-13723560
 ] 

Claus Ibsen commented on CAMEL-6576:
------------------------------------

I think I found a solution, doing some testing now.
                
> Fix a potential NPE
> -------------------
>
>                 Key: CAMEL-6576
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6576
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.11.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>
> org.apache.camel.example.pojo_messaging.CamelContextTest.testCheckFiles
> Stacktrace
> java.lang.NullPointerException: null
>       at 
> org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1626)
>       at 
> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1540)
>       at 
> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
>       at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
>       at 
> org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1508)
>       at 
> org.apache.camel.test.junit4.CamelTestSupport.startCamelContext(CamelTestSupport.java:476)
>       at 
> org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:310)
>       at 
> org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:216)
>       at 
> org.apache.camel.example.pojo_messaging.CamelContextTest.setUp(CamelContextTest.java:32)
> See [Jenkins build 
> output|https://builds.apache.org/view/A-D/view/Camel/job/Camel.trunk.fulltest.spring3.1/229/org.apache.camel$camel-example-pojo-messaging/testReport/junit/org.apache.camel.example.pojo_messaging/CamelContextTest/testCheckFiles/]
>  for details.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to