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

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

     [ http://issues.apache.org/jira/browse/XMLBEANS-105?page=comments#action_58318 ]
     
Ian P. Springer commented on XMLBEANS-105:
------------------------------------------

Note, using the attached test case, I confirmed that this bug exists only in v1 (i.e. \
it does not occur w/ v2).


> 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