[
https://issues.apache.org/jira/browse/CAMEL-8641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496539#comment-14496539
]
JaySenSharma commented on CAMEL-8641:
-------------------------------------
Looks like Claus Ibsen has already fixed it in later version of Camel please
check:
https://github.com/apache/camel/commit/a8fd547fbc63429831be89b5f5566334bd9b4358
> File endpoints NPE when shutdown if never started
> -------------------------------------------------
>
> Key: CAMEL-8641
> URL: https://issues.apache.org/jira/browse/CAMEL-8641
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.2
> Reporter: Richard Peter
> Priority: Minor
>
> The ScheduledPollConsumer does not have a scheduler if it has never been
> started. The scheduler is not checked for null in doStop. This comes up
> when routes are set to not autoStart and context managent later stops the
> route.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)