You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Dave Brosius <db...@qis.net> on 2005/06/22 05:56:13 UTC

Please Check

In org.apache.xerces.util.DOMUtil.copyInfo

the default case of the switch is

           default: {
                throw new IllegalArgumentException("can't copy node type, "+
                        type+" ("+
                        node.getNodeName()+')');
            }

but node will be null in this case, which will throw a NullPtrException, 
masking the IllegalArgumentException



---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org