scomp does not give the correct error message when detecting that a interface class is missing ----------------------------------------------------------------------------------------------
Key: XMLBEANS-216 URL: http://issues.apache.org/jira/browse/XMLBEANS-216 Project: XMLBeans Type: Bug Components: Compiler Versions: Version 2 Environment: run scomp wit a extension interface where the static handler does not exist Reporter: Michael Skells Priority: Minor scomp check for jClass.loadClass returning null. (line 82) In this situation it apears to return a UnresolvedClassImpl an NPE is accedently thrown later as the firther check to see if the class is an interface at org.apache.xmlbeans.impl.schema.StscState.get(StscState.java:1213) at org.apache.xmlbeans.impl.config.BindingConfigImpl.error(BindingConfigImpl.java:289) at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateJava(InterfaceExtensionImpl.java:91) at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateInterface(InterfaceExtensionImpl.java:66) at org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.newInstance(InterfaceExtensionImpl.java:38) at org.apache.xmlbeans.impl.config.BindingConfigImpl.recordExtensionSetting(BindingConfigImpl.java:234) at org.apache.xmlbeans.impl.config.BindingConfigImpl.<init>(BindingConfigImpl.java:109) at org.apache.xmlbeans.impl.config.BindingConfigImpl.forConfigDocuments(BindingConfigImpl.java:69) at org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompiler.java:939) at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1067) at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:367) -- 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]