You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Cannot invoke "org.apache.camel.spi.ManagementNameStrategy.isFixedName()" because "strategy" is null
at org.apache.camel.management.JmxManagementLifecycleStrategy.findFreeName(JmxManagementLifecycleStrategy.java:282)
at org.apache.camel.management.JmxManagementLifecycleStrategy.onContextStarting(JmxManagementLifecycleStrategy.java:202)
It's due to CamelContext.getManagementNameStrategy() returning null. Which we do explicitly here.
We should set up the ManagementNameStrategy in the management extension so that it's not null. It's probably just luck that we have not had other scenarios where this issue has occurred in the past.