Java null pointer exception on Generating sample XML files

Having trouble installing Oxygen? Got a bug to report? Post it all here.
rsreedh
Posts: 1
Joined: Mon Jul 20, 2009 8:41 pm

Java null pointer exception on Generating sample XML files

Post by rsreedh »

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 ...
sorin_ristache
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
Post Reply