Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Windows XP Pro
Java 1.5 Beta 2
Description
I am able to run groovysh, but get the following error
when running groovyConsole
------------------------------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
U:\>groovyConsole
Exception in thread "main" java.lang.ClassFormatError: Invalid index 3 in LocalV
ariableTable in class file groovy/ui/Console$_run_closure1_closure5_closure16
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:605)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
oader.java:135)
at org.codehaus.classworlds.DefaultClassRealm.loadClassDirect(DefaultCla
ssRealm.java:262)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
m.java:239)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.
java:154)
at java.lang.ClassLoader.loadClass(ClassLoader.java:236)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:303)
at groovy.ui.Console$_run_closure1_closure5.doCall(/workspace/groovy/gro
ovy-core/target/classes/groovy/ui/Console.groovy:100)
at groovy.lang.Closure.call(Closure.java:284)
at groovy.lang.Closure.call(Closure.java:216)
at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:155)
at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:85)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:106)
at groovy.lang.Closure.invokeMethod(Closure.java:139)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:106)
at groovy.ui.Console$_run_closure1.doCall(/workspace/groovy/groovy-core/
target/classes/groovy/ui/Console.groovy:95)
at groovy.lang.Closure.call(Closure.java:284)
at groovy.lang.Closure.call(Closure.java:216)
at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:155)
at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:85)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:106)
at groovy.ui.Console.run(/workspace/groovy/groovy-core/target/classes/gr
oovy/ui/Console.groovy:47)
at gjdk.groovy.ui.Console_GroovyReflector.invoke(Console_GroovyReflector
.java)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:110)
at groovy.lang.MetaClass.doMethodInvoke(MetaClass.java:1372)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:316)
at gjdk.groovy.lang.MetaClass_GroovyReflector.invoke(MetaClass_GroovyRef
lector.java)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:110)
at groovy.lang.MetaClass.doMethodInvoke(MetaClass.java:1372)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:316)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:143)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:106)
at groovy.ui.Console.invokeMethod(/workspace/groovy/groovy-core/target/c
lasses/groovy/ui/Console.groovy)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
at org.codehaus.groovy.runtime.InvokerHelper.invokeNoArgumentsMethod(Inv
okerHelper.java:102)
at groovy.ui.Console.main(/workspace/groovy/groovy-core/target/classes/g
roovy/ui/Console.groovy:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:582)
at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
U:\>