Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-3, 1.0-JSR-4
-
None
-
None
-
Ubuntu Linux, x86, Sun Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Description
The following produces a null pointer exception:
if (true)
{
[1,2].each
}
else
{
rs = "bar"
}
adding 'def rs' to the start fixes the issue.