My team is currently experiencing an issue where attempts to start the flowable engine builder fail with the following error:
java.lang.ClassCastException: class org.flowable.eventregistry.impl.cfg.StandaloneEventRegistryEngineConfiguration cannot be cast to class org.flowable.engine.ProcessEngineConfiguration (org.flowable.eventregistry.impl.cfg.StandaloneEventRegistryEngineConfiguration and org.flowable.engine.ProcessEngineConfiguration are in unnamed module of loader coldfusion.bootstrap.BootstrapClassLoader @7af52ec7)
at org.flowable.management.jmx.JMXConfigurator.configure(JMXConfigurator.java:119) ~[flowable-jmx-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.AbstractEngineConfiguration.configuratorsAfterInit(AbstractEngineConfiguration.java:1120) ~[flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.eventregistry.impl.EventRegistryEngineConfiguration.init(EventRegistryEngineConfiguration.java:255) ~[flowable-event-registry-6.8.0.jar:6.8.0]
at org.flowable.eventregistry.impl.EventRegistryEngineConfiguration.buildEventRegistryEngine(EventRegistryEngineConfiguration.java:207) ~[flowable-event-registry-6.8.0.jar:6.8.0]
at org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator.initEventRegistryEngine(EventRegistryEngineConfigurator.java:87) ~[flowable-event-registry-configurator-6.8.0.jar:6.8.0]
at org.flowable.eventregistry.impl.configurator.EventRegistryEngineConfigurator.configure(EventRegistryEngineConfigurator.java:64) ~[flowable-event-registry-configurator-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.AbstractEngineConfiguration.configuratorsAfterInit(AbstractEngineConfiguration.java:1120) ~[flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:1022) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:906) ~[flowable-engine-6.8.0.jar:6.8.0]
From the information our sysadmin helped dig up, this issue started occurring for us a few days ago (9/29) after our server restarted. We have not deployed/installed any updates to Flowable since updating to 6.8.0 in June, so it’s a bit odd that it’s decided to fail out of nowhere. Could this be a configuration file that was corrupted or edited improperly, or something more serious?