Ulrich Kramer created CAMEL-5830:
------------------------------------

             Summary: NullPointerException in 
DefaultCamelContext::stopRouteService
                 Key: CAMEL-5830
                 URL: https://issues.apache.org/jira/browse/CAMEL-5830
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.2
         Environment: Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2
            Reporter: Ulrich Kramer
             Fix For: 2.10.3


When an exception occures during the startup of a route Route::getConsumer() 
might return null.
During the shutdown of this route the logging in 
DefaultCamelContext::stopRouteService yields to a NullPointerException:

log.info("Route: " + route.getId() + " stopped, was consuming from: " + 
route.getConsumer().getEndpoint())

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