After migration of Jira to newer version of Java mygroovy related errors started occurring.
Is this known issue? Maybe there is work around that?
Examples:
577x130941x1 139t6mt 134.238.94.231,10.202.96.37,10.202.100.95 /rest/my-groovy/latest/staticCheck [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class org.codehaus.groovy.classgen.Verifier java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.classgen.Verifier at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:170) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:139) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseClass(ScriptServiceImpl.java:325) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseScriptStatic(ScriptServiceImpl.java:147) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46) ... 3 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 7 filtered at org.kantega.atlaskerb.msteams.MsTeamsSecurityHeadersFilter.doFilter(MsTeamsSecurityHeadersFilter.java:52) ... 22 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 25 filtered at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Thread-417"] at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43) at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141) at org.codehaus.groovy.ast.ClassHelper.<clinit>(ClassHelper.java:77) at org.codehaus.groovy.classgen.Verifier.<clinit>(Verifier.java:133) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:170) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:139) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseClass(ScriptServiceImpl.java:325) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.lambda$doExecuteScript$2(ScriptServiceImpl.java:225) at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$0(LocalCache.java:139) at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2379)
After migration of Jira to newer version of Java mygroovy related errors started occurring. Is this known issue? Maybe there is work around that?
Examples:
577x130941x1 139t6mt 134.238.94.231,10.202.96.37,10.202.100.95 /rest/my-groovy/latest/staticCheck [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class org.codehaus.groovy.classgen.Verifier java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.classgen.Verifier at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:170) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:139) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseClass(ScriptServiceImpl.java:325) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseScriptStatic(ScriptServiceImpl.java:147) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46) ... 3 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 7 filtered at org.kantega.atlaskerb.msteams.MsTeamsSecurityHeadersFilter.doFilter(MsTeamsSecurityHeadersFilter.java:52) ... 22 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 25 filtered at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Thread-417"] at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43) at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141) at org.codehaus.groovy.ast.ClassHelper.<clinit>(ClassHelper.java:77) at org.codehaus.groovy.classgen.Verifier.<clinit>(Verifier.java:133) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:170) at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:139) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.parseClass(ScriptServiceImpl.java:325) at ru.mail.jira.plugins.groovy.impl.ScriptServiceImpl.lambda$doExecuteScript$2(ScriptServiceImpl.java:225) at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$0(LocalCache.java:139) at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2379)