Chris Love created CAMEL-8667:
---------------------------------

             Summary: java.lang.NullPointerException 
CamelSpringTestContextLoader.java:174
                 Key: CAMEL-8667
                 URL: https://issues.apache.org/jira/browse/CAMEL-8667
             Project: Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.15.1
            Reporter: Chris Love


I am getting a NPE with camel spring unit testing.

<code>
Caused by: java.lang.NullPointerException: null
        at 
org.apache.camel.test.spring.CamelSpringTestContextLoader.cleanup(CamelSpringTestContextLoader.java:174)
        at 
org.apache.camel.test.spring.CamelSpringTestContextLoader.loadContext(CamelSpringTestContextLoader.java:86)
        at 
org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68)
        at 
org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86)
        at 
org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72)
</code>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to