-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error - java.lang.NoSuchFieldException: modifiers while running the scripts #422
Comments
The information provided here is not enough. Provide QAF version and execution environment details. You can find this details in report under environment-information. You can also provide details about test authoring used for instance, BDD or Java (Testng Test) Looks like duplicate of #331 |
Please find more details below - Regarding QAF -
We were using the same framework in WellsFargo (Oracle Java 8 used) and it was working fine now we shifted to CPU and we are getting issues here - (Now RedHat java version 11 and RedHat Java version 8 we are using) If we are running with Java 11 - We are getting below mentioned error If we change to Java 8 then we are getting complication issues - java.lang.UnsupportedClassVersionError: com/cts/base/CSBaseTestCase has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 Can you please help into this. |
Please find the full pom.xml below -
|
This is TestNG |
@parulbangar16 QAF version and execution environment details are still missing. You can find this details in report under environment-information. Regardless of that you should contact to internal team who is maintaining |
@cjayswal QAF report - dashboard.htm is not generating that is why we are not able to share the environment - information. |
You should contact to internal team who is maintaining ctsjv-qaf-automation library for the issue. Report issue to internal team. |
QAF Version
ctsjv-qaf-automation
Steps To Reproduce
While running the scripts we are getting modifiers issue -
java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at com.qmetry.qaf.automation.util.ClassUtil.setField(ClassUtil.java:599)
The text was updated successfully, but these errors were encountered: