Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PoisonousJohn/822619ba4d1508fc03c5ded19cb9eec7 to your computer and use it in GitHub Desktop.
Save PoisonousJohn/822619ba4d1508fc03c5ded19cb9eec7 to your computer and use it in GitHub Desktop.
Reason:
java.lang.LinkageError: loader constraint violation: when resolving interface method "groovy.text.Template.make(Ljava/util/Map;)Lgroovy/lang/Writable;" the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the current class, com/kms/katalon/core/util/StrSubstitutor, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, groovy/text/Template, have different Class objects for the type groovy/lang/Writable used in the signature
at com.kms.katalon.core.util.StrSubstitutor.replace(StrSubstitutor.java:44)
at com.kms.katalon.core.testobject.ObjectRepository.lambda$0(ObjectRepository.java:261)
at com.kms.katalon.core.testobject.ObjectRepository.findWebUIObject(ObjectRepository.java:258)
at com.kms.katalon.core.testobject.ObjectRepository.readTestObjectFile(ObjectRepository.java:206)
at com.kms.katalon.core.testobject.ObjectRepository.findTestObject(ObjectRepository.java:174)
at com.kms.katalon.core.testobject.ObjectRepository.findTestObject(ObjectRepository.java:127)
at com.kms.katalon.core.testobject.ObjectRepository$findTestObject.callStatic(Unknown Source)
at Enter PIN2.run(Enter PIN2:16)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1570206478777.run(TempTestCase1570206478777.groovy:21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment