You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/03/15 01:05:08 UTC
[jira] Assigned: (XMLBEANS-8) NullPointerException @SchemaTypeImpl.setShortJavaName(SchemaTypeImpl.java:532)
[ http://issues.apache.org/jira/browse/XMLBEANS-8?page=history ]
Jacob Danner reassigned XMLBEANS-8:
-----------------------------------
Assign To: Cezar Andrei (was: Jacob Danner)
This is still occuring in V2, but now it has an error code followed by the NPE.
Also, I used Kevin's snippet to reproduce this
foo.xsd:8: error: rcase-RecurseLax.2: Invalid Restri
ction. The following particles of the derived <choice> cannot be mapped to the
base <choice>'s particles: <element name="metadata@http://www.w3.org/2001/10/syn
thesis">
java.lang.NullPointerException
at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.setShortJavaName(Schem
aTypeImpl.java:535)
at org.apache.xmlbeans.impl.schema.StscJavaizer.assignJavaAnonymousTypeN
ames(StscJavaizer.java:368)
at org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer
.java:278)
at org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer
.java:223)
at org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeAllTypes(StscJava
izer.java:63)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(
SchemaTypeSystemCompiler.java:310)
at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(Sche
maTypeSystemCompiler.java:181)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCom
piler.java:947)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.j
ava:1067)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java
:367)
> NullPointerException @SchemaTypeImpl.setShortJavaName(SchemaTypeImpl.java:532)
> ------------------------------------------------------------------------------
>
> Key: XMLBEANS-8
> URL: http://issues.apache.org/jira/browse/XMLBEANS-8
> Project: XMLBeans
> Type: Bug
> Components: Compiler
> Versions: unspecified
> Environment: Operating System: Linux
> Platform: PC
> Reporter: Steven T. Hatton
> Assignee: Cezar Andrei
>
> I get the following NullPointerException when attempting to compile the
> synthesys.xsd found at http://www.w3.org/TR/speech-synthesis/synthesis.xsd
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeImpl.setShortJavaName(SchemaTypeImpl.java:532)
> at
> org.apache.xmlbeans.impl.schema.StscJavaizer.assignJavaAnonymousTypeNames(StscJavaizer.java:326)
> at org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer.java:259)
> at org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer.java:214)
> at
> org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeAllTypes(StscJavaizer.java:100)
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(SchemaTypeSystemCompiler.java:244)
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:185)
> at
> org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompiler.java:771)
> at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:823)
> at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:305)
> at com.globalsymmetry.xmlbeans.Main.main(Main.java:13)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org