You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Groovy Console is working fine. Groovy Shell is failing for Groovy 2.5, 3.0 and 4.0:
ERROR java.lang.ClassCastException:
groovysh_evaluate cannot be cast to groovy.lang.GroovyObject
at org.apache.groovy.groovysh.Interpreter.evaluate (Interpreter.groovy:72)
at org.apache.groovy.groovysh.Evaluator$evaluate.call (Unknown Source)
at org.apache.groovy.groovysh.Groovysh.execute (Groovysh.groovy:203)
at org.apache.groovy.groovysh.Shell.leftShift (Shell.groovy:121)
at org.apache.groovy.groovysh.Shell$leftShift$0.call (Unknown Source)
at org.apache.groovy.groovysh.ShellRunner.work (ShellRunner.groovy:93)
at org.apache.groovy.groovysh.InteractiveShellRunner.super$2$work (InteractiveShellRunner.groovy)
at org.apache.groovy.groovysh.InteractiveShellRunner.work (InteractiveShellRunner.groovy:136)
at org.apache.groovy.groovysh.ShellRunner.run (ShellRunner.groovy:57)
at org.apache.groovy.groovysh.InteractiveShellRunner.super$2$run (InteractiveShellRunner.groovy)
at org.apache.groovy.groovysh.InteractiveShellRunner.run (InteractiveShellRunner.groovy:95)
at java_lang_Runnable$run.call (Unknown Source)
at org.apache.groovy.groovysh.Groovysh.run (Groovysh.groovy:635)
at org.apache.groovy.groovysh.Groovysh$run$0.callCurrent (Unknown Source)
at org.apache.groovy.groovysh.Groovysh.run (Groovysh.groovy:600)
at org.apache.groovy.groovysh.Groovysh$run.call (Unknown Source)
at org.apache.groovy.groovysh.Main.startGroovysh (Main.groovy:190)
at org.apache.groovy.groovysh.Main.main (Main.groovy:156)
When opening the AST inspector of the Groovy Console under Groovy 3, there is an exception:
When launching the Groovy Console or Groovy Shell under Groovy 4, there is an error:
The text was updated successfully, but these errors were encountered: