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 26105] - Null Pointer Exception on enumeration
Date Sat, 17 Jan 2004 19:50:16 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=26105>.
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=26105

Null Pointer Exception on enumeration

kkrouse@bea.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From kkrouse@bea.com  2004-01-17 19:50 -------
Good catch.  This only happens when compiling a schema in-memory (not
'javaizing').  To fix, we need to process base types first when not javaizing.


Index: src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java
===================================================================
RCS file:
/home/cvs/xml-xmlbeans/v1/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java,v
retrieving revision 1.2
diff -r1.2 StscJavaizer.java
166a167,171
>         
>         SchemaTypeImpl baseType = (SchemaTypeImpl)sImpl.getBaseType();
>         if (baseType != null)
>             skipJavaizingType(baseType);
>

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