Hi, Thank you Andrew for starting analysing the issue.
I can add that I also tried with version 2.15-SNAPSHOT from https://repository.apache.org/content/repositories/snapshots <https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-core/2.15-SNAPSHOT/> It behaves the same, so it seems that it has not been found/fixed in the proposed 2.15.1 release. /Jakob On Sun, Mar 29, 2015 at 8:01 PM, Andrew Block <andy.bl...@gmail.com> wrote: > Briefly looked into the issue. It is running into issues in this code > block which is executed at logging level >= INFO > > if (log.isInfoEnabled()) { > // count how many routes are actually started > int started = 0; > for (Route route : getRoutes()) { > if (getRouteStatus(route.getId()).isStarted()) { > started++; > } > } > log.info("Total " + getRoutes().size() + " routes, of which " > + started + " is started."); > log.info("Apache Camel " + getVersion() + " (CamelContext: " > + getName() + ") started in " + TimeUtils.printDuration(stopWatch.taken())); > } > > The exception occurs when the status for the route is pulled from the > route service. It is null and the exception is thrown. The route is > initially spun up but then refreshes when the CXF consumer is initialized. > Swapping it to test with a direct consumer does not result in a similar > situation and startup succeeds at all logging level. It appears the route > is not being registered with the route service > > - Andy > > -- > Andrew Block > > On March 29, 2015 at 8:14:06 AM, Jakob Thun (jakob.t...@gmail.com) wrote: > > I get a NullPointerException when using log-level INFO or finer in a > spring-boot application with CXF. > >