You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that JSR223 groovy scripts will not throw exceptions.
Actual behavior
I get the following error message when I execute a jmeter script with a JSR223 groovy script when I use a jdk version 23:
org.codehaus.groovy.GroovyBugError: BUG! exception in phase 'semantic analysis' in source unit 'Script135.groovy' Unsupported class file major version 67
at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:906) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:628) ~[groovy-3.0.20.jar:3.0.20]
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:389) ~[groovy-3.0.20.jar:3.0.20]
at groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:332) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154) ~[groovy-3.0.20.jar:3.0.20]
If I replace the groovy--3.0.20.jar files with groovy--.3.0.23.jar, then the script works fine with jdk-23.
Steps to reproduce the problem
Create a simple script with a jsr223 groovy script and the above error will be thrown.
JMeter Version
5.6.3
Java Version
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 23.0.1+11.1
OS Version
microsoft windows 11
The text was updated successfully, but these errors were encountered:
Expected behavior
I expect that JSR223 groovy scripts will not throw exceptions.
Actual behavior
I get the following error message when I execute a jmeter script with a JSR223 groovy script when I use a jdk version 23:
org.codehaus.groovy.GroovyBugError: BUG! exception in phase 'semantic analysis' in source unit 'Script135.groovy' Unsupported class file major version 67
at org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:906) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:628) ~[groovy-3.0.20.jar:3.0.20]
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:389) ~[groovy-3.0.20.jar:3.0.20]
at groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:332) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163) ~[groovy-3.0.20.jar:3.0.20]
at org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154) ~[groovy-3.0.20.jar:3.0.20]
If I replace the groovy--3.0.20.jar files with groovy--.3.0.23.jar, then the script works fine with jdk-23.
Steps to reproduce the problem
Create a simple script with a jsr223 groovy script and the above error will be thrown.
JMeter Version
5.6.3
Java Version
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 23.0.1+11.1
OS Version
microsoft windows 11
The text was updated successfully, but these errors were encountered: