I have looked over it and identified what is the most probable cause for this 
NPE, and as it turns out some checks were actually incorrect. Thanks for 
reporting this! I'll have a fix checked in SVN shortly.

Radu

-----Original Message-----
From: Weiler, Frank (KBV) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 27, 2005 1:05 AM
To: [email protected]
Subject: NullPointerException during schema compilation


Hello, XMLBeans Users !

Trying to compile my XML-Schema with the V2 Release, I've got the following 
error message:

     [java] java.lang.NullPointerException
     [java] at 
org.apache.xmlbeans.impl.schema.StscChecker.mapAndSum(StscChecker.java:624)
     [java] at 
org.apache.xmlbeans.impl.schema.StscChecker.isParticleValidRestriction(StscChecker.java:510)
     [java] at 
org.apache.xmlbeans.impl.schema.StscChecker.checkRestriction(StscChecker.java:379)
     [java] at 
org.apache.xmlbeans.impl.schema.StscChecker.checkAll(StscChecker.java:64)
     [java] at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(SchemaTypeSystemCompiler.java:310)
     [java] at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:181)
     [java] at 
org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompiler.java:947)
     [java] at 
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1067)
     [java] at 
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:367)
     [java] Exception in thread "main"
     [java] Java Result: 1

The Schema is valid itself (I think so), but where to look to resolve the error 
?

Regards, Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to