Page 1 of 1

"c:\program files\oxygen 7.1\schemadocumentation

Posted: Tue Apr 25, 2006 2:41 pm
by avdende
Hi,

When using schemadocuemtnation.bat the diagram step ends with :
Exception in thread "main" java.lang.NullPointerException
at org.apache.xerces.impl.xs.XSModelGroupImpl.getAnnotation(Unknown Source)
at ro.sync.exml.F.I.B.C.W(Unknown Source)
at ro.sync.exml.F.I.B.I.getAttributes(Unknown Source)
at ro.sync.exml.F.I.B.I.getAttribute(Unknown Source)
at ro.sync.exml.L.G.P(Unknown Source)
at ro.sync.exml.F.I.A.C$_V.P(Unknown Source)
at ro.sync.exml.L.G.M(Unknown Source)
at ro.sync.exml.L.G.C(Unknown Source)
at ro.sync.exml.L.D.C(Unknown Source)
at ro.sync.exml.L.P.D(Unknown Source)
at ro.sync.exml.L.P.A(Unknown Source)
at ro.sync.exml.L.P.C(Unknown Source)
at ro.sync.exml.L.P.B(Unknown Source)
at ro.sync.exml.L.P.E(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.A(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.A(Unknown Source)
at ro.sync.exml.SDImageGenerator.generateSDImages(Unknown Source)
at ro.sync.exml.SwingSDImageGenerator.main(Unknown Source)

Posted: Tue Apr 25, 2006 2:47 pm
by george
Hi,

This is a problem inside Xerces 2.8.0, it throws a NullPointerException when we call getAnnotation on the mode group that is the main particle of the extended type. We already reported this to Xerces [1] through Radu Coravu and the bug was already fixed. You can grab the current xercesImpl.jar from the Xerces development snapshots [2] and replace xercesImpl.jar in the oXygen lib folder. That should fix this problem, we tested the Xerces snapshot from April the 19th [3].
Make sure you use Java 1.5 for oXygen as the Xerces build [3] is compiled with Java 1.5.

[1] http://issues.apache.org/jira/browse/XERCESJ-1149
[2] http://vmgump.apache.org/gump/public-ja ... ces2/jars/
[3] http://vmgump.apache.org/gump/public-ja ... 042006.jar

Best Regards,
George

Posted: Wed Apr 26, 2006 12:04 pm
by avdende
Thanks, works fine now.

Are the icons in the schema diagrams based on a standard?

Kind regards

Posted: Wed Apr 26, 2006 12:31 pm
by george
Hi,

No, I do not know any standard to specify that.

Best Regards,
George