Camunda 7.21.4 RUN fails to start

Hello,
I’m trying to start Camunda Run v7.21.4.
I have java 22 sdk installed.
I just run ./start.sh and I get an error, the platform can’t start (logs follow)
Any idea? Thanks

2024-09-20T11:49:17.593+02:00  WARN 29023 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application invoiceProcessApplicationSpringBoot' => 'Invoking @PostDeploy': Failed to invoke event listener method
HandlerMethod details: 
Bean [org.camunda.bpm.run.example.invoice.Application$$SpringCGLIB$$0]
Method [public void org.camunda.bpm.run.example.invoice.Application.onPostDeploy(org.camunda.bpm.spring.boot.starter.event.PostDeployEvent)]
Resolved arguments: 
[0] [type=org.camunda.bpm.spring.boot.starter.event.PostDeployEvent] [value=PostDeployEvent{processEngine=org.camunda.bpm.engine.impl.ProcessEngineImpl@26ab3c1b}]

2024-09-20T11:49:17.613+02:00  INFO 29023 --- [           main] org.camunda.bpm.engine                   : ENGINE-00007 Process Engine default closed
2024-09-20T11:49:17.614+02:00  INFO 29023 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-09-20T11:49:17.783+02:00  INFO 29023 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-09-20T11:49:17.791+02:00  INFO 29023 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2024-09-20T11:49:17.797+02:00  INFO 29023 --- [           main] .s.b.a.l.ConditionEvaluationReportLogger : 

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2024-09-20T11:49:17.816+02:00 ERROR 29023 --- [           main] o.s.boot.SpringApplication               : Application run failed

java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application invoiceProcessApplicationSpringBoot' => 'Invoking @PostDeploy': Failed to invoke event listener method
HandlerMethod details: 
Bean [org.camunda.bpm.run.example.invoice.Application$$SpringCGLIB$$0]
Method [public void org.camunda.bpm.run.example.invoice.Application.onPostDeploy(org.camunda.bpm.spring.boot.starter.event.PostDeployEvent)]
Resolved arguments: 
[0] [type=org.camunda.bpm.spring.boot.starter.event.PostDeployEvent] [value=PostDeployEvent{processEngine=org.camunda.bpm.engine.impl.ProcessEngineImpl@26ab3c1b}]

	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:105) ~[camunda-engine-spring-6-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:52) ~[camunda-engine-spring-6-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.spring.boot.starter.SpringBootProcessApplication$$SpringCGLIB$$0.onApplicationEvent(<generated>) ~[camunda-bpm-spring-boot-starter-7.21.4-ee.jar!/:7.21.4-ee]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:451) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:384) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:984) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.1.10.jar!/:6.1.10]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.1.jar!/:3.3.1]
	at org.camunda.bpm.run.CamundaBpmRun.main(CamundaBpmRun.java:25) ~[!/:7.21.4-ee]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[camunda-bpm-run-core.jar:7.21.4-ee]
	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[camunda-bpm-run-core.jar:7.21.4-ee]
	at org.springframework.boot.loader.launch.PropertiesLauncher.main(PropertiesLauncher.java:574) ~[camunda-bpm-run-core.jar:7.21.4-ee]
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application invoiceProcessApplicationSpringBoot' => 'Invoking @PostDeploy': Failed to invoke event listener method
HandlerMethod details: 
Bean [org.camunda.bpm.run.example.invoice.Application$$SpringCGLIB$$0]
Method [public void org.camunda.bpm.run.example.invoice.Application.onPostDeploy(org.camunda.bpm.spring.boot.starter.event.PostDeployEvent)]
Resolved arguments: 
[0] [type=org.camunda.bpm.spring.boot.starter.event.PostDeployEvent] [value=PostDeployEvent{processEngine=org.camunda.bpm.engine.impl.ProcessEngineImpl@26ab3c1b}]

	at org.camunda.bpm.container.impl.ContainerIntegrationLogger.exceptionWhilePerformingOperationStep(ContainerIntegrationLogger.java:316) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:136) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:160) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:216) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:102) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:71) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.start(SpringProcessApplication.java:110) ~[camunda-engine-spring-6-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.afterPropertiesSet(SpringProcessApplication.java:119) ~[camunda-engine-spring-6-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.spring.boot.starter.SpringBootProcessApplication.afterPropertiesSet(SpringBootProcessApplication.java:102) ~[camunda-bpm-spring-boot-starter-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:96) ~[camunda-engine-spring-6-7.21.4-ee.jar!/:7.21.4-ee]
	... 21 common frames omitted
Caused by: java.lang.reflect.UndeclaredThrowableException: Failed to invoke event listener method
HandlerMethod details: 
Bean [org.camunda.bpm.run.example.invoice.Application$$SpringCGLIB$$0]
Method [public void org.camunda.bpm.run.example.invoice.Application.onPostDeploy(org.camunda.bpm.spring.boot.starter.event.PostDeployEvent)]
Resolved arguments: 
[0] [type=org.camunda.bpm.spring.boot.starter.event.PostDeployEvent] [value=PostDeployEvent{processEngine=org.camunda.bpm.engine.impl.ProcessEngineImpl@26ab3c1b}]
...
Caused by: java.util.ServiceConfigurationError: org.graalvm.polyglot.impl.AbstractPolyglotImpl: Provider com.oracle.truffle.polyglot.PolyglotImpl could not be instantiated
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582) ~[na:na]
...~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.scripting.engine.DefaultScriptEngineResolver.getScriptEngine(DefaultScriptEngineResolver.java:80) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.scripting.engine.DefaultScriptEngineResolver.getScriptEngine(DefaultScriptEngineResolver.java:62) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.application.impl.ProcessApplicationScriptEnvironment.getScriptEngineForName(ProcessApplicationScriptEnvironment.java:66) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.application.AbstractProcessApplication.getScriptEngineForName(AbstractProcessApplication.java:210) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines.getPaScriptEngine(ScriptingEngines.java:130) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines.getScriptEngineForLanguage(ScriptingEngines.java:112) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.scripting.env.ScriptingEnvironment.execute(ScriptingEnvironment.java:82) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.ScriptInvocation.invoke(ScriptInvocation.java:47) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.task.listener.ScriptTaskListener.notify(ScriptTaskListener.java:45) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1102) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1082) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:1034) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.transitionTo(TaskEntity.java:1178) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior.performExecution(UserTaskActivityBehavior.java:62) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
...
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2048) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2045) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:2115) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2064) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2045) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:61) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:30) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:70) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:141) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:121) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:96) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:86) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:631) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:606) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:141) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:121) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:96) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:86) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:631) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:606) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:141) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:121) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:96) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:86) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:631) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:606) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:141) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:121) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:96) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:622) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:596) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:38) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:53) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:27) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:141) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:128) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:112) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:110) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:48) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:131) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:142) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:208) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:96) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:622) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:596) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
...
	at org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:155) ~[camunda-engine-7.21.4-ee.jar!/:7.21.4-ee]
	at org.camunda.bpm.example.invoice.InvoiceApplicationHelper.startProcessInstances(InvoiceApplicationHelper.java:103) ~[camunda-bpm-run-modules-example-invoice.jar:7.21.4-ee]
	at org.camunda.bpm.example.invoice.InvoiceApplicationHelper.startFirstProcess(InvoiceApplicationHelper.java:50) ~[camunda-bpm-run-modules-example-invoice.jar:7.21.4-ee]
	at org.camunda.bpm.example.invoice.InvoiceProcessApplication.startFirstProcess(InvoiceProcessApplication.java:38) ~[camunda-bpm-run-modules-example-invoice.jar:7.21.4-ee]
	at org.camunda.bpm.run.example.invoice.Application.onPostDeploy(Application.java:56) ~[camunda-bpm-run-modules-example-invoice.jar:7.21.4-ee]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
	at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:365) ~[spring-context-6.1.10.jar!/:6.1.10]
	... 41 common frames omitted
