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/04/19 23:24:45 UTC

[jira] Closed: (XMLBEANS-8) NullPointerException @SchemaTypeImpl.setShortJavaName(SchemaTypeImpl.java:532)

     [ http://issues.apache.org/jira/browse/XMLBEANS-8?page=all ]
     
Jacob Danner closed XMLBEANS-8:
-------------------------------

    Assign To:     (was: Radu Preotiuc-Pietro)

Fix verified, No longer NPE, closing.
BTW: This is the new error code from Kevin's repro
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">

> 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
>      Fix For: unspecified

>
> 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
-
For more information on JIRA, 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