Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.5.7
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The modification made for bug 2904 has broken the flatten() method, which now raises a NPE if the collection contains (at any level) a null element
To reproduce:
["A", null, "B"].flatten()
throws a NPE with Groovy 1.5.7.
It worked fine with Groovy 1.5.6 and before.
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.6-rc-1 [ 14009 ] | |
| Fix Version/s | 1.7 [ 14014 ] |
Paul King
made changes -
| Assignee | Paul King [ paulk ] |
Paul King
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Fixed. Thanks for reporting the issue.