Java null pointer exception on Generating sample XML files
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Mon Jul 20, 2009 8:41 pm
Java null pointer exception on Generating sample XML files
I have an xsd with multiple imports
<xmlns:ns1: ORDER xmlns:ns2: ADDR xmlns:ns3=NAME>
<import all these namespaces>
For ORDER - It imports again name and address.
<xmlns:ns1: ADDRESS xmlns:ns2=NAME>
When generating an xml for this, this is the error I get. Any suggestions?
[ InstanceGenerator ] - java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Writer.write(Writer.java:140)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.C(Unknown Source)
at ro.sync.xml.generator.X$1.ᆊ(Unknown Source)
at ro.sync.ui.application.B.run(Unknown Source)
Please help ...
<xmlns:ns1: ORDER xmlns:ns2: ADDR xmlns:ns3=NAME>
<import all these namespaces>
For ORDER - It imports again name and address.
<xmlns:ns1: ADDRESS xmlns:ns2=NAME>
When generating an xml for this, this is the error I get. Any suggestions?
[ InstanceGenerator ] - java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Writer.write(Writer.java:140)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.A(Unknown Source)
at ro.sync.xml.generator.c.C(Unknown Source)
at ro.sync.xml.generator.X$1.ᆊ(Unknown Source)
at ro.sync.ui.application.B.run(Unknown Source)
Please help ...
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Java null pointer exception on Generating sample XML files
Post by sorin_ristache »
Hello,
What is your Oxygen version? Please post a sample XSD schema for reproducing the error.
Regards,
Sorin
What is your Oxygen version? Please post a sample XSD schema for reproducing the error.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service