[ https://issues.apache.org/jira/browse/CAMEL-20906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-20906: -------------------------------- Fix Version/s: 4.7.0 > NPE in > RouteWatcherReloadStrategy.onRouteReload(RouteWatcherReloadStrategy.java:300) > ------------------------------------------------------------------------------------ > > Key: CAMEL-20906 > URL: https://issues.apache.org/jira/browse/CAMEL-20906 > Project: Camel > Issue Type: Bug > Affects Versions: 4.6.0 > Reporter: Aurélien Pupier > Priority: Minor > Fix For: 4.7.0 > > > {noformat} > Error reloading routes from file: to/Initial.yaml due to Cannot invoke > "org.apache.camel.ServiceStatus.name()" because the return value of > "org.apache.camel.spi.RouteController.getRouteStatus(String)" is null. This > exception is ignored. > java.lang.NullPointerException: Cannot invoke > "org.apache.camel.ServiceStatus.name()" because the return value of > "org.apache.camel.spi.RouteController.getRouteStatus(String)" is null > at > org.apache.camel.support.RouteWatcherReloadStrategy.onRouteReload(RouteWatcherReloadStrategy.java:300) > ~[camel-support-4.6.0.jar:4.6.0] > at > org.apache.camel.support.RouteWatcherReloadStrategy.lambda$doStart$1(RouteWatcherReloadStrategy.java:154) > ~[camel-support-4.6.0.jar:4.6.0] > at > org.apache.camel.support.FileWatcherResourceReloadStrategy$WatchFileChangesTask.run(FileWatcherResourceReloadStrategy.java:311) > ~[camel-support-4.6.0.jar:4.6.0] > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) > ~[?:?] > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) > ~[?:?] > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) > ~[?:?] > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) > ~[?:?] > at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {noformat} > not sure about steps to reproduce (yet) but surely related to suspending a > route and doing a change of the file which is tried to be automatically > reloaded -- This message was sent by Atlassian Jira (v8.20.10#820010)