Driver23
2 years agoVisitor
Cannot cast object with class 'java.lang.String' to class 'java.util.map'
Hi Guys. We are facing the problem:
Org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object with class 'java.lang.String' to class 'Java.util.Map' when starting readyapi-testrunner under Docker with our gitlab ci instance. Whereas the same code works fine under 1) ReadyApi itself 2) local testrunner 3) testrunner running locally in docker!
The problem drives us crazy. Any help will be appreciated.
Versions of readyApi and respective docker image are 3.47.0
By the way, one more detail: the behaviour is flaky, that means sometimes it starts the tests, sometimes not (with the error above). Classloader problem?
Org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object with class 'java.lang.String' to class 'Java.util.Map' when starting readyapi-testrunner under Docker with our gitlab ci instance. Whereas the same code works fine under 1) ReadyApi itself 2) local testrunner 3) testrunner running locally in docker!
The problem drives us crazy. Any help will be appreciated.
Versions of readyApi and respective docker image are 3.47.0
By the way, one more detail: the behaviour is flaky, that means sometimes it starts the tests, sometimes not (with the error above). Classloader problem?