Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-1
-
Fix Version/s: 1.5.2
-
Component/s: XML Processing
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
def b = new MarkupBuilder()
b.bug(){
element(null)
}
The above code fragment throws an NPE, as does:
def b = new MarkupBuilder()
b.bug(){
element(t1:null)
}
Patch to MarkupBuilder and its unit test.