Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-beta-3
-
None
-
None
Description
running groovy with a 0 length file gives this error.
Caught: java.lang.NullPointerException: Cannot invoke method: main on null object
java.lang.NullPointerException: Cannot invoke method: main on null object
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:109)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:92)
at groovy.lang.GroovyShell.run(GroovyShell.java:166)
at groovy.lang.GroovyShell.main(GroovyShell.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:474)