Stream: IG creation
Topic: MeasureReport example build errors
Eric Haas (Jun 09 2020 at 21:14):
The Da Vinci DEQM IG no longer publishes and is due to the validation. Is there some documentation on what the heck changed in the MR validations. I spend half a day trying to debug....
I validated the following example on WildFHIR
Grrrrrr
.. /Users/ehaas/Documents/FHIR/Davinci-DEQM/source/examples/MeasureReport-summ-measurereport01 (00:54.0741)
validating MeasureReport/summ-measurereport01 (00:54.0741)
Unhandled Exception: java.lang.NullPointerException (00:54.0755)
Publishing Content Failed: null (00:54.0758)
(00:54.0758)
Use -? to get command line help (00:54.0759)
(00:54.0759)
Stack Dump (for debugging): (00:54.0759)
java.lang.NullPointerException
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:619)
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:591)
at org.hl7.fhir.r5.renderers.DataRenderer.lookupCode(DataRenderer.java:152)
at org.hl7.fhir.r5.renderers.DataRenderer.displayCodeableConcept(DataRenderer.java:436)
at org.hl7.fhir.r5.renderers.DataRenderer.display(DataRenderer.java:240)
at org.hl7.fhir.r5.renderers.DataRenderer.display(DataRenderer.java:221)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroupPopulations(MeasureValidator.java:404)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroup(MeasureValidator.java:291)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroups(MeasureValidator.java:265)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReport(MeasureValidator.java:200)
at org.hl7.fhir.validation.instance.InstanceValidator.checkSpecials(InstanceValidator.java:3436)
at org.hl7.fhir.validation.instance.InstanceValidator.startInner(InstanceValidator.java:3418)
at org.hl7.fhir.validation.instance.InstanceValidator.start(InstanceValidator.java:3321)
at org.hl7.fhir.validation.instance.InstanceValidator.validateResource(InstanceValidator.java:4363)
at org.hl7.fhir.validation.instance.InstanceValidator.validate(InstanceValidator.java:666)
at org.hl7.fhir.validation.instance.InstanceValidator.validate(InstanceValidator.java:642)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:4589)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:4460)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:841)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:698)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7533)
Grahame Grieve (Jun 09 2020 at 21:46):
fixed next release. Sorry.
Grahame Grieve (Jun 09 2020 at 21:46):
don't know how that didn't crop up in QA
Eric Haas (Jun 09 2020 at 22:04):
ty !!
Eric Haas (Jun 12 2020 at 01:43):
@Grahame Grieve have you applied this I just tried to run DEQM CI Build with the latest IG publisher and am getting the same error.
validating DaVinciClinic03 (00:55.0635)
.. validate /Users/ehaas/Documents/FHIR/Davinci-DEQM/source/examples/MeasureReport-summ-measurereport01 (00:55.0640)
.. /Users/ehaas/Documents/FHIR/Davinci-DEQM/source/examples/MeasureReport-summ-measurereport01 (00:55.0640)
validating MeasureReport/summ-measurereport01 (00:55.0640)
Unhandled Exception: java.lang.NullPointerException (00:55.0657)
Publishing Content Failed: null (00:55.0661)
(00:55.0663)
Use -? to get command line help (00:55.0663)
(00:55.0664)
Stack Dump (for debugging): (00:55.0664)
java.lang.NullPointerException
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:619)
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCode(BaseWorkerContext.java:591)
at org.hl7.fhir.r5.renderers.DataRenderer.lookupCode(DataRenderer.java:152)
at org.hl7.fhir.r5.renderers.DataRenderer.displayCodeableConcept(DataRenderer.java:436)
at org.hl7.fhir.r5.renderers.DataRenderer.display(DataRenderer.java:240)
at org.hl7.fhir.r5.renderers.DataRenderer.display(DataRenderer.java:221)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroupPopulations(MeasureValidator.java:404)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroup(MeasureValidator.java:291)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReportGroups(MeasureValidator.java:265)
at org.hl7.fhir.validation.instance.type.MeasureValidator.validateMeasureReport(MeasureValidator.java:200)
at org.hl7.fhir.validation.instance.InstanceValidator.checkSpecials(InstanceValidator.java:3436)
at org.hl7.fhir.validation.instance.InstanceValidator.startInner(InstanceValidator.java:3418)
at org.hl7.fhir.validation.instance.InstanceValidator.start(InstanceValidator.java:3321)
at org.hl7.fhir.validation.instance.InstanceValidator.validateResource(InstanceValidator.java:4363)
at org.hl7.fhir.validation.instance.InstanceValidator.validate(InstanceValidator.java:666)
at org.hl7.fhir.validation.instance.InstanceValidator.validate(InstanceValidator.java:642)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:4589)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:4460)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:841)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:698)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7533)
Erics-MacBook-Air-2:Davinci-DEQM ehaas$
Grahame Grieve (Jun 12 2020 at 01:52):
what version of the IG publisher is this?
Grahame Grieve (Jun 12 2020 at 04:00):
I get
Exception in thread "main" java.lang.Error: Error generating build: the file C:\work\org.hl7.fhir.igs\davinci-deqm\generated_output\temp\_includes\MeasureReport-summ-measurereport02-validation.xhtml is being generated more than once (may differ by case)
Trying to build DEQM
Eric Haas (Jun 12 2020 at 18:11):
FHIR IG Publisher Version 1.0.100-SNAPSHOT (Git# 6c6b419dd19f). Built 2020-06-07T09:06:40.927+10:00 (5 days old)
Eric Haas (Jun 12 2020 at 18:46):
OK I moved the duplicate example out of folder, (one was xml the other json, and I use the source key in config so this doesnt error for me.)
Eric Haas (Jun 12 2020 at 18:46):
and pushed the commit
Grahame Grieve (Jun 12 2020 at 19:53):
I still get
Exception in thread "main" java.lang.Error: Error generating build: the file C:\work\org.hl7.fhir.igs\davinci-deqm\generated_output\temp\_includes\MeasureReport-summ-measurereport02-validation.xhtml is being generated more than once (may differ by case)
Grahame Grieve (Jun 12 2020 at 19:53):
that's because you have both MeasureReport-summ-measurereport02.json and MeasureReport-summ-measurereport02.xml in the source
Eric Haas (Jun 12 2020 at 20:56):
Ok was a git issue now should be only one
Grahame Grieve (Jun 12 2020 at 21:25):
I'm still getting Exception in thread "main" java.lang.Error: Error generating build: the file C:\work\org.hl7.fhir.igs\davinci-deqm\generated_output\temp\_includes\MeasureReport-summ-measurereport02-validation.xhtml is being generated more than once (may differ by case)
Eric Haas (Jun 13 2020 at 01:05):
OK that issue should be fixed the autobuild is getting the same NPE error.
Last updated: Apr 12 2022 at 19:14 UTC