Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.9.0
-
None
-
None
-
Any
Description
The following code generates a NullPointerException
new org.xml.sax.ext.Attributes2Impl().addAttribute("","","","","");
This is caused by the check of getLength against specified.length. After the constructor is called the specified and declared arrays are null. Adding a null check would resolve this problem.