Hi Frank,

Could you send the schema that you are trying to compile? 

-Rajiv


-----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:6
24)
     [java] at
org.apache.xmlbeans.impl.schema.StscChecker.isParticleValidRestriction(S
tscChecker.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(Sch
emaTypeSystemCompiler.java:310)
     [java] at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaT
ypeSystemCompiler.java:181)
     [java] at
org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompil
er.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:36
7)
     [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