Unable to resolve class internal.GlobalVariable (Again)

Thanks for that Brandon…

It then goes on to crash out (not always in the same way). Most recent I have is the following – but note the complaint about “$” again – I thought we’d killed that thing few releases back. I guess it might just be a symptom, not a real cause…

Project 'blah' opened
joptsimple.IllegalOptionSpecificationException: $ is not a legal option characte
r
        at joptsimple.ParserRules.ensureLegalOptionCharacter(ParserRules.java:77
)
        at joptsimple.ParserRules.ensureLegalOption(ParserRules.java:67)
        at joptsimple.ParserRules.ensureLegalOptions(ParserRules.java:72)
        at joptsimple.OptionParser.acceptsAll(OptionParser.java:267)
        at joptsimple.OptionParser.acceptsAll(OptionParser.java:260)

Again, that’s not typical or consistent.
Again, this works apart from two remote-from-me boxes which can run the suites in the IDE.

All of the “unable to resolve” logs point to one or more compilation issues (I’m pretty sure). I wonder if the logs for the studio instance on the remote boxes have some clues?:

path/to/studio/folder/config/.metadata/.log

1 Like

hello,
i have deleted folders mentioned in above, no suceess
my Jenkins build fail
In linux env using
Katalon_Studio_Linux_64-5.8.6

and in development env OS Windows using
version 6.1.5

this is very annoying issue

because (of) (Stack trace: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.NoClassDefFoundError: Could not initialize class internal.GlobalVariable
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:100)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:144)
at paymentWeb.Visa3dCard.invokeMethod(Visa3dCard.groovy)
at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:46)
at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at Script1561023698698.run(Script1561023698698.groovy:19)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:129)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:112)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:81)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:142)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
at TempTestSuite1561027235714.run(TempTestSuite1561027235714.groovy:36)

No issues in my Windows Katalon Studio