FHIR Chat · Build failed · committers

Stream: committers

Topic: Build failed


view this post on Zulip Anthony(Tony) Julian (May 30 2017 at 20:04):

build failed, but the log wont fetch

view this post on Zulip David Hay (Mar 13 2018 at 21:42):

Hi Got this error on the build:

BUILD FAILED
/Users/davidha/fhir/trunk/build/build.xml:30: The following error occurred while executing this line:
/Users/davidha/fhir/trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:156: Java returned: 1

I did another svn update, but error persisted. I seem to recall that there's a folder I need to clear?

view this post on Zulip Bryn Rhodes (Mar 13 2018 at 21:46):

Try running "clean" then publish again

view this post on Zulip Bryn Rhodes (Mar 13 2018 at 21:46):

That usaully fixes it for me.

view this post on Zulip David Hay (Mar 13 2018 at 21:47):

is clean a switch?

view this post on Zulip Grahame Grieve (Mar 13 2018 at 21:48):

there's clean.bat, but that should have nothing to do with a build error

view this post on Zulip David Hay (Mar 13 2018 at 21:52):

and indeed, running clean.sh then publish.sh still failed. This seems the root error:

[java] Exception in thread "main" java.lang.NoSuchMethodError: org.hl7.fhir.r4.model.StructureDefinition.getBaseDefinitionElement()Lorg/hl7/fhir/r4/model/UriType;
[java]

view this post on Zulip Bryn Rhodes (Mar 13 2018 at 22:28):

I thought clean deleted things like compiled implementations, so they would be refreshed.

view this post on Zulip Grahame Grieve (Mar 13 2018 at 22:30):

no. it cleans out the output, but there's nothing in the output that is ever read

view this post on Zulip David Hay (Mar 13 2018 at 22:30):

Did a fresh check out in a new folder - still failing. I did get a message that the server had returned truncated headers, but issuing an 'svn update' seemed to work (in terms of downloading the files)...

view this post on Zulip David Hay (Mar 13 2018 at 22:31):

here's the error:
[java] FHIR build failure @ Wed, Mar 14, 2018 11:29+1300 0.701 13sec 176MB
[java] Error: Error Parsing Resource bundle: Example search-warning file '/Users/davidha/fhirbuild/build/source/bundle/bundle-search-warning.xml' not found parsing bundle-spreadsheet.xml
[java] java.lang.Exception: Error Parsing Resource bundle: Example search-warning file '/Users/davidha/fhirbuild/build/source/bundle/bundle-search-warning.xml' not found parsing bundle-spreadsheet.xml

view this post on Zulip David Hay (Mar 13 2018 at 22:32):

Could the repo be incomplete?

view this post on Zulip Grahame Grieve (Mar 13 2018 at 22:32):

sigh. update and try again

view this post on Zulip Rob Hausam (Mar 13 2018 at 22:34):

I use find . -name *.class -delete
that's helpful on some occasions

view this post on Zulip David Hay (Mar 13 2018 at 22:45):

sorry..
[java] WARNING @ fhir:ValueSetComparison: Duplicate Valueset Names: valueset-example-intensional.html (LOINC Codes for Cholesterol in Serum/Plasma) & valueset-example-expansion.html (LOINC Codes for Cholesterol in Serum/Plasma) (name: [loincs, plasmas, cholesterols, serums, ins] / [loincs, plasmas, cholesterols, serums, ins]))
[java] WARNING @ fhir:ValueSetComparison: Duplicate Valueset Definitions: valueset-example-intensional.html (LOINC Codes for Cholesterol in Serum/Plasma) & valueset-example-expansion.html (LOINC Codes for Cholesterol in Serum/Plasma) (description: [loincs, v236s, examples, ans, cholesterols, is, froms, serumplasmas, alls] / [loincs, v236s, examples, ans, cholesterols, is, froms, serumplasmas, alls])
[java] WARNING: Unable to create warnings file - one or more profiles-* files unavailable or invalid
[java] To determine the cause of the build failure, look in the log prior to the warning and information messages immediately above
[java] ERROR: Unable to process warnings: An empty sequence is not allowed as the value of variable $groups
[java] This was a Full Build 0.413 323sec 1719MB
[java] Error on line 14
[java] XTTE0570: An empty sequence is not allowed as the value of variable $groups
[java] in variable groups
[java] ; SystemID: ; Line#: 14; Column#: -1
[java] net.sf.saxon.trans.XPathException: An empty sequence is not allowed as the value of variable $groups

view this post on Zulip David Hay (Mar 13 2018 at 22:45):

(and lots of other warnings - I assume you don;t want them all...)

view this post on Zulip Grahame Grieve (Mar 13 2018 at 22:48):

you can build a lot quicker than I can


Last updated: Apr 12 2022 at 19:14 UTC