xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26155] New: - Calling getUnionMemberTypes() on SchemaType for non-union types results in NullPointerException
Date Thu, 15 Jan 2004 08:54:01 GMT
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/


Mime
View raw message