Forums: Define.xml
Hi Victor,
This issue has already been identified and fixed in v1.0.1, which is the latest maintenance release of the Validator. The issue occurs when you have a codelist that is referenced on the "CodeList Assignments" tab but it is not present on the "CodeList Definitions" tab.
Please download the latest release at http://www.opencdisc.org/download
Thanks,
Max
I created a codelist.xls file that matched the template supplied. This is the error I get after a few seconds of running:
java.lang.NullPointerException
at org.opencdisc.validator.DefineDocumentGenerator.printCodeLists(DefineDocumentGenerator.java:524)
at org.opencdisc.validator.DefineDocumentGenerator.generate(DefineDocumentGenerator.java:357)
at org.opencdisc.validator.DefaultValidator.generate(DefaultValidator.java:154)
at org.opencdisc.validator.gui.ValidatorClient$ProcessMonitor.run(ValidatorClient.java:1518)
When I take the codelist.xls file out and run it completes and creates the define.xml file without errors.