xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Ushakov (JIRA)" <xerces-j-...@xml.apache.org>
Subject [jira] Updated: (XERCESJ-1289) DOMUtil.copyInto causes NPE
Date Thu, 21 Feb 2008 21:21:23 GMT

     [ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Mime
View raw message