Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-beta-3
-
None
-
None
Description
a = [].toArray();
System.out.println(java.util.Arrays.asList(a));
Gives the following error...
Caught: java.lang.NullPointerException: Cannot get property: util on null object
java.lang.NullPointerException: Cannot get property: util on null object
at org.codehaus.groovy.runtime.Invoker.getProperty(Invoker.java:424)
at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.j ava:135)
at blah.run(blah.groovy:1)