Caused by: java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'
	at com.oracle.truffle.api.library.LibraryFactory.ensureLibraryInitialized(LibraryFactory.java:339) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.library.LibraryFactory.getUncached(LibraryFactory.java:320) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.library.LibraryFactory.<init>(LibraryFactory.java:205) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.interop.InteropLibraryGen.<init>(InteropLibraryGen.java:170) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.interop.InteropLibraryGen.<clinit>(InteropLibraryGen.java:161) ~[truffle-api-21.1.0.jar!/:na]
	at java.base/java.lang.Class.forName0(Native Method) ~[na:na]
	at java.base/java.lang.Class.forName(Class.java:529) ~[na:na]
	at java.base/java.lang.Class.forName(Class.java:508) ~[na:na]
	at com.oracle.truffle.api.library.LibraryFactory.loadGeneratedClass(LibraryFactory.java:676) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.library.LibraryFactory.resolveImpl(LibraryFactory.java:639) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.library.LibraryFactory.resolve(LibraryFactory.java:632) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.api.interop.InteropLibrary.<clinit>(InteropLibrary.java:2875) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.polyglot.PolyglotContextImpl.<clinit>(PolyglotContextImpl.java:105) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.polyglot.HostException.<init>(HostException.java:58) ~[truffle-api-21.1.0.jar!/:na]
	at com.oracle.truffle.polyglot.PolyglotImpl.<clinit>(PolyglotImpl.java:92) ~[truffle-api-21.1.0.jar!/:na]
	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) ~[na:na]
	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) ~[na:na]
	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:340) ~[na:na]
	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103) ~[na:na]
	at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:173) ~[na:na]
	at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549) ~[na:na]
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[na:na]
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[na:na]
	at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:785) ~[na:na]
	... 182 common frames omitted

I’m not sure that compatible with that version of Java. It says that you need Java 17.
Can you try to use that version and find out if it works?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.