You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by bu...@apache.org on 2004/01/15 09:54:01 UTC
DO NOT REPLY [Bug 26155] New: -
Calling getUnionMemberTypes() on SchemaType for non-union types results in NullPointerException
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26155>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26155
Calling getUnionMemberTypes() on SchemaType for non-union types results in NullPointerException
Summary: Calling getUnionMemberTypes() on SchemaType for non-
union types results in NullPointerException
Product: XMLBeans
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: Other
Component: Compiler
AssignedTo: xmlbeans-dev@xml.apache.org
ReportedBy: prevelio@sbcglobal.net
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)
- ---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/