[
https://issues.apache.org/jira/browse/CAMEL-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15839655#comment-15839655
]
David Martin commented on CAMEL-10741:
--------------------------------------
Reproduced this now as a simple test. Checked into
https://bitbucket.org/indysilver/camelbugdemo
It seems to be related to having the log: uri defined in a properties file.
> LogEndpoint error constructing LogProducer
> ------------------------------------------
>
> Key: CAMEL-10741
> URL: https://issues.apache.org/jira/browse/CAMEL-10741
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.18.0, 2.18.1
> Environment: Ubuntu 16.04, Open JDK 1.8.0
> Reporter: David Martin
> Priority: Critical
> Labels: log, logendpoint
>
> Using Spring XML. With a log: uri in the route, LogEndpoint.createProducer()
> was being called before doStart(), causing a null logger param to be passed
> to the LogProducer constructor. This resulted in a npe when the route was
> executed. Rolled back to 2.17.4 to resolve.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)