Running into Issues on Upgrade of Camunda

Hi,

I have upgraded Camunda from 7.14 to 7.20. I also upgraded java from 8 to 17 and springboot from 2.3.x to 3.1.12.

Now when I run locally I dont see any issues but when I run the same in test environment I see the following issue. Please suggest what needs to be done in this senario.

org.camunda.bpm.engine.ProcessEngineException: ENGINE-14025 Exception while executing job MessageEntity[repeat=null, id=1e18820a-e1fe-11ef-9262-12efabaa38b3, revision=3, duedate=Mon Feb 03 08:11:41 UTC 2025, lockOwner=22570fe9-8bb9-453e-9b76-bdbda9c513b0, lockExpirationTime=Mon Feb 03 08:16:56 UTC 2025, executionId=daa2095f-1f0e-11ef-be87-02f35a17b301, processInstanceId=28561d38-1f0e-11ef-be87-02f35a17b301, isExclusive=true, retries=167, jobHandlerType=async-continuation, jobHandlerConfiguration=transition-create-scope, exceptionByteArray=null, exceptionByteArrayId=1e2e5414-e1fe-11ef-9262-12efabaa38b3, exceptionMessage=BUG! exception in phase ‘semantic analysis’ in source unit ‘Script294.groovy’ Unsupported class file major version 61, deploymentId=b748c57c-1ce6-11ef-ac79-12274f62d495]:
at org.camunda.bpm.engine.impl.jobexecutor.JobExecutorLogger.wrapJobExecutionFailure(JobExecutorLogger.java:171)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:65)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.codehaus.groovy.GroovyBugError: BUG! exception in phase ‘semantic analysis’ in source unit ‘Script300.groovy’ Unsupported class file major version 61

Upgraded groovy version to 3.0.22 from 3.0.6 and it solved the issue

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