FHIR Chat · build failure · committers

Stream: committers

Topic: build failure


view this post on Zulip Paul Knapp (Mar 04 2016 at 17:26):

Any suggestions?
[java] ...sid us-ssn
0.006 354sec 1143MB
[java] ...check Fragments
0.006 354sec 1146MB
[java] [Fatal Error] :8:20: Invalid byte 2 of 3-byte UTF-8 sequence.
[java] ERROR: Unable to process warnings: Invalid byte 2 of 3-byte UTF-8
sequence.
[java] This was a Full Build
0.269 354sec 1165MB
[java] org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 20; Inva
lid byte 2 of 3-byte UTF-8 sequence.
[java] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[java] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Sour
ce)
[java] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:
121)
[java] at org.hl7.fhir.tools.publisher.Publisher.checkFragments(Publish
er.java:3558)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.
java:2114)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(P
ublisher.java:1912)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java
:610)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:46
1)

view this post on Zulip Grahame Grieve (Mar 05 2016 at 00:40):

which build version? I thought I had fixed this....

view this post on Zulip Paul Knapp (Mar 05 2016 at 12:08):

Building locally now, thanks.

view this post on Zulip Grahame Grieve (Mar 05 2016 at 20:27):

just for reference: /home/travis/build/hl7-fhir/fhir-svn/tools/java/org.hl7.fhir.tools.core/build.xml:90: Java returned: 137

The java returned 137 is where the build server runs out of memory

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 01:01):

Assuming this isn't my build failure Grahame...

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 02:46):

Yup, that's now mine. :(

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 03:21):

ok, new error found in the build. Think it's related to the new 2 codes that are in the status-codes spreadsheet, do I need to add values for the Path,@codes,@code headers for the new status types (that aren't in other statuses)

view this post on Zulip Grahame Grieve (Mar 15 2016 at 04:58):

yes

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 05:12):

(done)

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:22):

Hint on a build fail i'm getting. I've renamed a property, updated all the examples (thanks to the helpful messages in the build output) But now getting the issue right at the very end anyway.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:23):

Even thought it says Errors: 0 Warnings 142

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:23):

Just before it

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:23):

It did a full build, and still gets the issue.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:24):

Do I need to copy some java output files or something?

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:50):

 [java] Errors: 0 Warnings: 142 Hints: 860
 [java]
 [java] ===Resources with FMM forced to 0===
 [java]  11.374 605sec 1342MB
 [java] This was a Full Build                                                      5.134 610sec 1342MB
 [java] FHIR build failure @ Tue, Mar 15, 2016 19:20+1100                           1.95 612sec 1342MB
 [java] Error: Unexpected element at Practitioner.practitionerRole.managingOrganization
 [java] java.lang.Exception: Unexpected element at Practitioner.practitionerRole.managingOrganization
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parseChildren(XmlParser.java:97)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parseChildren(XmlParser.java:89)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parseResource(XmlParser.java:116)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parseChildren(XmlParser.java:87)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parseChildren(XmlParser.java:89)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parse(XmlParser.java:56)
 [java]     at org.hl7.fhir.dstu3.metamodel.XmlParser.parse(XmlParser.java:45)
 [java]     at org.hl7.fhir.dstu3.metamodel.Manager.parse(Manager.java:14)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:3583)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.produceConformancePackage(Publisher.java:3949)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:3251)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2053)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1907)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:611)
 [java]     at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:463)
 [java] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=768m; support was removed in 8.0

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 08:50):

The above is the error that I'm seeing right at the end.

view this post on Zulip Grahame Grieve (Mar 15 2016 at 09:32):

no you don't need to copy files any more for that. The only time you need to copy files is if you are changing a conformance resource

view this post on Zulip Grahame Grieve (Mar 15 2016 at 09:32):

is that an unexpected element?

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 09:34):

I fixed all the locations that it complained about, but the message still comes up at the end.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 09:34):

That is the old name for the element coming up in the message

view this post on Zulip Grahame Grieve (Mar 15 2016 at 09:34):

you also looked in \guides as well as \source?

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 09:35):

Updated 8 files in the guides that were reported as issues.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 09:36):

Think there could be another in there that isn't reporting its location correctly?

view this post on Zulip Grahame Grieve (Mar 15 2016 at 09:37):

well, it looks like it's in the guides

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 09:37):

ok, if I find where it is, will let you know so the error message can be fixed to say the filename.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 10:01):

Error was in Argonaut-provider.xml which was not reported in the error message.

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 10:01):

Now to commit and hold my breath to see if it passes.

view this post on Zulip Grahame Grieve (Mar 15 2016 at 10:02):

you can make a task for that ;-)

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 10:07):

Didn't commit the change to Practitioner.Java, so will see if that was required ;)

view this post on Zulip Brian Postlethwaite (Mar 15 2016 at 10:33):

ok, that made things much worse.

view this post on Zulip Melva Peters (Jan 23 2017 at 16:44):

@Eric Haas any idea when you will solve the build failure? I have changes to commit. TIA

view this post on Zulip Eric Haas (Jan 23 2017 at 17:39):

Just committed a fix

view this post on Zulip Michelle (Moseman) Miller (Mar 31 2019 at 20:17):

My local build is failing when I try to build a fresh pull from master (without any changes applied).

Publisher:
[java] Publish FHIR in folder C:\HL7\fhir @ Sun, Mar 31, 2019 15:07-0500 0.02 0sec 28MB
[java] Build local copy 0.02 0sec 28MB
[java] Detected Java version: 1.8.0_65 from C:\Program Files\java\jdk1.8.0_65\jre on amd64 0.0 0sec 28MB
[java] Load Terminology Cache from C:\HL7\fhir\vscache 4.427 4sec 95MB
[java] .. loaded 2.571 7sec 453MB
[java] Checking Source for C:\HL7\fhir 0.01 7sec 453MB
[java] Partial Build (if you want a full build, just run the build again) 3.124 10sec 126MB
[java] Build: procedure 0.0 10sec 126MB
[java] Version 4.1.0-5e58f11778
[java] Load Loinc 0.69 10sec 126MB
[java] Loading 0.604 11sec 232MB
[java] Load Common Bindings 0.02 11sec 232MB
[java] Exception in thread "main" java.lang.NoSuchMethodError: org.hl7.fhir.definitions.model.BindingSpecification.getValueSet()Lorg/hl7/fhir/r4/model/ValueSet;
[java] at org.hl7.fhir.definitions.generators.specification.BaseGenerator.getBindingLink(BaseGenerator.java:18)
[java] at org.hl7.fhir.definitions.generators.specification.BaseGenerator.getBindingLink(BaseGenerator.java:14)
[java] at org.hl7.fhir.definitions.generators.specification.TableGenerator.genElement(TableGenerator.java:146)
[java] at org.hl7.fhir.definitions.generators.specification.TableGenerator.genElement(TableGenerator.java:263)
[java] at org.hl7.fhir.definitions.generators.specification.DataTypeTableGenerator.generate(DataTypeTableGenerator.java:20)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.genTypeProfile(SourceParser.java:1029)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.loadCompositeType(SourceParser.java:1056)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:221)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:591)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
[java] Picked up JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF-8"

BUILD FAILED
C:\HL7\fhir\build.xml:30: The following error occurred while executing this line:
C:\HL7\fhir\tools\java\org.hl7.fhir.tools.core\build.xml:81: Java returned: 1

view this post on Zulip Grahame Grieve (Mar 31 2019 at 20:23):

run clean.bat and try again


Last updated: Apr 12 2022 at 19:14 UTC