You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/03/15 00:21:11 UTC

[jira] Resolved: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()

     [ http://issues.apache.org/jira/browse/XMLBEANS-99?page=history ]
     
Jacob Danner resolved XMLBEANS-99:
----------------------------------

     Resolution: Fixed
    Fix Version: Version 2 Beta 1
                 Version 2 Beta 2
                 Version 2

Cannot repro in V2, per radu's comments it was fixed

> NPE/AssertionFailure in newDomNode()
> ------------------------------------
>
>          Key: XMLBEANS-99
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-99
>      Project: XMLBeans
>         Type: Bug
>   Components: DOM
>     Versions: Version 1.0.3
>     Reporter: Kevin Krouse
>     Assignee: Jacob Danner
>     Priority: Critical
>      Fix For: Version 2, Version 2 Beta 1, Version 2 Beta 2
>  Attachments: WS-BaseFaults-1_2-Draft_03.xsd, inst.xml, schema.xsd, test.java
>
> See attached repro and run with assertions enabled.  Creating a .newDomNode() from the parsed instance throws a NPE when looking up a prefix for the namespace "http://dufourrault"
> Exception in thread "main" java.lang.AssertionError
>         at org.apache.xmlbeans.impl.store.Saver.getUriMapping(Saver.java:1188)
>         at org.apache.xmlbeans.impl.store.Saver$DomSaver.emitContainer(Saver.java:4525)
>         at org.apache.xmlbeans.impl.store.Saver.processContainer(Saver.java:788)
>         at org.apache.xmlbeans.impl.store.Saver.process(Saver.java:531)
>         at org.apache.xmlbeans.impl.store.Saver$DomSaver.exportDom(Saver.java:4474)
>         at org.apache.xmlbeans.impl.store.Cursor.newDomNode(Cursor.java:2954)
>         at org.apache.xmlbeans.impl.values.XmlObjectBase.newDomNode(XmlObjectBase.java:155)
>         at org.apache.xmlbeans.impl.values.XmlObjectBase.newDomNode(XmlObjectBase.java:152)
>         at test.main(test.java:11)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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