Menu

#34 Problem in XMLCommon (importNode)

mission critical
open
nobody
general (15)
5
2003-01-08
2003-01-08
No

This comment refers to version 0.7.10.

The code importNode in XMLCommon.java throws a
NullPointer Exception in some cases. This happens,
because cloneNode
sometimes returns null, possibly because the case
statement for
node types is not complete.

A workaround is adding
if (n1==null) continue;
to the method importNode.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB