Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
1.0-beta-4
-
None
-
None
-
Windows 2003
Description
I've got the following script:
------------------------------
for (i in 1..10)
{
println
}
------------------------------
If I run this from the command-line, it works great. If I run it from an embedded groovy, it fails with the following exception:
14:22:39,915 ERROR [LogInterceptor] Unexpected Error:
java.lang.VerifyError: (class: ScriptEngine_123, method: run signature: ()Ljava/
lang/Object Inconsistent stack height 2 != 0
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
...