Hi,
Updated the java version from 11 to 17. While executing bpflow got the below error. This is working in java11.
2023-05-25 15:31:57,082 WARN [org.camunda.bpm.engine.jobexecutor] (pool-7-thread-6) ENGINE-14006 Exception while executing job 2eda6c2d-fae3-11ed-9092-70a8d3e342a7: : org.camunda.bpm.engine.exception.NullValueException: Can’t find scripting engine for ‘javascript’: scriptEngine is null
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:398)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:55)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:50)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines.getGlobalScriptEngine(ScriptingEngines.java:143)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines.getScriptEngineForLanguage(ScriptingEngines.java:117)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.scripting.env.ScriptingEnvironment.execute(ScriptingEnvironment.java:82)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.ScriptInvocation.invoke(ScriptInvocation.java:47)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationI
Any help on this is highly appreciated.
Thank you.