cancel
Showing results for 
Search instead for 
Did you mean: 

ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred

Highlighted
Senior Member

Re: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred

We had a similar issue in our installation. A succesful workaround for us has been to add

"--add-opens=java.base/java.util.regex=ALL-UNNAMED" to the JAVA_OPTS in the testrunner.

 

Our warning was:

"WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedConstructor$1 (file:/C:/Program%20Files/SmartBear/ReadyAPI-3.1.0/lib/groovy-all-2.4.17.jar) to constructor java.util.regex.Matcher()"

Highlighted
Occasional Contributor

Re: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred

Hi @rse 

 

Thank you for the tip.

I tried to modify the testrunner.sh, but when I ran the pipeline, the warning was alway here as well as this line (was not here before) :

 /usr/local/SmartBear/RunProject.sh: line 1: /usr/local/SmartBear/ReadyAPI-3.1.0/bin/testrunner.sh: Permission denied

I guess I can't modify the testrunner of the Docker Image.

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors