FHIR Chat · Clean build failing with valueset-ucum-common · committers

Stream: committers

Topic: Clean build failing with valueset-ucum-common


view this post on Zulip Rik Smithies (Oct 25 2021 at 11:41):

For me, on 2 machines, a clean newly downloaded build is failing when processing valueset-ucum-common:

Error on line 14
XTTE0570: An empty sequence is not allowed as the value of variable $groups
in variable groups
Error
SXXP0003: Error reported by XML parser: Premature end of file.
This was a Full Build 2.45 163sec 3270MB
FHIR build failure @ Mon, Oct 25, 2021 11:42+0100 1.338 164sec 3270MB
java.lang.Exception: processing valueset-ucum-commonError: processing valueset-ucum-common
at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:3985)
at org.hl7.fhir.tools.publisher.Publisher.loadValueSets2(Publisher.java:1280)
at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2344)
at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2185)
at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:618)
at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:478)
Caused by: org.hl7.fhir.exceptions.FHIRException: Unable to parse D:\work\HL7\FHIR\gittrunk\fhirclean\publish\valueset-ucum-common.xml: null
at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:4424)
at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:3983)
... 5 more
Caused by: java.lang.NullPointerException
at org.hl7.fhir.r5.context.BaseWorkerContext.validateCodeBatch(BaseWorkerContext.java:833)
at org.hl7.fhir.r5.renderers.ValueSetRenderer.getConceptsForCodes(ValueSetRenderer.java:1009)
at org.hl7.fhir.r5.renderers.ValueSetRenderer.genInclude(ValueSetRenderer.java:825)
at org.hl7.fhir.r5.renderers.ValueSetRenderer.generateComposition(ValueSetRenderer.java:748)
at org.hl7.fhir.r5.renderers.ValueSetRenderer.render(ValueSetRenderer.java:84)
at org.hl7.fhir.r5.renderers.ValueSetRenderer.render(ValueSetRenderer.java:73)
at org.hl7.fhir.r5.renderers.ResourceRenderer.render(ResourceRenderer.java:74)
at org.hl7.fhir.tools.publisher.Publisher.addToResourceFeed(Publisher.java:4774)
at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:4418)
... 6 more

view this post on Zulip Grahame Grieve (Oct 25 2021 at 18:36):

r5 or r4b?

view this post on Zulip Rik Smithies (Oct 25 2021 at 20:37):

R5 main build

view this post on Zulip Grahame Grieve (Oct 29 2021 at 03:56):

I can't reproduce this?

view this post on Zulip Rik Smithies (Oct 29 2021 at 15:05):

I have run another clean downloaded build and it got stuck at:
[main] DEBUG org.hl7.fhir.convertors.context.VersionConvertorContext - org.hl7.fhir.convert
ors.conv30_50.VersionConvertor_30_50@76cc7585
for 11 hours.

Killed it and and did a "publish clean".

It then failed with ERROR @ TerminologyCapabilities.url (line 0, col0): terminologycapabilities-example:: TerminologyCapabilities.url: UUIDs must be valid (src = InstanceValidator)
This was a Full Build 3.442 2340sec 1632MB
FHIR build failure @ Fri, Oct 29, 2021 13:47+0100 2.737 2343sec 1632MB
Error: Resource Examples failed instance validation
org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation
at org.hl7.fhir.tools.publisher.ExampleInspector.summarise(ExampleInspector.java:421)
at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5740)
at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:623)
at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:478)

Task :publish FAILED

so that is different but still a failure on a clean build. This is the 4th time I have downloaded the source clean. Is it just me?

view this post on Zulip Vassil Peytchev (Oct 29 2021 at 16:29):

What is a "publish clean"? I think the proper sequence is
.\clean.bat or ./clean.sh
followed by
.\publish.bat or ./publish.sh

Is that what you are referring to?

view this post on Zulip Grahame Grieve (Oct 29 2021 at 18:36):

I can't get a clean build on R5 because of NDC issues - see thread in #Medication


Last updated: Apr 12 2022 at 19:14 UTC