Skip to content
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

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup in random executions #147

Open
silver-mx opened this issue May 17, 2023 · 0 comments

Comments

@silver-mx
Copy link

I am using the docker container version 8.5.5 and I am getting the following error randomly:

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

/tmp/project/Libs/TempTestSuite1684308873121.groovy: 13: unable to resolve class internal.GlobalVariable

@ line 13, column 1.

 import internal.GlobalVariable as GlobalVariable

^
1 error

As mentioned before we are running Katalon version: 8.5.5 and we are excluding the Libs folder as recommended here:

https://katalonsupport.force.com/katalonhelpcenter/s/article/How-to-solve-the-error-Unable-to-resolve-class-internal-GlobalVariable

The error happens randomly but makes our build very unreliable. We have retries and sometimes the second retry goes through but sometimes the error consumes all the retries and the Jenkins build fails.

Is there any trick to avoid this issue?

Our build.gradle looks like this:

plugins {
  id 'java'
  id "com.katalon.gradle-plugin" version "0.1.1"
}

repositories {
  mavenCentral()
}

dependencies {
  // sample dependencies
  // rest-assured
  compile 'io.rest-assured:rest-assured:3.2.0'
  // JsonPath
  compile 'io.rest-assured:json-path:3.2.0'
  // XmlPath
  compile 'io.rest-assured:json-path:3.2.0'
  // JSON Schema Validation
  compile 'io.rest-assured:json-schema-validator:3.2.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant