JiBX sample code from "dwcode2/hrxml" crashes with NPE
------------------------------------------------------
Key: JIBX-398
URL: http://jira.codehaus.org/browse/JIBX-398
Project: JiBX
Issue Type: Bug
Components: CodeGen
Affects Versions: JiBX 1.2.2
Environment: Windows XP; java version "1.6.0_13"
Reporter: Tim Friske
When executing the command line
dwcode2/hrmlxml/ant codegen
Apache Ant aborts with the error
check-runtime:
codegen:
[echo] Running code generation from schema
[mkdir] Created dir: C:\Documents and Settings\tfriske\My
Documents\software\frameworks\ibm-developerworks-jibx-tuto
rial-part2\dwcode2\hrxml\gen
[java] Loaded and validated 1 specified schema(s) and 6 referenced
schema(s)
[java] Exception in thread "main" java.lang.NullPointerException
[java] at org.jibx.util.UniqueNameSet.add(UniqueNameSet.java:96)
[java] at
org.jibx.binding.model.BindingOrganizer.buildDefaultPrefixes(BindingOrganizer.java:466)
[java] at
org.jibx.binding.model.BindingOrganizer.configureFiles(BindingOrganizer.java:627)
[java] at
org.jibx.schema.codegen.CodeGen.writeBindings(CodeGen.java:1572)
[java] at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:2018)
BUILD FAILED
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs