[
https://issues.apache.org/jira/browse/CAMEL-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5830.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.11.0
2.9.5
> 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
> Assignee: Willem Jiang
> Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> 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