[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Assigned: (XMLBEANS-162) NPE during schema compilation with extension
From: "Lawrence Jones (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2005-10-21 20:46:19
Message-ID: 710666625.1129927579617.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]
[ http://issues.apache.org/jira/browse/XMLBEANS-162?page=all ]
Lawrence Jones reassigned XMLBEANS-162:
---------------------------------------
Assign To: Rajiv Bala (was: Cezar Andrei)
The NPE was fixed with the fix for XMLBEANS-133 (checkin 227480). However there was \
still a small error where if the class was not on the classpath you would get the \
error message
'classname' must be an interface
instead of the correct error message:
'classname' not found.
Checkin 327246 fixes that. Passing to Rajiv for test.
> NPE during schema compilation with extension
> --------------------------------------------
>
> Key: XMLBEANS-162
> URL: http://issues.apache.org/jira/browse/XMLBEANS-162
> Project: XMLBeans
> Type: Bug
> Components: Compiler
> Versions: Version 2 Beta 1
> Reporter: Harald Meyer
> Assignee: Rajiv Bala
>
> When no extensions are used, everything works fine. Stack trace:
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at org.apache.xmlbeans.impl.config.BindingConfigImpl.error(BindingConfigImpl.java:289)
> [java] at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateJava(InterfaceExtensionImpl.java:91)
> [java] at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateInterface(InterfaceExtensionImpl.java:66)
> [java] at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.newInstance(InterfaceExtensionImpl.java:38)
> [java] at org.apache.xmlbeans.impl.config.BindingConfigImpl.recordExtensionSetting(BindingConfigImpl.java:234)
> [java] at org.apache.xmlbeans.impl.config.BindingConfigImpl.<init>(BindingConfigImpl.java:109)
> [java] at org.apache.xmlbeans.impl.config.BindingConfigImpl.forConfigDocuments(BindingConfigImpl.java:69)
> [java] at org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompiler.java:939)
> [java] at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1067)
> [java] at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:367)
> From my understanding, XMLBeans tries to report an error message, but the \
> StscStack (what ever it is) is empty.
--
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: 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