I investigated the problem further and found that the issue is in the schema named USLocalizations.xsd, which exists multiple times in the directory structure of HR-XML schemas:
HR-XML-2_5/Indicative/US/USLocalizations.xsd HR-XML-2_5/CPO/US/USLocalizations.xsd It looks like CodeGen can't distinguish between these two schemas. When I renamed one schema file (and corrected import of this renamed schema) CodeGen generated bindings successfully. I don't know if this is problem of CodeGen or problem in HR-XML (I would say the first possibility). So my question is: shell I raise a new Jira issue? Jirka > Hi, > > I need to work with HR-XML schemas (download here: > http://ns.hr-xml.org/AllHRXML/200704/HRXML200704.zip). When I generate > binding > with CodeGen for schema HR-XML-2_5/Indicative/IndicativeData.xsd I get the > exception: > > Exception in thread "main" java.lang.NullPointerException > at org.jibx.schema.codegen.CodeGen.applyAndNormalize(CodeGen.java:610) > at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1646) > > I don't use any customization yet. I'm able to run CodeGen successfuly on > some > other schemas (e.g. HR-XML-2_5/TimeCard/TimeCard.xsd). > > Does anybody know where the problem is? > > Thank's > > Jirka > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users