[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Updated: (XMLBEANS-105) NPE while initializing a type system w/ a type that extends an a comp
From:       "Ian P. Springer (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-01-31 17:01:31
Message-ID: 927992084.1107190891391.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/XMLBEANS-105?page=history ]

Ian P. Springer updated XMLBEANS-105:
-------------------------------------

    Attachment: xmlbeans-bug.zip

This test case demonstrates the bug. A xerces.jar and a v1 xbean.jar are not \
included, but are required to run the test.


> NPE while initializing a type system w/ a type that extends an a complex type from \
>                 a different type system
> ----------------------------------------------------------------------------------------------------------
>  
> Key: XMLBEANS-105
> URL: http://issues.apache.org/jira/browse/XMLBEANS-105
> Project: XMLBeans
> Type: Bug
> Versions: Version 1
> Environment: n/a
> Reporter: Ian P. Springer
> Attachments: stacktrace.txt, xmlbeans-bug.zip
> 
> This bug occurs w/ v1.0.3, as well as w/ v1 SVN top-of-tree.
> It occurs in the following situation:
> - schema A defines type A, which is a complex type containing a sequence of one \
>                 anon complex types. schema A is xmlbeans-compiled into A.jar
> - schema B contains type B which extends type A. it also defines an element of type \
>                 B. schema B is compiled into B.jar, passing A.jar into scomp's \
>                 classpath option
> - B.xml is an instance doc containing a document element of type B
> - when we try to parse() B.xml, w/ A.jar and B.jar in the JVM classpath, we get a \
> big stack trace w/ a root cause of an NPE during type system initialization (see \
> the attached stack trace)

-- 
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
-
If you want more information on JIRA, or have a bug to report 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic