NPE in SchemaBuilder when using redefine
----------------------------------------

         Key: WSCOMMONS-31
         URL: http://issues.apache.org/jira/browse/WSCOMMONS-31
     Project: WS-Commons
        Type: Bug

  Components: XmlSchema  
 Environment: Windows XP SP2
    Reporter: Brent Ulbricht


A NPE occurs when using SchemaBuilder with a schema that contains a redefine.

java.lang.NullPointerException
        at 
org.apache.ws.commons.schema.SchemaBuilder.handleRedefine(SchemaBuilder.java:211)
        at 
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:145)
        at 
org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:53)
        at 
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:255)
        at 
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:217)
        at 
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:237)
        at tests.RedefineTest.testGroupRedefine(RedefineTest.java:326)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)



-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to