You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Kevin Krouse (JIRA)" <xm...@xml.apache.org> on 2005/01/08 01:46:14 UTC
[jira] Created: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
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
Priority: Critical
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
[jira] Updated: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Kevin Krouse (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=history ]
Kevin Krouse updated XMLBEANS-99:
---------------------------------
Attachment: inst.xml
test.java
> 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
> Priority: Critical
> Attachments: 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
[jira] Updated: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Kevin Krouse (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=history ]
Kevin Krouse updated XMLBEANS-99:
---------------------------------
Attachment: schema.xsd
> 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
> Priority: Critical
> Attachments: 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
[jira] Closed: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Yana Kadiyska (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=all ]
Yana Kadiyska closed XMLBEANS-99:
---------------------------------
Resolution: Won't Fix
Closing per Jacob's comment above
> 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: Yana Kadiyska
> Priority: Minor
> Fix For: Version 2 Beta 2, Version 2, Version 2 Beta 1
> 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
-
For more information on JIRA, 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
[jira] Reopened: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=all ]
Jacob Danner reopened XMLBEANS-99:
----------------------------------
Assign To: Yana Kadiyska (was: Jacob Danner)
Can you investigate a fix for the 1.x branches
> 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: Yana Kadiyska
> Priority: Critical
> Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 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
-
For more information on JIRA, 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Kevin Krouse (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_57408 ]
Kevin Krouse commented on XMLBEANS-99:
--------------------------------------
Oh, I forgot to mention that this test works in v2
> 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
> Priority: Critical
> Attachments: 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Yana Kadiyska (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_60830 ]
Yana Kadiyska commented on XMLBEANS-99:
---------------------------------------
Wonder if this is possibly fixed/related to http://issues.apache.org/jira/browse/XMLBEANS-14...If you assign the bug to me I'll try to confirm/investigate later this or next week
-Yana
> 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
[jira] Updated: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=all ]
Jacob Danner updated XMLBEANS-99:
---------------------------------
Priority: Minor (was: Critical)
Does anyone have a huge requirement to backport a fix?
I'll close if no one comments in 10 days.
> 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: Yana Kadiyska
> Priority: Minor
> Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 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
-
For more information on JIRA, 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Ian P. Springer (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_60060 ]
Ian P. Springer commented on XMLBEANS-99:
-----------------------------------------
I am getting an NPE at the same spot using v1.0.4. I am running with types generated for the attached schema (WS-BaseFaults-1_2-Draft_03.xsd). The call to newDomNode() in the below code causes the NPE when Saver#getUriMapping() is called on "http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-BaseFaults-1.2-draft-03.xsd":
BaseFaultDocument baseFaultDoc = BaseFaultDocument.Factory.newInstance();
BaseFaultType baseFaultType = baseFaultDoc.addNewBaseFault();
baseFaultType.setTimestamp( Calendar.getInstance() );
baseFaultType.newDomNode() );
Note, however, if I instead call newDomNode() on baseFaultDoc, there is no problem; newDomNode() returns successfully.
> 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
> 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_57865 ]
Radu Preotiuc-Pietro commented on XMLBEANS-99:
----------------------------------------------
Verified that it no longer happens in V2 (new code anyway).
> 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
> Priority: Critical
> Attachments: 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
[jira] Resolved: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ 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
[jira] Updated: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Ian P. Springer (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=history ]
Ian P. Springer updated XMLBEANS-99:
------------------------------------
Attachment: WS-BaseFaults-1_2-Draft_03.xsd
> 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
> 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_60798 ]
Jacob Danner commented on XMLBEANS-99:
--------------------------------------
Do you see this behavior on V2?
I am unable to repro it on the latest bits.
> 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
[jira] Commented: (XMLBEANS-99) NPE/AssertionFailure in newDomNode()
Posted by "Ian Springer (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-99?page=comments#action_60826 ]
Ian Springer commented on XMLBEANS-99:
--------------------------------------
No, I only tried it with v1.0.4.
Ian
> 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