[
https://issues.apache.org/jira/browse/XERCESJ-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Ushakov updated XERCESJ-1289:
------------------------------------
Attachment: domutil.zip
Patch and test
Test result on non-fixed 2.9.1, 2.8.0:
0: OK
1: Failed: class java.lang.NullPointerException
2: Failed: class java.lang.NullPointerException
3: Failed: class java.lang.NullPointerException
4: OK
5: OK
6: OK
Test result on fixed 2.9.1:
0: OK
1: OK
2: OK
3: OK
4: OK
5: OK
6: OK
> DOMUtil.copyInto causes NPE
> ---------------------------
>
> Key: XERCESJ-1289
> URL: https://issues.apache.org/jira/browse/XERCESJ-1289
> Project: Xerces2-J
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.8.0, 2.8.1, 2.9.0, 2.9.1
> Reporter: Dennis Ushakov
> Attachments: domutil.zip
>
>
> DOMUtil.copyInto causes NPE when copying node which is first child, has
> sibling and has no children such as node b in the example:
> a
> / \
> b c
> |
> d
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]