Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-1, 1.0-beta-2
-
None
-
None
Description
variable bindings are not preserved across statements in the shell...
groovy> list = [1, 2, 'hello', new java.util.Date()]
groovy>
[1, 2, "hello", Tue Dec 23 11:31:41 CST 2003]
groovy> list.size()
groovy>
Caught: java.lang.NullPointerException: Cannot invoke method: size on null object