Hi Scott There is a bug associated with finding errors associated with the .xsdconfig file. The bug (XMLBEANS-133) meant that storing this error caused the NPE that you're seeing.
Radu just checked something in on my behalf (checkin 227480) which fixes this so you can see the error message. Can you update to the latest version of the code? Cheers, Lawrence > -----Original Message----- > From: Scott Hinkelman [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 11:21 AM > To: [email protected] > Subject: NullPointerException when compiling with static handler feature > > Hi, > I am getting a NullPointerException when trying to use the handler > extension feature in V2. > Using the 2 pass process per the wiki, I am sure the interface and the > handler are on the class path, however I get the same problem > with or without the classpath having them. Any help? > > xsdconfig snip: > <xb:extension > for="com.ibm.xml.namespaces.industry.medical.medbiquitous.professionalpr of > ile.xmlbeans.MembersType"> > <xb:interface name="com.ibm.industryobjects.IndustryObject"> > > <xb:staticHandler>com.ibm.industryobjects.IndustryObjectStaticHandler</x b: > staticHandler> > </xb:interface> > </xb:extension> > > Loading schema file member.xsd > Loading config file .\memberconfig.xsdconfig > Exception in thread "main" java.lang.NullPointerException > at > org.apache.xmlbeans.impl.schema.StscState.get(StscState.java:1213) > at > org.apache.xmlbeans.impl.config.BindingConfigImpl.error(BindingConfigImp l. > java:289) > at > org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateMethod(In te > rfaceExtensionImpl.java:167) > at > org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.validateMethods(I nt > erfaceExtensionImpl.java:113) > at > org.apache.xmlbeans.impl.config.InterfaceExtensionImpl.newInstance(Inter fa > ceExtensionImpl.java:58) > at > org.apache.xmlbeans.impl.config.BindingConfigImpl.recordExtensionSetting (B > indingConfigImpl.java:234) > at > org.apache.xmlbeans.impl.config.BindingConfigImpl.<init>(BindingConfigIm pl > .java:109) > at > org.apache.xmlbeans.impl.config.BindingConfigImpl.forConfigDocuments(Bin di > ngConfigImpl.java:69) > at > org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompil er > .java:939) > at > org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java :1 > 067) > at > org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:36 7) > > thanks, > > Scott > > ------------ > Scott R. Hinkelman, Senior Software Engineer > IBM Software Group / Emerging Technologies > Cross-Industry Foundation Standards Strategy > Office: 512.823.8097 (TL 793.8097) > Cell: 512.415.8490 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

