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:32 UTC

[jira] Closed: (XMLBEANS-11) Calling getUnionMemberTypes() on SchemaType for non-union types results in NullPointerException

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


Test Case is automated, and passing in V2, closing.

> Calling getUnionMemberTypes() on SchemaType for non-union types results in NullPointerException
> -----------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-11
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-11
>      Project: XMLBeans
>         Type: Bug
>   Components: Compiler
>     Versions: Version 1, Version 2
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Panagiotis Reveliotis
>     Priority: Blocker
>      Fix For: Version 1.0.3
>  Attachments: UnionNPE.java, simple_types_001.xsd
>
> Please see attached file for related test code and schemas.
> Running against schema simple_types_001.xsd results in:
> NUMBER OF GLOBAL TYPES: 1
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.getUnionMemberTypes
> (Sc
> hemaTypeImpl.java:1051)
>         at test.UnionNPE.test(UnionNPE.java:44)
>         at test.UnionNPE.<init>(UnionNPE.java:24)
>         at test.UnionNPE.main(UnionNPE.java:19)

-- 
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