axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Created: (AXIS2-2331) SAAJ API issue
Date Fri, 16 Mar 2007 03:13:09 GMT
SAAJ API issue

                 Key: AXIS2-2331
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Jarek Gawor

One of the SAAJResult constructor has the following code:

  	  	org.w3c.dom.Node node = this.getNode();

However, sometimes there might not be any children nodes so node.removeChild(null) might be
called creating NPE in the parser. So I think this should at least check if getFirstChild
is non null, and call .removeChild() only then. Also, this probably should remove all child
nodes, not just first one.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message