Java null pointer exception on Generating sample XML files
Posted: Mon Jul 20, 2009 8:50 pm
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 ...