i am trying to execute the BDD test using Katalon Studio Free v9.5.0, my Java/JRE version is v21
i got this error:
=============== ROOT CAUSE =====================
Caused by: java.lang.IncompatibleClassChangeError: class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty$1 cannot inherit from final class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty
For trouble shooting, please visit: https://docs.katalon.com/katalon-studio/docs/troubleshooting.html
================================================
the whole error message is attached on the picture
Thank you very much for your topic! It may take a little while before Katalon team member or others forum members respond to you.
In the meantime, you can double-check your post to see if you can add any extra information i.e. error logs, HTML codes, screenshots, etc. Check out this posting guide to help us help you better!
Please try to stop using JRE version ‘v21’ inside Katalon Studio Free v9.5.0. Please let Katalon Studio Free v9.5.0 to run on the JRE bundled as default (possibly JDK17). Then hopefully the "java.lang.IncompatibleClassChangeError: class net.bytebuddy… " will disappear.
I’ve tried to change the JRE to use Katalon default, I got an error:
=============== ROOT CAUSE =====================
Caused by: java.lang.UnsupportedClassVersionError: META-INF/versions/21/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
do you have idea what is this about?
thanks in advance
I guess, you have some external library(ies) stored in the Drivers folder or the Plugins folder, and one of the jar desperately wants to be executed on JDK21. Your test case called a class in the jar. But you had to stop using JDK21 for the reason as above. So that one of the class that demands JDK21 complained about the version discrepancy.
Now you seem to be in a dead-lock situation.
I do not see what sort of external library you customly installed. I have no idea how to work around this mess.
Hi! I’m facing the exact same situation, but the project is not using any external drivers or plugins. I’ll try to use a previous version of Katalon, as a coworker had no issues with this.
With default Java or Java 17:
java.lang.UnsupportedClassVersionError: META-INF/versions/21/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
With Java 21 or Java 22:
Caused by: java.lang.IncompatibleClassChangeError: class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty$1 cannot inherit from final class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty
Java.lang.UnsupportedClassVersionError: META-INF/versions/21/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
Steps:
download JDK 21
add it (…/…/jdk-21.x.x.jdk/Contents/Home) to Katalon Studio : Preferences → Java → Installed JREs
Caused by: java.lang.IncompatibleClassChangeError: class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty$1 cannot inherit from final class net.bytebuddy.implementation.FieldAccessor$FieldNameExtractor$ForBeanProperty
If I launch directly a feature on my side.
But It works I launch a test suite.
Maybe this can be a workaroud → launch by suite, not by feature