Stream: committers
Topic: Build error
Rick Geimer (Mar 17 2016 at 15:59):
Grahame,
This is the error I get:
[java] Error: unable to find base definition for ccda-us-realm-header-composition [java] java.lang.Exception: unable to find base definition for ccda-us-realm-header-composition [java] at org.hl7.fhir.tools.publisher.Publisher.getSnapShotForProfile(Publisher.java:966) [java] at org.hl7.fhir.tools.publisher.Publisher.processProfile(Publisher.java:941) [java] at org.hl7.fhir.tools.publisher.Publisher.processProfiles(Publisher.java:808) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:607) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:463)
ccda-us-realm-header-composition.xml is in the same folder as ccda-ccd-composition.xml, both are in the ccda.xml ImplementationGuide resource (with the US Realm Header listed first).
To see this for yourself, open guides/ccda/StructureDefinition/ccda-ccd-composition.xml and uncomment the base reference to the US Realm Header, then run the build.
I'm hoping this is a stupid mistake somewhere on my part.
Rick
Michelle (Moseman) Miller (Mar 22 2016 at 22:08):
Any idea why I can execute a local build successfully (via publish.bat), but then get a build failure from TravisCI? Shouldn't the same validation occur locally when I build?
Specifically, I never got the following error when I built locally.
ERROR @ CareTeam.status An element of type code must have a binding (src = ResourceValidator)
I understand the error and next steps needed, but was surprised that my local build ran successfully and didn't report this error.
Grahame Grieve (Mar 22 2016 at 22:10):
there's a problem with partial builds, in that they don't have access to all the vocabulary to do vocabulary testing. So some vocab errors aren't picked up by a partial build
Rob Hausam (Apr 14 2016 at 14:52):
I've been getting these errors in my local build for a while (even after multiple svn updates and complete wipes and refreshes):
[java] ERROR @ fm:ValueSet[related-claim-relationship].compose.include[1] The system 'http://hl7.org/fhir/ex-relatedclaimrelationship' is not valid [java] ERROR @ fm:ValueSet[provider-qualification].compose.include[1] The system 'http://hl7.org/fhir/ex-providerqualification' is not valid [java] ERROR @ fm:ValueSet[service-modifiers].compose.include[1] The system 'http://hl7.org/fhir/ex-servicemodifier' is not valid [java] ERROR @ fm:ValueSet[vision-product].compose.include[1] The system 'http://hl7.org/fhir/ex-visionprescriptionproduct' is not valid [java] ERROR @ fm:ValueSet[occurrence-codes].compose.include[1] The system 'http://hl7.org/fhir/ex-claimoccurrance' is not valid [java] ERROR @ fm:ValueSet[icd-10-procedures].compose.include[1] The system 'http://hl7.org/fhir/sid/ex-icd-10-procedures' is not valid [java] ERROR @ fm:ValueSet[occurrence-span-codes].compose.include[1] The system 'http://hl7.org/fhir/ex-claimoccurrancespan' is not valid [java] ERROR @ fm:ValueSet[value-codes].compose.include[1] The system 'http://hl7.org/fhir/ex-claimvalue' is not valid [java] Didn't publish FHIR due to errors @ Thu, Apr 14, 2016 08:06-0600 2.676 22sec 387MB [java] java.lang.Exception: Errors executing build. Details logged. [java] at org.hl7.fhir.tools.publisher.Publisher.checkAllOk(Publisher.java:1590) [java] at org.hl7.fhir.tools.publisher.Publisher.validate(Publisher.java:1576) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:604) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:458) [java] ERROR: Unable to process warnings: Errors executing build. Details logged. [java] This was a Full Build 0.182 23sec 406MB [java] java.lang.Exception: Errors executing build. Details logged. [java] at org.hl7.fhir.tools.publisher.Publisher.checkAllOk(Publisher.java:1590) [java] at org.hl7.fhir.tools.publisher.Publisher.validate(Publisher.java:1576) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:604) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:458) [java] FHIR build failure @ Thu, Apr 14, 2016 08:06-0600 4.594 27sec 406MB [java] Error: Errors executing build. Details logged.
BUILD FAILED
/home/rhausam/fhir_build/build.xml:30: The following error occurred while executing this line:
/home/rhausam/fhir_build/tools/java/org.hl7.fhir.tools.core/build.xml:90: Java returned: 1
I haven't found any particular obvious issues that are causing it. Suggestions about where and how to further track down the source of the errors and fix them are welcome. The build is running on Ubuntu Linux 15.10 with Oracle JDK version 1.8.0_77 and Ant version 1.9.6.
Lloyd McKenzie (Apr 14 2016 at 14:55):
I have an outstanding issue that Questionnaire fails to build if the FMM level is set to > 0 due to warnings - except there are no warnings spit out in the log.
Bryn Rhodes (Apr 16 2016 at 21:09):
Am I okay to commit to the build event though it is currently failing?
Bryn Rhodes (Apr 16 2016 at 21:10):
I have reverted to a few commits ago to get a successful local build, and the content I'm committing builds successfully and is completely unrelated to what I think is the reason for the failure.
Grahame Grieve (Apr 16 2016 at 21:11):
what are you committing?
Grahame Grieve (Apr 16 2016 at 21:11):
the failing build is occupying all my attention right now, but it's proven a loooong piece of string
Bryn Rhodes (Apr 16 2016 at 21:11):
An IG for CQIF related content.
Bryn Rhodes (Apr 16 2016 at 21:12):
Is there anything I can do to help?
Grahame Grieve (Apr 16 2016 at 21:12):
no. I'm testing out the edges of the refactored validator (for performance), and then I'm going to work through all the new validation errors in the build (if there's any left)
Rob Hausam (Apr 16 2016 at 21:16):
I was finally able to resolve my build problem by deleting the directory and re-checking out revision 8177
I'm not sure why that was necessary, but it worked
I'll probably stick with that until the build is succeeding again
Bryn Rhodes (Apr 16 2016 at 21:17):
Okay, thanks Grahame, I'll keep the changes local.
Grahame Grieve (Apr 16 2016 at 21:18):
ok. I should be another day
Grahame Grieve (Apr 17 2016 at 22:04):
right. this time, I think I've fixed it.
Grahame Grieve (Apr 17 2016 at 22:04):
and it should be a fair bit faster too
Rick Geimer (Apr 20 2016 at 19:56):
Can someone help me hunt down this error with my local build?
[java] Errors: 0 Warnings: 149 Hints: 1132 [java] [java] ===Resources with FMM forced to 0=== [java] 7.7 936sec 1335MB [java] This was a Full Build 0.161 936sec 1342MB [java] FHIR build failure @ Wed, Apr 20, 2016 12:13-0700 0.776 937sec 1342MB [java] Error: not the right kind of structure to generate schematrons for [java] org.hl7.fhir.dstu3.exceptions.DefinitionException: not the right kind of structure to generate schematrons for [java] at org.hl7.fhir.dstu3.utils.ProfileUtilities.generateSchematrons(ProfileUtilities.java:2049) [java] at org.hl7.fhir.tools.publisher.Publisher.produceProfile(Publisher.java:4094) [java] at org.hl7.fhir.tools.publisher.Publisher.produceConformancePackage(Publisher.java:3981) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2115) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1915) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:610) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:459)
First line says "Errors: 0", which implies the build should be successful, but then it fails on Schematron generation without giving a hint about what resource is lacking the "right kind of structure".
Grahame Grieve (Apr 20 2016 at 20:00):
according to the code, you've got a structure definition that you've configured as a profile, but internally, it's not declaring itself as a constraint on something
Rick Geimer (Apr 20 2016 at 20:04):
Like so?
<baseType value="Composition" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Composition"/>
Rick Geimer (Apr 20 2016 at 20:06):
Or is it because I am missing this?
<derivation value="constraint"/>
Rick Geimer (Apr 20 2016 at 20:44):
Actually adding the derivation element did the trick. Thanks for the hint.
Keith Boone (May 05 2016 at 12:35):
Just deleted my build directory, checked out everything from scratch and ran the build again, after I couldn't get it synced.
Keith Boone (May 05 2016 at 12:35):
[java] Error: Source CDA/cda-logical-RTO.PQ.PQ.xml resource in package CCDA Package in IG C-CDA on FHIR could not be located @ C:\hl7\FHIR\build\guides\ccda\CDA\cda-logical-RTO.PQ.PQ.xml [java] java.lang.Exception: Source CDA/cda-logical-RTO.PQ.PQ.xml resource in package CCDA Package in IG C-CDA on FHIR could not be located @ C:\hl7\FHIR\build\guides\ccda\CDA\cda-logical-RTO.PQ.PQ.xml [java] at org.hl7.fhir.definitions.parsers.IgParser.load(IgParser.java:124) [java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:253) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:581) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:459) [java] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=768m; support was removed in 8.0
Keith Boone (May 05 2016 at 12:36):
Any ideas?
Grahame Grieve (May 05 2016 at 13:04):
oh
Grahame Grieve (May 05 2016 at 13:05):
update and try again
Keith Boone (May 05 2016 at 13:07):
Will do so after my build with ccda commented out in igs.xml finishes.
Keith Boone (May 05 2016 at 13:07):
some 60 minutes from now...
Harold Solbrig (May 11 2016 at 09:49):
Not sure exactly what happened. I fixed a build error and travis seems to have stopped doing anything...
Eric Haas (May 21 2016 at 06:52):
getting error using loinc answer codes...
Eric Haas (May 21 2016 at 06:52):
[java] Summary: Errors=10, Warnings=4857, Hints=7358
[java] ERROR @ Observation.component[1].valueCodeableConcept.coding[1] (line 0, col0) observation-example-20minute-apgar-score:: Observation.component[1].valueCodeableConcept.coding[1]: Error validating code "LA6724-4" in system "http://loinc.org": Error unmarshalling resource: Unknown operation ValueSet/$lookup (src = InstanceValidator)
[java] ERROR @ Observation.component[2].valueCodeableConcept.coding[1] (line 0, col0) observation-example-20minute-apgar-score:: Observation.component[2].valueCodeableConcept.coding[1]: Error validating code "LA6718-6" in system "http://loinc.org": Error unmarshalling resource: Unknown operation ValueSet/$lookup (src = InstanceValidator)
[java] ERROR @ Observation.component[3].valueCodeableConcept.coding[1] (line 0, col0) observation-example-20minute-apgar-score:: Observation.component[3].valueCodeableConcept.coding[1]: Error validating code "LA6721-0" in system "http://loinc.org": Error unmarshalling resource: Unknown operation ValueSet/$lookup (src = InstanceValidator)
[java] ERROR @ Observation.component[4].valueCodeableConcept.coding[1] (line 0, col0) observation-example-20minute-apgar-score:: Observation.component[4].valueCodeableConcept.coding[1]: Error validating code "LA6715-2" in system "http://loinc.org": Error unmarshalling resource: Unknown operation ValueSet/$lookup (src = InstanceValidator)
[java] ERROR @ Observation.component[5].valueCodeableConcept.coding[1] (line 0, col0) observation-example-20minute-apgar-score:: Observation.component[5].valueCodeableConcept.coding[1]: Error validating code "LA6727-7" in system "http://loinc.org": Error unmarshalling resource: Unknown operation ValueSet/$lookup (src = InstanceValidator)
[java] This was a Full Build 21.927 1776sec 1425MB
Eric Haas (May 21 2016 at 06:55):
already have some loinc answer codes in other examples don't remember whether same issue cropped up then.
Grahame Grieve (May 22 2016 at 02:40):
@Eric Haas I think I fixed this in the last commit - try again
Eric Haas (May 22 2016 at 02:42):
Here is another one. partial build was fine but this popped up on the full build...
Eric Haas (May 22 2016 at 02:42):
[java] ERROR @ valuesets (line 229056, col18) cvc-complex-type.2.4.b: The content of element 'ul' is not complete. One of '{"http://www.w3.org/1999/xhtml":li}' is expected. (src = InstanceValidator)
Grahame Grieve (May 22 2016 at 02:43):
can you look at line 229056 and tell me what's there?
Eric Haas (May 22 2016 at 02:43):
I'm trying to search for and xhtml with an empty <ul>
Eric Haas (May 22 2016 at 02:58):
I found it. let me see if I can fix this. no codesystems are showing up probably because I made some sham ones to wrork around the LOINC validation issue.
Eric Haas (May 22 2016 at 06:48):
I'm running into an issue with how to creata a heirarchical value set based on multiple code systems.. I thought maybe a "manual" expansion but then the build generated narrative causes the above error. So I guess I could hand generate the narrative but want to know if this is a kosher VSD?
Grahame Grieve (May 22 2016 at 07:28):
the build doesn't do heirarchical expansions
Grahame Grieve (May 22 2016 at 07:28):
is that what you mean?
Eric Haas (May 22 2016 at 14:13):
I mean this specifically...
Eric Haas (May 22 2016 at 14:14):
... <contains>
<system value="http://snomed.info/sct"/>
<code value="249223000"/>
<display value="Apgar heart rate score"/>
<contains>
<system value="http://loinc.org"/>
<code value="32407-9"/>
<display value="1 minute Apgar Heart Rate"/>
</contains>
<contains>
<system value="http://loinc.org"/>
<code value="32412-9"/>
<display value="5 minute Apgar Heart Rate"/>
</contains>
<contains>
<system value="http://loinc.org"/>
<code value="32402-0"/>
<display value="10 minute Apgar Heart Rate"/>
</contains>
</contains>
</expansion>
</ValueSet
Grahame Grieve (May 22 2016 at 16:16):
so that html validation error is caused by that manual expansion?
Eric Haas (May 22 2016 at 18:36):
I converted it to a flat list for now. I'm getting all kinds of strange build error from that last update. I will rebuild from scratch.
Eric Haas (May 22 2016 at 20:46):
I keep getting this new error even after rebuidling from scratch...
Eric Haas (May 22 2016 at 20:46):
[java] ERROR @ profiles-types (line 2376, col44) cvc-enumeration-valid: Value 'xhtml' is not facet-valid with respect to enumeration '[xmlAttr, xmlText, typeAttr, cdaText]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ profiles-types (line 2376, col44) cvc-attribute.3: The value 'xhtml' of attribute 'value' on element 'representation' is not valid with respect to its type, 'PropertyRepresentation-list'. (src = InstanceValidator) [java] ERROR @ profiles-types (line 2410, col44) cvc-enumeration-valid: Value 'xhtml' is not facet-valid with respect to enumeration '[xmlAttr, xmlText, typeAttr, cdaText]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ profiles-types (line 2410, col44) cvc-attribute.3: The value 'xhtml' of attribute 'value' on element 'representation' is not valid with respect to its type, 'PropertyRepresentation-list'. (src = InstanceValidator) [java] ERROR @ profiles-types (line 2432, col44) cvc-enumeration-valid: Value 'xhtml' is not facet-valid with respect to enumeration '[xmlAttr, xmlText, typeAttr, cdaText]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ profiles-types (line 2432, col44) cvc-attribute.3: The value 'xhtml' of attribute 'value' on element 'representation' is not valid with respect to its type, 'PropertyRepresentation-list'. (src = InstanceValidator) [java] ERROR @ dataelements (line 978, col42) cvc-enumeration-valid: Value 'xhtml' is not facet-valid with respect to enumeration '[xmlAttr, xmlText, typeAttr, cdaText]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ dataelements (line 978, col42) cvc-attribute.3: The value 'xhtml' of attribute 'value' on element 'representation' is not valid with respect to its type, 'PropertyRepresentation-list'. (src = InstanceValidator)
Eric Haas (May 22 2016 at 20:47):
revision 8364
Grahame Grieve (May 23 2016 at 00:50):
should be fixed in my latest commit
Paul Knapp (May 25 2016 at 12:15):
Why does the build give the following error '[java] INFORMATION: Claim.created: Search Parameter 'Claim.created' had n
o found values in any example. Consider reviewing the path (f:Claim/f:created)' when every example contains that element? If we can solve this issue then that will solve several other similar cases.
Grahame Grieve (May 25 2016 at 21:24):
I'll investigate but it won't be a for few weeks
Grahame Grieve (May 25 2016 at 21:24):
working on infrastructure stuff at the moment
Gaston Fiore (May 26 2016 at 20:27):
The build is broken again it seems:
[java] Exception in thread "main" java.lang.NoSuchMethodError: org.hl7.fhir.dstu3.model.CodeSystem.addUseContext(Lorg/hl7/fhir/dstu3/model/CodeableConcept;)Lorg/hl7/fhir/dstu3/model/CodeSystem; [java] at org.hl7.fhir.tools.converters.CodeSystemConvertor.populate(CodeSystemConvertor.java:70) [java] at org.hl7.fhir.tools.converters.CodeSystemConvertor.convert(CodeSystemConvertor.java:33) [java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.loadValueSet(SpreadsheetParser.java:1226) [java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.readBindings(SpreadsheetParser.java:1117) [java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseCommonTypeColumns(SpreadsheetParser.java:253) [java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseResource(SpreadsheetParser.java:393) [java] at org.hl7.fhir.definitions.parsers.SourceParser.loadResource(SourceParser.java:795) [java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:213) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:590) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:468) BUILD FAILED /Users/gafiore/code/fhir-temp/build/build.xml:30: The following error occurred while executing this line: /Users/gafiore/code/fhir-temp/build/tools/java/org.hl7.fhir.tools.core/build.xml:90: Java returned: 1
Gaston Fiore (May 26 2016 at 21:58):
It seems the culprits were the class files again...
Grahame Grieve (May 26 2016 at 22:28):
you're ant build is consistently not refreshing class files...
Rob Hausam (Jun 01 2016 at 21:21):
I'm getting the same error - so what's the fix?
Rob Hausam (Jun 01 2016 at 21:23):
on Oracle Java 1.8.0_91
Grahame Grieve (Jun 01 2016 at 21:29):
I'm trying to figure out why I don't get the same error :-(
Rob Hausam (Jun 01 2016 at 23:55):
Updated to @8436, but still get the same error - any thoughts on that so far?
Grahame Grieve (Jun 02 2016 at 00:07):
what error?
Rob Hausam (Jun 02 2016 at 00:24):
the same one that Gaston Fiore posted on the 26th
I'll post again
Rob Hausam (Jun 02 2016 at 00:25):
Publisher:
[java] Publish FHIR in folder /home/rhausam/fhir_trunk/build @ Wed, Jun 1, 2016 17:54-0600 0.011 0sec 14MB
[java] Build local copy 0.002 0sec 14MB
[java] Checking Source for /home/rhausam/fhir_trunk/build 6.368 6sec 464MB
[java] Version 1.4.0-8436
[java] Full Build 0.904 7sec 503MB
[java] Load Loinc 0.141 7sec 506MB
[java] Loading 0.274 7sec 89MB
[java] Load Concept Domains 0.022 7sec 89MB
[java] Load Resources 0.801 8sec 619MB
[java] Exception in thread "main" java.lang.NoSuchMethodError: org.hl7.fhir.dstu3.model.CodeSystem.addUseContext(Lorg/hl7/fhir/dstu3/model/CodeableConcept;)Lorg/hl7/fhir/dstu3/model/CodeSystem;
[java] at org.hl7.fhir.tools.converters.CodeSystemConvertor.populate(CodeSystemConvertor.java:70)
[java] at org.hl7.fhir.tools.converters.CodeSystemConvertor.convert(CodeSystemConvertor.java:33)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.loadValueSet(SpreadsheetParser.java:1226)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.readBindings(SpreadsheetParser.java:1117)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseCommonTypeColumns(SpreadsheetParser.java:253)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseResource(SpreadsheetParser.java:393)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.loadResource(SourceParser.java:795)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:213)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:591)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:469)
BUILD FAILED
/home/rhausam/fhir_trunk/build/build.xml:30: The following error occurred while executing this line:
/home/rhausam/fhir_trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:90: Java returned: 1
Total time: 16 seconds
Grahame Grieve (Jun 02 2016 at 00:27):
try deleting all your class files
Brian Postlethwaite (Jun 07 2016 at 12:31):
Is the current build failure being addressed? (My local build is failing to)
Brian Postlethwaite (Jul 11 2016 at 06:16):
Changing a binding from a local FHIR valueset to a v2 binding (extensible) and having issues that its failing the build and looking for the old valueset name.
Is there somewhere else that the valueset name is registered other than the binding in the resource spreadsheet?
http://hl7.org/fhir/ValueSet/patient-contact-relationship
is what it is still looking for, even though I don't bind to it anymore from anywhere (though there are examples still)
Grahame Grieve (Jul 11 2016 at 06:17):
where is it looking for it?
Brian Postlethwaite (Jul 11 2016 at 06:18):
That's what I can't work out, just is doing the processing valuesets step, then gives this error at the end.
Grahame Grieve (Jul 11 2016 at 06:18):
Where does the build get up to?
Brian Postlethwaite (Jul 11 2016 at 06:22):
Loading Profiles
......
...value sets
Brian Postlethwaite (Jul 11 2016 at 06:23):
FHIR build failure @ Mon, Jul 11, 2016 16:19+1000 1.469 39sec 757MB
[java] at org.hl7.fhir.tools.publisher.Publisher.loadValueSets1(Publisher.java:1138)
[java] Error: unable to resolve value set http://hl7.org/fhir/ValueSet/patient-contact-relationship
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:614)
Grahame Grieve (Jul 11 2016 at 06:28):
that suggests there's still a reference to it
Grahame Grieve (Jul 11 2016 at 06:29):
I see one in RelatedPerson
Brian Postlethwaite (Jul 11 2016 at 06:32):
I changed that one to include to reference the V2 code system.
<include> <system value="http://hl7.org/fhir/v2/0131"/> </include>
Grahame Grieve (Jul 11 2016 at 06:39):
well, you might as well commit with it broken, since the build is broken and the ci is far far behinf
Grahame Grieve (Jul 11 2016 at 06:39):
and I'll have a look
Brian Postlethwaite (Jul 11 2016 at 06:46):
Could it be a cached valueset thing (and a clean might fix it)
Brian Postlethwaite (Jul 11 2016 at 06:49):
Got it. Its coming from profiles!
Should be able to go through them too.
(Knew it was going to be dome painful changes today)
Brian Postlethwaite (Jul 11 2016 at 06:49):
Then the examples, yuk.
Brian Postlethwaite (Jul 11 2016 at 06:50):
This is the pain we get for changing the core resource like this...
Better now though.
Brian Postlethwaite (Jul 12 2016 at 02:28):
Current build error, is this something you are working on in the tooling Grahame?
Grahame Grieve (Jul 12 2016 at 03:02):
Lloyd is looking at it, hopefully
Lloyd McKenzie (Jul 12 2016 at 03:21):
Most recent commit should have it fixed
Brian Postlethwaite (Jul 12 2016 at 03:33):
Thanks Lloyd
Brian Postlethwaite (Jul 15 2016 at 02:48):
Wondering if we should be doing anything with messages like this during QA
INFORMATION: pa:CodeSystem[animal-breeds].define[0]: Code System 'http://hl7.org/fhir/animal-breed' has a code without a definition ('gsd')
The code in question has a code and display, should we expect to have more detail in there for the definition.
(for these ones, just the display would be adequate definition I think)
Brian Postlethwaite (Jul 15 2016 at 02:49):
<concept> <code value="gsd"/> <display value="German Shepherd Dog"/> <designation> ... </designation> </concept>
Brian Postlethwaite (Jul 15 2016 at 02:49):
It's also just an example set bound.
Brian Postlethwaite (Jul 15 2016 at 02:52):
Actually, this specific codesystem is no longer used, the example valueset now binds directly to appropriate SNOMED sections.
But I do have other examples with this issue to deal with.
Grahame Grieve (Jul 15 2016 at 03:07):
well, you should provide a definition, even if it's just an example. You don't need any designations
Grahame Grieve (Jul 15 2016 at 03:08):
if the display is a suitable definition, you can make it so. but the tool shouldn't decide that on it's own
Eric Haas (Jul 16 2016 at 03:15):
I'm getting this after running an update to revision 8988. on my build:
"java.lang.Exception: Unable to find structure daf-patient"
my previous build was successful prior to the update.
Eric Haas (Jul 16 2016 at 03:18):
Complete mystery where this came from. I had renamed NutritionOrder to NutritionRequest and every going smoothly til now. previous update 8940
Bryn Rhodes (Jul 16 2016 at 03:23):
I'm on 8987 and running fine. Might need to clear your local binaries to reset? 8940 was a while ago.
Eric Haas (Jul 16 2016 at 03:26):
8940 was the last good CI yesterday! :-)
I'll try that though
Eric Haas (Jul 16 2016 at 03:31):
does anybody know if the build is validating the guides since they are going to be separated from the build. I have not bothered updating them.
Grahame Grieve (Jul 16 2016 at 05:21):
the build is not validating the guides as of yesterday
Eric Haas (Jul 16 2016 at 09:38):
stuck on removing Order/OrderResponse:
[java] Exception in thread "main" java.lang.Error: unable to find import for class FluentPathTests.java: org.hl7.fhir.dstu3.model.Order. committed
Grahame Grieve (Jul 16 2016 at 10:06):
ok removed
Eric Haas (Jul 16 2016 at 13:51):
thank you.
Ewout Kramer (Jul 18 2016 at 08:20):
" [java] ERROR @ Communication Resource Communication in compartment encounter: parameter encounter was not found (encounter) (src = ResourceValidator)
[java] Didn't publish FHIR due to errors @ Mon, Jul 18, 2016 10:18+0200 2.423 39sec 505MB
[java]"
This seems so prevent me from building... anything I can do about that?
Lloyd McKenzie (Jul 18 2016 at 08:28):
You can do an update if you want a newer error . . . I've just checked in something that will hopefully fix the most recent issue - and perhaps the last one.
David Hay (Jul 21 2016 at 19:32):
build error after update:
build-project:
[echo] org.hl7.fhir.dstu21: /Users/davidha/fhir/build/tools/java/org.hl7.fhir.dstu3/build.xml
[javac] Compiling 3 source files to /Users/davidha/fhir/build/tools/java/org.hl7.fhir.dstu3/bin
[javac] /Users/davidha/fhir/build/tools/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/utils/ProfileUtilities.java:1555: error: method addImage in class HierarchicalTableGenerator.Cell cannot be applied to given types;
[javac] checkForNoChange(element.getIsModifierElement(), gc.addImage(imagePath+"modifier.png", "This element is a modifier element", "?!", null, null));
[javac] ^
[javac] required: String,String,String
[javac] found: String,String,String,<null>,<null>
[javac] reason: actual and formal argument lists differ in length
(was working a couple of days ago)
Alexander Henket (Jul 21 2016 at 19:43):
@David Hay my solution for this type of thing is to ditch the implementation/java and tools/java directories, then do svn update, and try publish again. Usually that fixes this type of thing
Grahame Grieve (Jul 21 2016 at 19:51):
it's quicker just to delete all the class files. The problem is that the ant compile doesn't always recompile everything that has changed
Alexander Henket (Jul 21 2016 at 19:52):
I think you can do that using "publish clean" as there is an ant target for it, no?
Alexander Henket (Jul 21 2016 at 20:16):
Just updated everything again:
BUILD SUCCESSFUL
Total time: 12 minutes 51 seconds (hooray for SSD)
So that is a sure indicator that you (David) should delete those class files or refresh implementation/java and tools/java.
David Hay (Jul 22 2016 at 02:25):
just doing that now - seems to be working...
David Hay (Jul 22 2016 at 03:18):
yep - all good. thanks!
Lloyd McKenzie (Jul 25 2016 at 22:48):
I'm getting this:
Error: Error Parsing Resource observation: Unknown Content hierarchyMeaning @ START_TAG seen ...aseSensitive value="true"/>\n <hierarchyMeaning value="subsumes"/>... @11:39
java.lang.Exception: Error Parsing Resource observation: Unknown Content hierarchyMeaning @ START_TAG seen ...aseSensitive value="true"/>\n <hierarchyMeaning value="subsumes"/>... @11:39
at org.hl7.fhir.definitions.parsers.SourceParser.loadResource(SourceParser.java:808)
at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:216)
at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:596)
at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:474)
Caused by: org.hl7.fhir.dstu3.exceptions.FHIRFormatError: Unknown Content hierarchyMeaning @ START_TAG seen ...aseSensitive value="true"/>\n <hierarchyMeaning value="subsumes"/>... @11:39
at org.hl7.fhir.dstu3.formats.XmlParserBase.unknownContent(XmlParserBase.java:270)
Lloyd McKenzie (Jul 25 2016 at 22:48):
I've deleted all .class files & wiped my temp folder.
Lloyd McKenzie (Jul 25 2016 at 22:49):
I see hierarchy meaning in the CodeSystem spreadsheet
Lloyd McKenzie (Jul 25 2016 at 22:50):
My only uncommitted changes are updating an html file and adding "request" and "definition" as logical models, which should be totally independent . . .
Rob Hausam (Jul 25 2016 at 22:50):
yes - it was just decided last week and presumably Grahame has added it (I hadn't checked)
Lloyd McKenzie (Jul 25 2016 at 22:54):
I'm fine with the change, I'm just not sure why it's blowing up my build when it's not blowing up the CI build.
Rob Hausam (Jul 25 2016 at 22:54):
right - I just built with your latest @9264 changes, and it was successful for me
Grahame Grieve (Jul 26 2016 at 00:03):
Lloyd, try deleting class files
Grahame Grieve (Jul 26 2016 at 00:03):
and make sure you update build not source
Lloyd McKenzie (Jul 26 2016 at 02:17):
updating source, not build was my issue. Thank you
Eric Haas (Jul 26 2016 at 19:00):
trying to add back the examples to DiagnosticRequest. The validator is error on the value 'original-order' in .stage. Seems like the validator isn't recognizing the new codes..
Grahame Grieve (Jul 26 2016 at 20:25):
validation in the build?
Eric Haas (Jul 26 2016 at 20:31):
local build. lemme update and run a full build again.
Eric Haas (Jul 26 2016 at 21:02):
there is typo in the codesystem :-/
Jacob Reid (Jul 28 2016 at 18:21):
Is anyone else having this problem or know what is causing it?
BUILD FAILED
c:\dev\FHIR\build.xml:30: The following error occurred while executing this line:
c:\dev\FHIR\tools\java\org.hl7.fhir.tools.core\build.xml:123: Java returned: 1
Total time: 2 minutes 26 secondsbuild_output.txt
Lloyd McKenzie (Jul 28 2016 at 18:51):
Try doing an update, then a clean and see if that helps
Jacob Reid (Jul 28 2016 at 20:24):
I have tried that...
Grahame Grieve (Jul 28 2016 at 20:26):
you need to post the log from the build to give us any idea what the problem is
Bryn Rhodes (Jul 28 2016 at 20:27):
It's linked in the OP, does that build_output not show up as a link for you?
Grahame Grieve (Jul 28 2016 at 20:28):
ah missed that
Grahame Grieve (Jul 28 2016 at 20:28):
hmm. that's a problem error
Rick Geimer (Jul 29 2016 at 15:07):
Anyone know why this is showing up? Getting the same problem across multiple machines and people.
[java] ...vocab #1 0.001 38sec 177MB
[java] ==============!! Running without terminology server !!==============
[java] ...code systems 3.947 42sec 490MB
...
[java] This was a Full Build 0.029 48sec 660MB
[java] java.lang.NullPointerException
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.generateEnum(XSDBaseGenerator.java:549)
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.genStructure(XSDBaseGenerator.java:534)
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.generate(XSDBaseGenerator.java:127)
[java] at org.hl7.fhir.definitions.generators.xsd.SchemaGenerator.generate(SchemaGenerator.java:72)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1914)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:625)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:474)
[java] FHIR build failure @ Fri, Jul 29, 2016 08:05-0700 2.189 50sec 662MB
[java] Error: null
BUILD FAILED
Bryn Rhodes (Jul 29 2016 at 15:09):
Don't know but have seen it. Tried everything to get past it and gave up on that machine. Exact same error though. What environment are you running?
Rick Geimer (Jul 29 2016 at 15:11):
Windows 10, java 1.8.0_91. This is after a clean checkout from gforge too.
Rick Geimer (Jul 29 2016 at 15:12):
4 people at Lantana are getting this same error. No one can run the build locally.
Bryn Rhodes (Jul 29 2016 at 15:12):
Yep, that's exactly what we're seeing, Windows 10, java 1.8.0_60 and 1.8.0_73.
Bryn Rhodes (Jul 29 2016 at 15:13):
It runs fine for me, but others can't run it. I've verified all the dependencies in the output log too, no differences.
Rick Geimer (Jul 29 2016 at 15:14):
Lovely...:(
Bryn Rhodes (Jul 29 2016 at 15:42):
Looking at where that exception is happening in the generator, it's trying to get the expansion for a value set, so I wonder if it's related to the valueset cache and that's why it works on some machines and not others. I'll try that with the problem environment I'm having and let you know.
Bryn Rhodes (Jul 29 2016 at 17:25):
So, it's definitely something to do with building up the VS cache. If I use my local vs cache, then we're able to get past the error.
Bryn Rhodes (Jul 29 2016 at 17:25):
Here's a link to my vscache as a zip: https://www.dropbox.com/s/olh3fqeag89wtr8/vscache.zip?dl=0
Josh Mandel (Jul 29 2016 at 17:26):
Can anyone describe what the VS Cache is, why it exists, how it works, and how entries meant to be updated/invalidated? Apologies if this has been written up somewhere!
Bryn Rhodes (Jul 29 2016 at 17:31):
It's a great question, I don't know the answer though, other than that it has something to do with speeding up the build.
Bryn Rhodes (Jul 29 2016 at 17:32):
And I'm realizing now that I've posted the zip that the vscache is actually in svn, so I just committed my vscache contents.
Bryn Rhodes (Jul 29 2016 at 17:32):
Rick, can you get latest and see if that gets you past the build error?
Lloyd McKenzie (Jul 29 2016 at 17:39):
The purpose of the cache is to avoid sending out queries to the terminology server to grab value set expansions and to check for code validity in examples. So the lookup tooling checks the cache first and only hits the server if the cache doesn't have an answer. I don't know what the process is (or if there is one) for deciding the cache is "dirty". I presume the cache numbers are some sort of hash on the value set and code system URLs or something.
Rick Geimer (Jul 29 2016 at 17:49):
Just got the latest from gForge, saw your vcache updates, still getting the same error though.
Bryn Rhodes (Jul 29 2016 at 17:51):
I suppose you could try dropping that vscache folder from the dropbox link I posted on your build and see if that does anything (though I can't imagine it would, it should be the same as what I just committed...)
Bryn Rhodes (Jul 29 2016 at 17:51):
Sorry :(
Bryn Rhodes (Jul 29 2016 at 17:51):
That worked for us.
Rick Geimer (Jul 29 2016 at 17:57):
Strangely, using your zip vs. what is in gForge seems to have gotten me past that initial error, build is running now, though I still get that "Running without terminology server" message at the start.
So I am guessing that somehow terminology server access is no longer functional, but if you have the right content if your vscache you can run the build anyway (but gForge does not contain that content).
Bryn Rhodes (Jul 29 2016 at 18:01):
Yeah that's really weird, I don't see anything in my vscache folder that's not also in svn. But yes, there must be something I'm missing, so I'm glad that seems to have worked for you.
Rick Geimer (Jul 29 2016 at 18:14):
Interesting test case would be for someone who has the build working to delete their vscache, update from SVN, then run again and see if it breaks.
Rick Geimer (Jul 29 2016 at 18:15):
...actually backup then delete their vscache :)
Josh Mandel (Jul 29 2016 at 20:32):
What you just wrote is effectively what the automated build process does, @Rick Geimer
Josh Mandel (Jul 29 2016 at 20:33):
It retains no state between updates, and does a full build from svn each time. And seems to be working...
Grahame Grieve (Jul 29 2016 at 20:33):
the build caches the responses from the terminology server. This saves us all a variable but signiticant amount of time doing a build. As your network performance drops, the time saved increases. In the 3rd world (Australia) this saves me >1 hour on the build. It also saves me Amazon costs.
Josh Mandel (Jul 29 2016 at 20:34):
And how do you figure out when to expunge or replace values?
Grahame Grieve (Jul 29 2016 at 20:34):
it also insulates you from problems with the terminology service, which appears to have been the problem here. For some reason, a value set wasn't being cached
Grahame Grieve (Jul 29 2016 at 20:34):
I manually maintain cache staleness.
Josh Mandel (Jul 29 2016 at 20:35):
But presumably you don't maintain them by editing these JSON files by hand? ;-)
Grahame Grieve (Jul 29 2016 at 20:36):
no. I periodically wipe the cache, or I delete all files that mention a particular code system
Grahame Grieve (Jul 29 2016 at 20:38):
thos of you maintaining IGs will note that I had to reproduce the same thing for IGs
Josh Mandel (Jul 29 2016 at 20:42):
But we won't be able to push this job out to every IG author, so that's a gap in our process, I think.
Grahame Grieve (Jul 29 2016 at 20:45):
yes, you're right. I haev to work on cache staleness
Josh Mandel (Jul 29 2016 at 20:57):
If there are ways I (or we) could help, please let us know.
Josh Mandel (Jul 29 2016 at 20:57):
Have we considered using simplifier.net's profile editor instead?
Grahame Grieve (Jul 29 2016 at 21:28):
how is that related?
Josh Mandel (Jul 29 2016 at 21:45):
They're both ways to author and publish an implementation guide, no?
Grahame Grieve (Jul 29 2016 at 21:47):
no. The profile editor edits StructureDefinition and ImplementationGuide resources
Grahame Grieve (Jul 29 2016 at 21:48):
it doesn't publish. The IG publisher is written so that it can be dropped into the simplifier registry and publish in there, though it will be mighty restricted in there
Rob Hausam (Aug 30 2016 at 20:59):
I'm now consistently getting this error in my local build:
[java] Produce Schemas 1.199 17sec 618MB [java] Produce java Reference Implementation 1.063 18sec 770MB [java] Produce pascal Reference Implementation 4.215 22sec 788MB [java] Produce csharp Reference Implementation 0.0 22sec 788MB [java] Produce xmltools Reference Implementation 0.0 22sec 788MB [java] Produce javascript Reference Implementation 0.009 22sec 788MB [java] Compile java Reference Implementation 0.141 23sec 866MB [java] Exception in thread "main" java.lang.Error: unable to find import for class ResourceType.java: org.hl7.fhir.dstu3.exceptions.FHIRException [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.determineDependencies(JavaGenerator.java:624) [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.listFilesToCompile(JavaGenerator.java:554) [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.compile(JavaGenerator.java:422) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1917) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:582) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:431)
I'm not sure why it wouldn't be finding the import for "class ResourceType.java: org.hl7.fhir.dstu3.exceptions.FHIRException" when compiling the java Reference Implementation, but it seems that it's not. I've deleted the .class files (multiple times), which usually works, but not this time. I also tried deleting and then doing an svn update to restore the JavaGenerator and FHIRException java files, but that also didn't help. Any ideas?
Grahame Grieve (Aug 30 2016 at 21:11):
delete all your java files in build\implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\codesystems
Grahame Grieve (Aug 30 2016 at 21:11):
my apologies for this; it's hangover generated classes, and I don't know easily how to delete them
Michelle (Moseman) Miller (Sep 21 2016 at 19:38):
(deleted)
Michelle (Moseman) Miller (Sep 23 2016 at 19:04):
What causes the following errors? I've been seeing them lately (even when doing a build on a new/clean check out).
These errors are *really* inconsistent in that the errors will magically go away simply by running the build again.
[java] ERROR @ org.hl7.fhir.dstu3.test.ValidationEngineTests testCurrentJson org.hl7.fhir.dstu3.test.ValidationEngineTests): null (src = Publisher)
or
[java] ERROR @ org.hl7.fhir.dstu3.test.ValidationEngineTests testCurrentXml(org.hl7.fhir.dstu3.test.ValidationEngineTests): null (src = Publisher)
Michelle (Moseman) Miller (Sep 23 2016 at 23:49):
Another odd thing I noticed.... While my last commit (9876) built successfully hours ago, the current build page still shows an older version (v1.7.0-9873).
Grahame Grieve (Sep 24 2016 at 01:53):
I don't know why that fails occasionally. nor why github is being so slow to update
Paul Knapp (Sep 26 2016 at 15:48):
Tried removing the java files as specified on August 30, updated, deleted *.class /s multiple times, but I can't resolve this error:
[java] Errors: 0 Warnings: 26 Hints: 761 [java] [java] ===Resources with FMM forced to 0=== [java] 48.302 131sec 1423MB [java] ERROR @ Java Compile warning: [options] bootstrap class path not set
in conjunction with -source 1.6 (src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\formats\JsonParser.java:3317: err
or: incompatible types: org.hl7.fhir.dstu3.model.Type cannot be converted to org
.hl7.fhir.dstu3.model.Reference
[java] res.setProvider(provider);
[java] ^ (src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\formats\XmlParser.java:3275: erro
r: incompatible types: org.hl7.fhir.dstu3.model.Type cannot be converted to org.
hl7.fhir.dstu3.model.Reference
[java] res.setProvider(parseType("provider", xpp));
[java] ^ (src = Publisher)
[java] ERROR @ Java Compile Note: Some input files use or override a deprec
ated API. (src = Publisher)
[java] ERROR @ Java Compile Note: Recompile with -Xlint:deprecation for det
ails. (src = Publisher)
[java] ERROR @ Java Compile Note: Some input files use unchecked or unsafe
operations. (src = Publisher)
[java] ERROR @ Java Compile Note: Recompile with -Xlint:unchecked for detai
ls. (src = Publisher)
[java] ERROR @ Java Compile Note: Some messages have been simplified; recom
pile with -Xdiags:verbose to get full output (src = Publisher)
[java] This was a Full Build
0.196 131sec 1423MB
[java] java.lang.Exception: Unable to check Java library version
[java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.checkVe
rsion(JavaGenerator.java:685)
[java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.compile
(JavaGenerator.java:548)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(P
ublisher.java:1920)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java
:583)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:43
2)
[java] FHIR build failure @ Mon, Sep 26, 2016 08:44-0700
0.825 132sec 1424MB
[java] Error: Unable to check Java library version
BUILD FAILED
C:\Gforge\HL7\FHIR\trunk\build\build.xml:30: The following error occurred while
executing this line:
C:\Gforge\HL7\FHIR\trunk\build\tools\java\org.hl7.fhir.tools.core\build.xml:134:
Java returned: 1
Michelle (Moseman) Miller (Sep 26 2016 at 18:43):
FYI -- I'm still seeing extreme slowness, such that I committed changes ~4 hours ago, but haven't seen any ci-notifications / fhir-svn messages or builds (https://travis-ci.org/hl7-fhir/fhir-svn/builds) yet.
Grahame Grieve (Sep 27 2016 at 15:25):
Paul - send me a patch, and i'll look at it
Michelle (Moseman) Miller (Sep 27 2016 at 15:32):
@Grahame Grieve I checked in changes over 24 hours ago (revision 9888) and still don't see a build started yet. This seems to have moved from just being slow to perhaps being all together down.
Grahame Grieve (Sep 27 2016 at 15:33):
@Josh Mandel any ideas?
Paul Knapp (Sep 27 2016 at 20:45):
@Grahame Grieve: found the issue, working on changes to examples
Grahame Grieve (Sep 29 2016 at 16:19):
ok, I've stopped travelling and meeting people constantly, so I'm going to try and stay on top of build issues. Does anyone have resdiual build problems. @Paul Knapp ?
Paul Knapp (Sep 29 2016 at 16:25):
Partial build now working after lastest update. I am testing a full build.
Jean Duteau (Oct 02 2016 at 06:25):
i'm getting a weird error running a build of STU2:
[java] check system urn:iso:std:iso:3166
[java] org.hl7.fhir.dstu3.utils.client.EFhirClientException: Error unmarshalling resource: [Microsoft][SQL Server Native Client 11.0][SQL Server]The transaction log for database 'fhir' is full due to 'LOG_BACKUP'.
[java] at org.hl7.fhir.dstu3.utils.client.ClientUtils.unmarshalReference(ClientUtils.java:284)
[java] at org.hl7.fhir.dstu3.utils.client.ClientUtils.issueGetFeedRequest(ClientUtils.java:124)
[java] at org.hl7.fhir.dstu3.utils.client.FHIRToolingClient.fetchFeed(FHIRToolingClient.java:627)
[java] at org.hl7.fhir.dstu3.utils.BaseWorkerContext.supportsSystem(BaseWorkerContext.java:76)
[java] at org.hl7.fhir.tools.publisher.BuildWorkerContext.supportsSystem(BuildWorkerContext.java:354)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.canValidate(ValueSetValidator.java:351)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.validate(ValueSetValidator.java:201)
[java] at org.hl7.fhir.tools.converters.ValueSetImporterV3.buildV3ValueSet(ValueSetImporterV3.java:526)
[java] at org.hl7.fhir.tools.converters.ValueSetImporterV3.execute(ValueSetImporterV3.java:332)
[java] at org.hl7.fhir.tools.publisher.Publisher.loadValueSets1(Publisher.java:1068)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:600)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:460)
Jean Duteau (Oct 02 2016 at 06:26):
i'm assuming that it's going out to some database somewhere, looking for valuesets and that database is having problems.
Paul Knapp (Oct 02 2016 at 13:04):
Changes to Coverage replaced a suite of string elements with a 0..* coding which partial builds successfully but is now resulting in the full build errors:
[java] Errors: 0 Warnings: 28 Hints: 766
[java]
[java] ===Resources with FMM forced to 0===
[java] 53.633 142sec 1405MB
[java] ERROR @ Java Compile warning: [options] bootstrap class path not set
in conjunction with -source 1.6 (src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5282: error: incompatible types: org.hl7.fhir.dstu3.model.Type cannot be co
nverted to org.hl7.fhir.dstu3.model.Reference
[java] tgt.setIssuer(convertType(src.getIssuer()));
[java] ^ (src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5283: error: cannot find symbol
[java] tgt.setBin(src.getBin().getValue());
[java] ^
[java] symbol: method setBin(java.lang.String)
[java] location: variable tgt of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5286: error: incompatible types: org.hl7.fhir.dstu3.model.Type cannot be co
nverted to org.hl7.fhir.dstu3.model.Reference
[java] tgt.setPlanholder(convertType(src.getSubscriber()));
[java] ^ (src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5289: error: cannot find symbol
[java] tgt.setGroup(src.getGroup());
[java] ^
[java] symbol: method setGroup(java.lang.String)
[java] location: variable tgt of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5290: error: cannot find symbol
[java] tgt.setPlan(src.getPlan());
[java] ^
[java] symbol: method setPlan(java.lang.String)
[java] location: variable tgt of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5291: error: cannot find symbol
[java] tgt.setSubPlan(src.getSubPlan());
[java] ^
[java] symbol: method setSubPlan(java.lang.String)
[java] location: variable tgt of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5304: error: cannot find symbol
[java] if (src.hasIssuerReference())
[java] ^
[java] symbol: method hasIssuerReference()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5306: error: cannot find symbol
[java] tgt.setBin(new org.hl7.fhir.dstu2.model.Identifier().setValue(sr
c.getBin()));
[java]
^
[java] symbol: method getBin()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5309: error: cannot find symbol
[java] if (src.hasPlanholderIdentifier())
[java] ^
[java] symbol: method hasPlanholderIdentifier()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5313: error: cannot find symbol
[java] tgt.setGroup(src.getGroup());
[java] ^
[java] symbol: method getGroup()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5314: error: cannot find symbol
[java] tgt.setPlan(src.getPlan());
[java] ^
[java] symbol: method getPlan()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile C:\Gforge\HL7\FHIR\trunk\build\implementations\
java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.
java:5315: error: cannot find symbol
[java] tgt.setSubPlan(src.getSubPlan());
[java] ^
[java] symbol: method getSubPlan()
[java] location: variable src of type org.hl7.fhir.dstu3.model.Coverage (
src = Publisher)
[java] ERROR @ Java Compile Note: Some input files use or override a deprec
ated API. (src = Publisher)
[java] ERROR @ Java Compile Note: Recompile with -Xlint:deprecation for det
ails. (src = Publisher)
[java] ERROR @ Java Compile Note: Some input files use unchecked or unsafe
operations. (src = Publisher)
[java] ERROR @ Java Compile Note: Recompile with -Xlint:unchecked for detai
ls. (src = Publisher)
[java] ERROR @ Java Compile Note: Some messages have been simplified; recom
pile with -Xdiags:verbose to get full output (src = Publisher)
[java] This was a Full Build
0.291 142sec 1405MB
[java] FHIR build failure @ Sun, Oct 2, 2016 15:59+0300
0.795 143sec 1405MB
[java] Error: Unable to check Java library version
[java] java.lang.Exception: Unable to check Java library version
[java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.checkVe
rsion(JavaGenerator.java:685)
[java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.compile
(JavaGenerator.java:548)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(P
ublisher.java:1920)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java
:583)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:43
2)
BUILD FAILED
C:\Gforge\HL7\FHIR\trunk\build\build.xml:30: The following error occurred while
executing this line:
C:\Gforge\HL7\FHIR\trunk\build\tools\java\org.hl7.fhir.tools.core\build.xml:134:
Java returned: 1
Total time: 2 minutes 30 seconds
Alexander Henket (Oct 02 2016 at 19:58):
@Grahame Grieve You asked for residual issues. After reverting implementations and tools from HEAD, full build finishes normally for me except for 1-2 lab examples with incorrect UCUM units:
[java] Summary: Errors=2, Warnings=16212, Hints=1172 [java] ERROR @ DataElement.element.extension.valueCodeableConcept (line 0, col0) dataelement-labtestmaster-example:: DataElement.element.extension.valueCodeableConcept: None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/ucum-units (http://hl7.org/fhir/ValueSet/ucum-units, and a code from this value set is required) (codes = http://unitsofmeasure.org#s) (src = InstanceValidator) [java] ERROR @ DataElement.element.extension.valueCodeableConcept dataelement-labtestmaster-example:: DataElement.element.extension.valueCodeableConcept: None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/ucum-units (http://hl7.org/fhir/ValueSet/ucum-units, and a code from this value set is required) (codes = http://unitsofmeasure.org#s) (src = InstanceValidator) [java] This was a Full Build 42.18 389sec 871MB [java] org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation
Grahame Grieve (Oct 02 2016 at 20:02):
@Paul Knapp - the versioning support has slipped out of hand; you can no longer build without extensive java work. I'm going to have to rethink the approach. somehow
Grahame Grieve (Oct 02 2016 at 20:03):
@Alexander Henket that's weird. s is definintely in ucum...
Jean Duteau (Oct 02 2016 at 22:17):
Just another data point on the SQL Server error - I had another developer run the build from their machine and it failed with the same error: Error unmarshalling resource: [Microsoft][SQL Server Native Client 11.0][SQL Server]The transaction log for database 'fhir' is full due to 'LOG_BACKUP'.
Grahame Grieve (Oct 02 2016 at 22:43):
that's my server running out of space. Thought I had fixed that now
Paul Knapp (Oct 03 2016 at 05:52):
@Grahame Grieve Can we comment out the version translation fornow, until a new approach is figured out, so that the build can continue?
Grahame Grieve (Oct 03 2016 at 05:54):
no, because the build depends on it now
Grahame Grieve (Oct 03 2016 at 05:55):
I'll get to it later tonight.
Paul Knapp (Oct 03 2016 at 06:41):
Ok, thanks. I posted a question regarding search on "implementers/search fields" you may want to review and comment.
Rick Geimer (Oct 03 2016 at 19:00):
I'm having the same issue as Sean. Occurs while running \tools\java\org.hl7.fhir.tools.core\build.xml. Happening on a clean checkout on Windows 10 with latest JDK.
Rick Geimer (Oct 03 2016 at 19:45):
Update: it occurs while running implementations\java\org.hl7.fhir.dstu3\build.xml. Will try to hunt it down further.
Richard Ettema (Oct 03 2016 at 19:57):
Based on my attempts to build the current trunk locally, I found the following:
1) With the removal of tools/java/org.hl7.fhir.dstu3, the implementations/java/org.hl7.fhir.dstu3 now needs to compile with all generated classes. However, after a clean checkout, the implementations/java/org.hl7.fhir.dstu3 project does not contain any generated classes.
2) The hapi-fhir-base version appears that it needs to be '2.0'. However, the 'ivy.xml' still refers to '1.6'.
3) There appears to be a circular dependency between the implementations/java/org.hl7.fhir.dstu3 and implementations/java/org.hl7.fhir.utilities projects. You can't get one to compile without the other. This may be due to issue 1 above.
Grahame Grieve (Oct 03 2016 at 19:59):
I've just committed a fix - well, it *builds for me*
Grahame Grieve (Oct 03 2016 at 19:59):
can someone update and try again?
Richard Ettema (Oct 03 2016 at 20:00):
Sure. I'll start with a clean checkout from the trunk.
Richard Ettema (Oct 03 2016 at 20:13):
Just tried again on a linux vm and am still getting multiple errors when compiling the implementations/java/org.hl7.fhir.dstu3 project. Here's the tail of my build output:
[javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/StringType.java:31: error: package org.apache.commons.lang3 does not exist [javac] import org.apache.commons.lang3.StringUtils; [javac] ^ [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/StringType.java:33: error: package ca.uhn.fhir.model.api.annotation does not exist [javac] import ca.uhn.fhir.model.api.annotation.DatatypeDef; [javac] ^ [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/PrimitiveType.java:8: error: package org.apache.commons.lang3 does not exist [javac] import org.apache.commons.lang3.StringUtils; [javac] ^ [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/model/PrimitiveType.java:9: error: package org.apache.commons.lang3.builder does not exist [javac] import org.apache.commons.lang3.builder.EqualsBuilder; [javac] ^ [javac] Note: /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/validation/InstanceValidator.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output [javac] 100 errors BUILD FAILED /home/nhinadmin/Projects/fhir/trunk/build/build.xml:30: The following error occurred while executing this line: /home/nhinadmin/Projects/fhir/trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:65: The following error occurred while executing this line: /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/build.xml:47: Compile failed; see the compiler error output for details. Total time: 11 seconds
Grahame Grieve (Oct 03 2016 at 20:14):
in this build, does your ivy report successfully getting commons-lang3-3.3.2.jar?
Rick Geimer (Oct 03 2016 at 20:15):
No, it fails
Rick Geimer (Oct 03 2016 at 20:16):
I'm getting the same output as Richard, and definitely not getting commons-lang3
Rick Geimer (Oct 03 2016 at 20:16):
error: package org.apache.commons.lang3 does not exist
Richard Ettema (Oct 03 2016 at 20:17):
my ivy is getting it successfully:
[ivy:resolve] found org.apache.commons#commons-lang3;3.3.2 in maven
Richard Ettema (Oct 03 2016 at 20:18):
It's getting correctly copied into tools/java/imports.
Rick Geimer (Oct 03 2016 at 20:18):
I see all the imports in tools/java/imports, but not in implementations/java/imports (the latter dir is empty)
Grahame Grieve (Oct 03 2016 at 20:19):
ok, update and try again
Richard Ettema (Oct 03 2016 at 20:21):
Updated to 9917. Same errors.
Rick Geimer (Oct 03 2016 at 20:22):
Same here
Rick Geimer (Oct 03 2016 at 20:25):
If I manually copy commons-lang3-3.3.2.jar into implementations/java/imports the does not exist error goes away, but the build still fails.
Richard Ettema (Oct 03 2016 at 20:25):
Here are the first errors. They refer to the generated Java classes that don't exist in the implementations/java/org.hl7.fhir.dstu3 project.
build-project: [echo] org.hl7.fhir.dstu3: /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/build.xml [javac] Compiling 168 source files to /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/bin [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/conformance/ProfileComparer.java:15: error: cannot find symbol [javac] import org.hl7.fhir.dstu3.model.Coding; [javac] ^ [javac] symbol: class Coding [javac] location: package org.hl7.fhir.dstu3.model [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/conformance/ProfileComparer.java:16: error: cannot find symbol [javac] import org.hl7.fhir.dstu3.model.ElementDefinition; [javac] ^ [javac] symbol: class ElementDefinition [javac] location: package org.hl7.fhir.dstu3.model [javac] /home/nhinadmin/Projects/fhir/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/conformance/ProfileComparer.java:17: error: package org.hl7.fhir.dstu3.model.ElementDefinition does not exist [javac] import org.hl7.fhir.dstu3.model.ElementDefinition.ElementDefinitionBindingComponent;
Grahame Grieve (Oct 03 2016 at 20:27):
I'm not feeling any insight into this one....
Grahame Grieve (Oct 03 2016 at 20:27):
those files have to exist
Richard Ettema (Oct 03 2016 at 20:27):
Agreed. But on a clean checkout, they're not there.
Grahame Grieve (Oct 03 2016 at 20:28):
is that all errors? or just a subset of them
Rick Geimer (Oct 03 2016 at 20:28):
Subset
Richard Ettema (Oct 03 2016 at 20:29):
My output stops at 100 errors.
Rick Geimer (Oct 03 2016 at 20:29):
Same here 100 errors on clean checkout.
Richard Ettema (Oct 03 2016 at 20:30):
@Rick Geimer At least we're consistent.
Rick Geimer (Oct 03 2016 at 20:32):
:)
Grahame Grieve (Oct 03 2016 at 20:32):
ok that helps. I think I know what the problem is
Rick Geimer (Oct 03 2016 at 20:32):
I'm definitely seeming missing source files too
Rick Geimer (Oct 03 2016 at 20:33):
implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\Coding.java is not there, etc.
Grahame Grieve (Oct 03 2016 at 20:48):
ok update and try again
Richard Ettema (Oct 03 2016 at 20:50):
Updated to 9918. Still getting errors. I'll email you my full output in a minute.
Richard Ettema (Oct 03 2016 at 20:52):
Email sent.
Rick Geimer (Oct 03 2016 at 20:53):
Straight build failed, but once I copied the jars in \tools\java\imports to implementations\java\imports it started running normally. Still running.
Rick Geimer (Oct 03 2016 at 20:53):
Nope, just failed.
Rick Geimer (Oct 03 2016 at 20:55):
[javac] Compiling 16 source files to C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.convertors\bin [javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\ADLImporter.java:14: error: package org.hl7.fhir.dstu3.formats.IParser does not exist [javac] import org.hl7.fhir.dstu3.formats.IParser.OutputStyle; [javac] ^ [javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\ADLImporter.java:15: error: package org.hl7.fhir.dstu3.formats does not exist [javac] import org.hl7.fhir.dstu3.formats.XmlParser; [javac] ^ [javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.convertors\src\org\hl7\fhir\convertors\ADLImporter.java:16: error: package org.hl7.fhir.dstu3.model does not exist
...
Grahame Grieve (Oct 03 2016 at 20:57):
those files are now committed?
Rick Geimer (Oct 03 2016 at 20:59):
IParser.java is there, so maybe a path issue now?
Richard Ettema (Oct 03 2016 at 20:59):
I just did what Rick did; copy the imports, and I got the same errors as Rick.
Looks like a classpath issue in a build.xml.
Grahame Grieve (Oct 03 2016 at 21:00):
yes, typo
Grahame Grieve (Oct 03 2016 at 21:02):
the really confusing thing here, repeatedly, is why this builds for me....
Grahame Grieve (Oct 03 2016 at 21:02):
try again
Paul Knapp (Oct 03 2016 at 21:04):
nope
Grahame Grieve (Oct 03 2016 at 21:04):
.... what now...?
Paul Knapp (Oct 03 2016 at 21:06):
same missing org.hl7...model.api.*
Richard Ettema (Oct 03 2016 at 21:07):
Getting closer... The igtools compile is now failing.
Paul Knapp (Oct 03 2016 at 21:08):
yes in model\Enumerations.java:35
Rick Geimer (Oct 03 2016 at 21:11):
If I don't copy tool/java/imports to implementations/java/imports, I get this set of errors (subset):
build-project:
[echo] org.hl7.fhir.dstu3: C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\build.xml
[javac] Compiling 325 source files to C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\bin
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\ElementDefinition.java:39: error: package org.hl7.fhir.instance.model.api does not exist
[javac] import org.hl7.fhir.instance.model.api.IBaseDatatypeElement;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\ElementDefinition.java:40: error: package org.hl7.fhir.instance.model.api does not exist
[javac] import org.hl7.fhir.instance.model.api.ICompositeType;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\ElementDefinition.java:43: error: package ca.uhn.fhir.model.api.annotation does not exist
[javac] import ca.uhn.fhir.model.api.annotation.Block;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\implementations\java\org.hl7.fhir.dstu3\src\org\hl7\fhir\dstu3\model\ElementDefinition.java:44: error: package ca.uhn.fhir.model.api.annotation does not exist
[javac] import ca.uhn.fhir.model.api.annotation.Child;
Richard Ettema (Oct 03 2016 at 21:11):
I just corrected the path to implementations/java/org.hl7.fhir.dstu3 in tools/java/org.hl7.fhir.igtools/build.xml and I am now into the Publisher logic of the build.
Rick Geimer (Oct 03 2016 at 21:12):
If I do copy the jars I get this:
Rick Geimer (Oct 03 2016 at 21:12):
build-project:
[echo] org.hl7.fhir.tools: C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\build.xml
[javac] Compiling 28 source files to C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\bin
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\src\org\hl7\fhir\igtools\publisher\FetchedFile.java:11: error: package org.hl7.fhir.dstu3.model does not exist
[javac] import org.hl7.fhir.dstu3.model.Bundle;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\src\org\hl7\fhir\igtools\publisher\FetchedFile.java:12: error: package org.hl7.fhir.dstu3.validation does not exist
[javac] import org.hl7.fhir.dstu3.validation.ValidationMessage;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\src\org\hl7\fhir\igtools\publisher\FetchedResource.java:7: error: package org.hl7.fhir.dstu3.elementmodel does not exist
[javac] import org.hl7.fhir.dstu3.elementmodel.Element;
[javac] ^
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\src\org\hl7\fhir\igtools\publisher\FetchedResource.java:8: error: package org.hl7.fhir.dstu3.model does not exist
[javac] import org.hl7.fhir.dstu3.model.Resource;
Grahame Grieve (Oct 03 2016 at 21:13):
alright, update and try again
Grahame Grieve (Oct 03 2016 at 21:13):
somehow having eclipse in the background must be making my compile right magically, because there's no way any of this should compile for me, but it keeps doing sso
Rick Geimer (Oct 03 2016 at 21:14):
Nope, still getting errors:
Rick Geimer (Oct 03 2016 at 21:14):
build-project:
[echo] org.hl7.fhir.tools: C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\build.xml
[javac] Compiling 28 source files to C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\bin
[javac] C:\Users\rickg\Documents\Workspaces-SVN\FHIR-build\tools\java\org.hl7.fhir.igtools\src\org\hl7\fhir\igtools\publisher\FetchedFile.java:11: error: package org.hl7.fhir.dstu3.model does not exist
[javac] import org.hl7.fhir.dstu3.model.Bundle;
...
Rick Geimer (Oct 03 2016 at 21:15):
I'm guessing you have pre-build class files for the stuff that is missing for us on a clean checkout.
Richard Ettema (Oct 03 2016 at 21:15):
The update you made to the igtools build.xml needs to be updated. You are missing a '.' in the location for dstu3. It should be '../../..'
Rick Geimer (Oct 03 2016 at 21:18):
Good eyes Richard! That seems to be working for me. Build is running.
Richard Ettema (Oct 03 2016 at 21:19):
My build got up to the Compile java Reference Implementation then failed.
Grahame Grieve (Oct 03 2016 at 21:19):
oops
Grahame Grieve (Oct 03 2016 at 21:19):
now what?
Richard Ettema (Oct 03 2016 at 21:20):
[java] Compile java Reference Implementation 0.445 47sec 648MB [java] .... build jars 0.0 47sec 648MB [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [java] Error: Could not find or load main class org.hl7.fhir.dstu3.test.ToolsHelper [java] java.lang.Exception: Unable to check Java library version [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.checkVersion(JavaGenerator.java:627) [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.compile(JavaGenerator.java:490) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1918) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:580) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:429) [java] ERROR: Unable to process warnings: Unable to check Java library version [java] This was a Full Build 37.048 84sec 873MB [java] FHIR build failure @ Mon, Oct 3, 2016 17:11-0400 8.409 93sec 873MB [java] Error: Unable to check Java library version [java] java.lang.Exception: Unable to check Java library version [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.checkVersion(JavaGenerator.java:627) [java] at org.hl7.fhir.tools.implementations.java.JavaGenerator.compile(JavaGenerator.java:490) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1918) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:580) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:429)
BUILD FAILED
/home/nhinadmin/Projects/fhir/trunk/build/build.xml:30: The following error occurred while executing this line:
/home/nhinadmin/Projects/fhir/trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:134: Java returned: 1
Total time: 1 minute 49 seconds
Rick Geimer (Oct 03 2016 at 21:21):
Just hit the same error, and that's it for me for the next couple hours. Need to pickup kids from school and cook dinner.
Richard Ettema (Oct 03 2016 at 21:22):
I can keep going for another hour or so. I checked and verified that the ToolsHelper class is there in the dstu3 project.
Grahame Grieve (Oct 03 2016 at 21:26):
ok, that one, at least, I understand why it wasn't a problem for me. Update and try again
Richard Ettema (Oct 03 2016 at 21:27):
Trying again with 9922...
Richard Ettema (Oct 03 2016 at 21:29):
OK. I'm past the point of that previous error. Build is still running...
Grahame Grieve (Oct 03 2016 at 21:31):
yay
Richard Ettema (Oct 03 2016 at 21:33):
Still going... :) The build was taking ~20 minutes on my linux machine, so a few more minutes.
Grahame Grieve (Oct 03 2016 at 21:39):
should be a minute faster than it used to ne
Paul Knapp (Oct 03 2016 at 21:39):
I have the same error as before
Richard Ettema (Oct 03 2016 at 21:39):
What about the manual copy of tools/java/imports to implementations/java/imports? That should be a build.xml update, right?
Paul Knapp (Oct 03 2016 at 21:39):
I didn't do that
Grahame Grieve (Oct 03 2016 at 21:40):
no we don't want to do that.
Richard Ettema (Oct 03 2016 at 21:40):
That should get you past your current errors.
Grahame Grieve (Oct 03 2016 at 21:40):
you shouldn't need to do that, and I think I've found and fixed all the references to that
Grahame Grieve (Oct 03 2016 at 21:40):
Paul, what is your error?
Richard Ettema (Oct 03 2016 at 21:41):
Ok. I'll update again after my current build finishes.
Richard Ettema (Oct 03 2016 at 21:44):
Build finished in 16 min 35 seconds. Nice.
Paul Knapp (Oct 03 2016 at 21:47):
init:
build-project:
[echo] org.hl7.fhir.convertors: C:\Gforge\HL7\FHIR\trunk\build\implementati
ons\java\org.hl7.fhir.convertors\build.xml
[javac] Compiling 16 source files to C:\Gforge\HL7\FHIR\trunk\build\implemen
tations\java\org.hl7.fhir.convertors\bin
[javac] C:\Gforge\HL7\FHIR\trunk\build\implementations\java\org.hl7.fhir.con
vertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.java:5282: error: inc
ompatible types: Type cannot be converted to Reference
[javac] tgt.setIssuer(convertType(src.getIssuer()));
[javac] ^
[javac] C:\Gforge\HL7\FHIR\trunk\build\implementations\java\org.hl7.fhir.con
vertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.java:5283: error: can
not find symbol
[javac] tgt.setBin(src.getBin().getValue());
Richard Ettema (Oct 03 2016 at 21:47):
Just did a check of the build.xml files and the implementations/java/org.hl7.fhir.dstu3 file still has:
<fileset dir="../imports" includes="*.jar"/>
should be:
<fileset dir="../../../tools/java/imports" includes="*.jar"/>
right?
Paul Knapp (Oct 03 2016 at 21:47):
things worked much better after the copy above
Richard Ettema (Oct 03 2016 at 21:49):
@Paul Knapp Are you at svn rev 9922? That's the one I just successfully built.
Paul Knapp (Oct 03 2016 at 21:51):
yes
Richard Ettema (Oct 03 2016 at 21:55):
@Grahame Grieve I also just checked the tools/java/org.hl7.fhir.igtools build.xml and noticed that the JVM args still have:
<jvmarg value="-XX:MaxPermSize=768m"/>
should be
<jvmarg value="-XX:MaxMetaspaceSize=768m"/>
for Java 1.8.
Grahame Grieve (Oct 03 2016 at 21:56):
really? ok. do you want to fix them then?
Richard Ettema (Oct 03 2016 at 21:56):
Sure. I'll commit in just a minute. Thanks.
Grahame Grieve (Oct 03 2016 at 21:56):
Paul - you'll need to revert your \implementations directory, maybe
Paul Knapp (Oct 03 2016 at 22:00):
Reverted, dies faster with same error reported above
Grahame Grieve (Oct 03 2016 at 22:01):
delete the whole \implementations tree, and then update.
Grahame Grieve (Oct 03 2016 at 22:01):
you've got some hangover from the previous build in there
Richard Ettema (Oct 03 2016 at 22:07):
Commit of updated igtools build.xml done. Going offline now (time for dinner). Thanks.
FYI - kicked off another build against rev 9924. So far, so good.
Sean McIlvenna (Oct 03 2016 at 22:10):
definitely getting different results now...
Sean McIlvenna (Oct 03 2016 at 22:10):
compiling 325 source files instead of 160-some
Sean McIlvenna (Oct 03 2016 at 22:11):
thinking that did the trick
Paul Knapp (Oct 03 2016 at 22:51):
@Grahame Grieve : emailed the lastest run against 9924 - still failing on compilation of converters
Grahame Grieve (Oct 03 2016 at 22:52):
so you still don't have the same code as the rest of us
Paul Knapp (Oct 03 2016 at 23:20):
Updated to 9925, still get:
build-project:
[echo] org.hl7.fhir.convertors: C:\Gforge\HL7\FHIR\trunk\build\implementati
ons\java\org.hl7.fhir.convertors\build.xml
[javac] Compiling 8 source files to C:\Gforge\HL7\FHIR\trunk\build\implement
ations\java\org.hl7.fhir.convertors\bin
[javac] C:\Gforge\HL7\FHIR\trunk\build\implementations\java\org.hl7.fhir.con
vertors\src\org\hl7\fhir\convertors\VersionConvertor_10_20.java:5282: error: inc
ompatible types: Type cannot be converted to Reference
[javac] tgt.setIssuer(convertType(src.getIssuer()));
should I purge some of the java files?
Grahame Grieve (Oct 03 2016 at 23:26):
you should purge your entire \implementations tree
Paul Knapp (Oct 03 2016 at 23:32):
ok, working now
Grahame Grieve (Oct 03 2016 at 23:32):
great
Grahame Grieve (Oct 03 2016 at 23:33):
having to purge the \implementations tree was a once off related to the changes I made. You should be right now
Paul Knapp (Oct 03 2016 at 23:46):
OK 10 minute full build worked. Showed an error but one it should catch - looks good. I've fixed, running partial, then full then commit.
Paul Knapp (Oct 03 2016 at 23:57):
Partial passed
Paul Knapp (Oct 04 2016 at 00:07):
ok, working thanks
Jean Duteau (Oct 05 2016 at 02:43):
The database error was fixed, but now I'm getting a different error:
[java] FHIR build failure @ Tue, Oct 4, 2016 20:41-0600 0.711 23sec 543MB
[java] Error: Error parsing response message
[java] org.hl7.fhir.dstu3.utils.client.EFhirClientException: Error parsing response message
[java] at org.hl7.fhir.dstu3.utils.client.ClientUtils.unmarshalReference(ClientUtils.java:278)
[java] at org.hl7.fhir.dstu3.utils.client.ClientUtils.issueGetFeedRequest(ClientUtils.java:124)
[java] at org.hl7.fhir.dstu3.utils.client.FHIRToolingClient.fetchFeed(FHIRToolingClient.java:627)
[java] at org.hl7.fhir.dstu3.utils.BaseWorkerContext.supportsSystem(BaseWorkerContext.java:76)
[java] at org.hl7.fhir.tools.publisher.BuildWorkerContext.supportsSystem(BuildWorkerContext.java:354)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.canValidate(ValueSetValidator.java:351)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.validate(ValueSetValidator.java:201)
[java] at org.hl7.fhir.tools.converters.ValueSetImporterV3.buildV3ValueSet(ValueSetImporterV3.java:526)
[java] Caused by: org.hl7.fhir.dstu3.exceptions.FHIRFormatError: only whitespace content allowed before start tag and not D (position: START_DOCUMENT seen D... @1:1) [java] at org.hl7.fhir.dstu3.formats.XmlParserBase.parse(XmlParserBase.java:91) [java] at org.hl7.fhir.dstu3.utils.client.ClientUtils.unmarshalReference(ClientUtils.java:271)
Grahame Grieve (Oct 05 2016 at 07:26):
Jean, remind me what you are running....?
Melva Peters (Oct 05 2016 at 13:40):
I continue to get a build error - I've deleted class files and updated and get the following error:
BUILD FAILED
/Users/mpeters/Documents/FHIR/trunk/build/build.xml:30: The following error occurred while executing this line:
/Users/mpeters/Documents/FHIR/trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:65: The following error occurred while executing this line:
/Users/mpeters/Documents/FHIR/trunk/build/implementations/java/org.hl7.fhir.dstu3/build.xml:47: Compile failed; see the compiler error output for details.
Jean Duteau (Oct 05 2016 at 13:47):
@Grahame Grieve I'm running STU2. It worked fine after you fixed the database problem on your end and then, all of a sudden, I got that error and it won't go away.
Eric Haas (Oct 05 2016 at 16:06):
My local build still works - but is about a month since I did an update. Are the build issues fixed? Is it safe to do an update? ( using OS-10 no eclipse. ) Or do I need to do a rip and replace with the latest?
Grahame Grieve (Oct 05 2016 at 16:33):
for some reason, some people aren't getting all the changes applied from svn. I don't know why, but from looking at Melva's log, it looks like she needs to delete the \implementations tree and then update again
Grahame Grieve (Oct 05 2016 at 16:34):
the build is working for me, fine
Melva Peters (Oct 05 2016 at 16:55):
I ended up deleting my build source folder and updating again - may have been over kill, but it worked. I now have a clean build.
Grahame Grieve (Oct 05 2016 at 16:59):
great
Eric Haas (Oct 10 2016 at 22:07):
java heap error is a new one for me. which is odd especially since followed successful builds.
Eric Haas (Oct 10 2016 at 22:28):
rebooting fixed it
Melva Peters (Oct 13 2016 at 23:35):
Has anyone figured out how to fix this Java Heap Space error? I rebooted once and it worked, but hasn't worked the second time I got it.
Lloyd McKenzie (Oct 14 2016 at 02:57):
I edited the .bat file to request a bit more memory on launch. (Not sure what the equivalent is on a Mac)
Richard Ettema (Oct 14 2016 at 12:35):
I actually had to edit my local build/tools/java/org.hl7.fhir.tools.core/build.xml file and update the memory settings for the Publisher; e.g.
<target name="Publisher" depends="build"> <java dir="../../../" classname="org.hl7.fhir.tools.publisher.Publisher" failonerror="true" fork="true" maxmemory="4000m" > <arg line="${args}"/> <jvmarg value="-Xmx4000m"/> <jvmarg value="-Xms4000m"/> <jvmarg value="-XX:MaxMetaspaceSize=1024m"/> <jvmarg value="-Djava.awt.headless=true"/> <classpath refid="org.hl7.fhir.tools.classpath"/> </java> </target>
HTH
Eric Haas (Oct 14 2016 at 20:31):
will that work on Mac too?
Richard Ettema (Oct 15 2016 at 14:47):
I have done this successfully on Windows and Linux. I believe this will also work on Mac as these are Java settings and not specific to any OS.
Marla Albitz (Oct 21 2016 at 19:29):
I understand that github is down. Is that the case? Could that be the reason my commit errored quickly?
Marla Albitz (Oct 21 2016 at 19:30):
Local build completed successfully
Paul Knapp (Oct 23 2016 at 09:12):
I have the error below after a fresh update: Yes, I deleted *.class /s, deleted build/implementations and re-updatedand upped my memory as per Richard's note above.
[java] Produce Schemas 2.076 31sec 1274MB [java] This was a Full Build 0.027 31sec 1274MB [java] java.lang.NullPointerException [java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.gene
rateEnum(XSDBaseGenerator.java:548)
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.genS
tructure(XSDBaseGenerator.java:533)
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.gene
rate(XSDBaseGenerator.java:126)
[java] at org.hl7.fhir.definitions.generators.xsd.SchemaGenerator.gener
ate(SchemaGenerator.java:72)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(P
ublisher.java:1899)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java
:579)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:42
8)
[java] FHIR build failure @ Sun, Oct 23, 2016 12:09+0300
0.828 32sec 1274MB
[java] Error: null
Grahame Grieve (Oct 23 2016 at 09:31):
update and try again - but it will be a problem in your binding definitions
Grahame Grieve (Oct 23 2016 at 09:31):
I added another error chec
Paul Knapp (Oct 23 2016 at 09:35):
The expansion for UnitsOfTime is Null
Grahame Grieve (Oct 23 2016 at 09:35):
not your definitions then
Paul Knapp (Oct 23 2016 at 09:37):
nope - haven't changed anything, just did an update and build prior to starting to make changes
Grahame Grieve (Oct 23 2016 at 10:21):
for me
Grahame Grieve (Oct 23 2016 at 10:21):
hmm. publishes ok for m
Grahame Grieve (Oct 23 2016 at 10:22):
you get any errors earlier in the run about terminology server?
Paul Knapp (Oct 23 2016 at 10:23):
Under a prior run it said it was getting the Units of Measure from an unusual site f??.org - I didn't retain it.
So yes.
Is there some way I could purge and force it to reload?
Paul Knapp (Oct 23 2016 at 10:43):
I deleted and updated build/vscache then ran and got, in part:
[java] Produce Schemas
2.306 35sec 1312MB
[java] Use Tx Server from BWS for value set ?? on http://unitsofmeasure.org
[java] Exception in thread "main" java.lang.Error: The expansion for UnitsO
fTime is null
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.gene
rateEnum(XSDBaseGenerator.java:549)
[java] at org.hl7.fhir.definitions.generators.xsd.XSDBaseGenerator.genS
tructure(XSDBaseGenerator.java:533)
Grahame Grieve (Oct 23 2016 at 10:48):
so that's weird in that the build shouldn't do that. Is your vscache fully synced?
Paul Knapp (Oct 23 2016 at 11:07):
I think so, I purged then updated it.
Paul Knapp (Oct 23 2016 at 11:09):
I just deleted the vscache directory and updated.
Paul Knapp (Oct 23 2016 at 11:09):
same error
Joginder Madra (Oct 23 2016 at 16:49):
I have the same issue as Paul. I've made no changes on my end...I'm just trying to run a build using a fresh svn checkout
Grahame Grieve (Oct 23 2016 at 21:54):
hmm. I'm at a loss. it works for me, and I can't think why you'd be having this problem.
Paul Knapp (Oct 24 2016 at 17:33):
Are you sourcing the value or code set from the same terminology server we are, or from your own?
Paul Knapp (Oct 24 2016 at 17:33):
Can you identify the file the system is having an issue with, perhaps we can just overwrite with a non-null copy.
Grahame Grieve (Oct 24 2016 at 18:10):
we're all using the same terminology server
Grahame Grieve (Oct 24 2016 at 18:10):
though you shouldn't be using the terminology server at all. that's what vsCache is about
Paul Knapp (Oct 24 2016 at 18:11):
do you know which vscache file?
Grahame Grieve (Oct 24 2016 at 18:14):
build\vscache\-219086411.json
Grahame Grieve (Oct 24 2016 at 18:25):
update and try again. I added a special case log for you
Paul Knapp (Oct 24 2016 at 18:34):
build\vscache\-1629881772.json
Paul Knapp (Oct 24 2016 at 18:38):
it contains and operationoutcome with errors
Grahame Grieve (Oct 24 2016 at 18:39):
found it
Grahame Grieve (Oct 24 2016 at 18:41):
update and try again
Paul Knapp (Oct 24 2016 at 18:48):
deleted vscache file and all class file, same error but without the debug message
Grahame Grieve (Oct 24 2016 at 18:50):
why did you delete the vscache file? Exactly the wrong thing to do
Paul Knapp (Oct 24 2016 at 18:51):
well it gave the same error when the file was there
Grahame Grieve (Oct 24 2016 at 18:52):
hmm. I have escalated the problem.
Paul Knapp (Oct 24 2016 at 18:52):
put the file back and rerunning
Grahame Grieve (Oct 24 2016 at 18:53):
nah. don't.
Grahame Grieve (Oct 24 2016 at 18:53):
it's just broken now
Paul Knapp (Oct 24 2016 at 18:54):
do you want the file, it contains a stack trace
Paul Knapp (Oct 24 2016 at 18:55):
same error
Grahame Grieve (Oct 24 2016 at 19:04):
now update and try again
Paul Knapp (Oct 24 2016 at 19:07):
appears to be working - I'll let you know when the build completes
Melva Peters (Feb 14 2017 at 15:12):
@11158 just failed with the following error: [java] # There is insufficient memory for the Java Runtime Environment to continue.
[java] # Native memory allocation (mmap) failed to map 996671488 bytes for committing reserved memory.
[java] # An error report file with more information is saved as:
[java] # /home/travis/build/hl7-fhir/fhir-svn/hs_err_pid3080.log
[java] Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005eca80000, 996671488, 0) failed; error='Cannot allocate memory' (errno=12)
Does anyone know what the issue is?
Michelle (Moseman) Miller (Feb 14 2017 at 15:32):
I saw the same error a while back (per https://chat.fhir.org/#narrow/stream/committers/subject/Insufficient.20memory.20for.20the.20JRE.3F) and it resolved itself after a whitespace commit to trigger the build again.
Rob Hausam (Dec 11 2017 at 12:54):
I was trying to finish and commit a draft OccupationalData resource prior to the substantive freeze (I missed that deadline) for the Occupational Data for Health (ODH) folks, but finally ended up with this null pointer error which I haven't been able to figure out and get past:
build:
Publisher:
[java] Publish FHIR in folder /Users/rhausam/SVN/fhir/trunk/build @ Mon, Dec 11, 2017 06:28-0600 0.047 0sec 21MB
[java] Build local copy 0.007 0sec 21MB
[java] Detected Java version: 1.8.0_121 from /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre on x86_64 0.0 0sec 21MB
[java] Checking Source for /Users/rhausam/SVN/fhir/trunk/build 8.151 8sec 51MB
[java] Version 3.1.0-12675
[java] Full Build 1.221 9sec 135MB
[java] Load Loinc 0.106 9sec 159MB
[java] Loading 0.643 10sec 231MB
[java] Load Common Bindings 0.053 10sec 231MB
[java] Load Resource Templates 3.099 13sec 996MB
[java] Load Resources 0.071 13sec 1044MB
[java] Load Extras 7.795 21sec 2096MB
[java] Load Code Systems 0.084 21sec 2137MB
[java] Load Value Sets 0.06 21sec 2178MB
[java] Load Profiles 0.004 21sec 2178MB
[java] ...EHRS Functional model - Record Lifecycle Events 2.475 23sec 1312MB
[java] ...Clinical Quality Improvement Framework 0.046 23sec 1394MB
[java] Copy HTML templates 0.322 24sec 1436MB
[java] ...diagram uml-example 0.191 24sec 1436MB
[java] ...diagram primitives 0.002 24sec 1436MB
[java] ...diagram resources 0.001 24sec 1436MB
[java] ...vocab #1 0.002 24sec 1436MB
[java] ...code systems 5.497 29sec 720MB
[java] ...value sets 0.001 29sec 720MB
[java] Generate Status Code Concept Maps 0.364 30sec 1093MB
[java] Validating 0.005 30sec 1093MB
[java] ...process profiles (base) 3.832 34sec 1088MB
[java] ...process profiles (resources) 0.095 34sec 1089MB
[java] This was a Full Build 0.827 35sec 1462MB
[java] java.lang.NullPointerException
[java] at org.hl7.fhir.definitions.generators.specification.ProfileGenerator.generateElementDefinition(ProfileGenerator.java:187)
[java] at org.hl7.fhir.definitions.generators.specification.ProfileGenerator.generate(ProfileGenerator.java:856)
[java] at org.hl7.fhir.tools.publisher.Publisher.processProfiles(Publisher.java:861)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:616)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:464)
[java] FHIR build failure @ Mon, Dec 11, 2017 06:29-0600 0.823 35sec 1462MB
[java] Error: nullBUILD FAILED
/Users/rhausam/SVN/fhir/trunk/build/build.xml:30: The following error occurred while executing this line:
/Users/rhausam/SVN/fhir/trunk/build/tools/java/org.hl7.fhir.tools.core/build.xml:156: Java returned: 1Total time: 1 minute 55 seconds
I'm adding the new resource to my local build on top of svn revision #12675, which I was able to successfully build locally. I tried deleting the .class files, but I'm still getting the null pointer error, but no other useful information. Everything above this snippet appears normal.
Grahame Grieve (Dec 11 2017 at 13:08):
that's not a valid source line code...?
Grahame Grieve (Dec 11 2017 at 13:08):
I don't know why that could be but it makes it hard to investigate
Rob Hausam (Dec 11 2017 at 18:48):
Yes. I now can do a successful full build with a stripped down version of the resource. So I'll add the missing bits back in and see if I can find and fix the issue.
Rick Geimer (Dec 14 2017 at 17:10):
Is RelatedPerson broken? Getting the following error on something that build fine previously:
Unable to determine type for /scratch/ig-build-temp-GFBT6C/repo/resources/relatedperson/related-person
The XML Schema for RelatedPerson is also broken. Getting the following errors from OxygenXML:
A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://hl7.org/fhir,PublicationStatus-list'.
A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://hl7.org/fhir,PublicationStatus'.
Rob Hausam (Dec 14 2017 at 19:12):
My build is working, Rick. I'm not getting the error. Maybe a clean will help?
Grahame Grieve (Dec 14 2017 at 20:21):
there is a problem with publication status.
Rob Hausam (Dec 14 2017 at 21:15):
I just did a fresh build after deleting .class files and svn update, with a clean svn status, and I'm still not seeing any errors. If there's something on my end masking the publication status issue I don't know what it is.
Grahame Grieve (Dec 14 2017 at 21:17):
you didn't open the generated schema in the right tool
Rob Hausam (Dec 14 2017 at 21:19):
ok - well that's true, since I didn't open it at all - I glossed over that in Rick's comment
Anthony(Tony) Julian (Jan 28 2018 at 23:44):
Unable to publish as preconditions aren't met? Updated via SVN prior to build.
Anthony(Tony) Julian (Jan 28 2018 at 23:53):
publish.ini was not downloaded! checking out entire repository
Melva Peters (Mar 30 2018 at 17:45):
The build says "The job exceeded the maximum time limit for jobs, and has been terminated". Is there something I can do to fix?
Lloyd McKenzie (Mar 30 2018 at 18:40):
When we were getting this before it was because the tool supporting the automated build was flakey
Rob Hausam (Jul 05 2018 at 15:34):
Is anyone else seeing this error on their local build? I've cleaned up publish and am not getting past this one.
[java] ERROR @ /Users/rhausam/SVN/fhir/trunk/build/publish/plandefinition-example-cardiology-os.xml (line 463, col59): plandefinition-example-cardiology-os:: /Users/rhausam/SVN/fhir/trunk/build/publish/plandefinition-example-cardiology-os.xml: cvc-complex-type.2.4.a: Invalid content was found starting with element 'options'. One of '{"http://hl7.org/fhir":readOnly, "http://hl7.org/fhir":maxLength, "http://hl7.org/fhir":answerValueSet, "http://hl7.org/fhir":answerOption, "http://hl7.org/fhir":initial, "http://hl7.org/fhir":item}' is expected. (src = InstanceValidator)
Michelle (Moseman) Miller (Jul 05 2018 at 18:19):
yes, see the thread started here (that got off topic....) -- https://chat.fhir.org/#narrow/stream/9-committers/subject/Workflow-related.20extensions
Michelle (Moseman) Miller (Jul 05 2018 at 18:21):
To summarize, it sounds like the local build fails validation, but the CI build has validation turned off. I was able to commit my changes to build successfully, but I think the expectation is that committers are watching for these local errors and fixing them proactively.
Rob Hausam (Jul 05 2018 at 18:40):
Yes, I saw that discussion. And I think this may be an example of where fixing the local error was missed?
Michelle (Moseman) Miller (Jul 05 2018 at 18:49):
Correct. I got the same error as you did. Since my changes didn't introduce those validation issues, I proceeded to commit my changes (and CI built successfully). I suspect @Grahame Grieve or @Bryn Rhodes will need to look into the PlanDefinition example validation issues.
Michelle (Moseman) Miller (Jul 05 2018 at 18:55):
@Rob Hausam The tricky thing is that committers need to do a local build to discover the validation issues. The CI build will succeed (leading to a false confidence everything is ok).
Grahame Grieve (Jul 05 2018 at 19:00):
my apologies for falling asleep before committing a fix to that. It's really annoying as things stand, but I don't know how to fix them without investing heaps of time I don't have.
Michelle (Moseman) Miller (Jul 05 2018 at 19:01):
@Grahame Grieve you need to sleep! no worries, just wanted to ensure someone was aware.
Bryn Rhodes (Jul 05 2018 at 19:07):
I will take a look at the PlanDefinition validation errors
Grahame Grieve (Jul 05 2018 at 19:17):
I fixed them
Grahame Grieve (Jul 05 2018 at 19:18):
there were 3:
- one was a bug in the validator
- one was an error in the resource itself (a contained value set nothing referred to - now commented out)
- one was a rename in a contained resource that I missed when I renamed the element
John Moehrke (Jul 05 2018 at 19:20):
This is going to be a long weekend. I have lots of changes to make, and the build takes 90 minutes...
Grahame Grieve (Jul 05 2018 at 19:21):
really? it takes that long for me when my computer is shut down due to being overheated.... otherwise, it should be 20-30 min
Grahame Grieve (Jul 05 2018 at 19:28):
what's your CPU, RAM and disk space free?
Grahame Grieve (Jul 06 2018 at 10:41):
For those of you with slow builds... I've just committed something that might help a little: you can now build with the parameter -output [x] and get the all the built files to go somewhere else. The intention is that you would direct the output to a Ram drive (faster than a spinning disk by far, faster than an SSD by a little but doesn't use up your SSD).
Grahame Grieve (Jul 06 2018 at 10:42):
this is for the main build
Grahame Grieve (Jul 06 2018 at 10:43):
e.g. -output r:/fhir if r is your ram drive. I'm using lmDisk for the Ram Drive on windows
Paul Knapp (Jul 09 2018 at 08:27):
The build is crawling today - appears to be dependence on external resources (resource medicationknowledge took 360 seconds) so I tried with --offline and the -tx Terminology server: Check for supported … seems to wait for a long timeout (minutes) then fail or something.
Julie Evans (Jul 13 2018 at 19:22):
Hello - Getting the following build error after a clean SVN download to a new folder. Any thoughts? Thx.
[java] ...EHRS Functional model - Record Lifecycle Events 2.125 24sec 725MB
[java] Copy HTML templates 0.547 25sec 769MB
[java] ...diagram uml-example 0.765 26sec 774MB
[java] ...diagram primitives 0.0 26sec 774MB
[java] ...diagram resources 0.0 26sec 774MB
[java] ...vocab #1 0.0 26sec 774MB
[java] -tx: Terminology server: Check for supported code systems for urn:iso:std:iso:3166
[java] This was a Full Build 2.629 28sec 1614MB
[java] java.lang.NullPointerExceptionFHIR build failure @ Fri, Jul 13, 2018 13:16-0600 1.453 30sec 1614MB
[java]
[java] Error: null at org.hl7.fhir.r4.context.BaseWorkerContext.supportsSystem(BaseWorkerContext.java:324)
[java]
[java] at org.hl7.fhir.tools.publisher.BuildWorkerContext.supportsSystem(BuildWorkerContext.java:251)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.canValidate(ValueSetValidator.java:373)
[java] at org.hl7.fhir.definitions.validation.ValueSetValidator.validate(ValueSetValidator.java:226)
[java] at org.hl7.fhir.tools.converters.ValueSetImporterV3.buildV3ValueSet(ValueSetImporterV3.java:644)
[java] at org.hl7.fhir.tools.converters.ValueSetImporterV3.execute(ValueSetImporterV3.java:435)
[java] at org.hl7.fhir.tools.publisher.Publisher.loadValueSets1(Publisher.java:1222)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:631)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:476)
BUILD FAILED
C:\Users\Julie Evans\Documents\FDA BRIDG Grant\FHIR current build July 13\build.xml:30: The following error occurred while executing this line:
C:\Users\Julie Evans\Documents\FDA BRIDG Grant\FHIR current build July 13\tools\java\org.hl7.fhir.tools.core\build.xml:156: Java returned: 1
Total time: 1 minute 52 seconds
Press any key to continue . . .
Michelle (Moseman) Miller (Jul 13 2018 at 20:08):
I got the same error today, which I think might be due to the terminology service being down, which seems to be happening a lot lately, per https://chat.fhir.org/#narrow/stream/9-committers/topic/Terminology.20Service.20Down
Paul Knapp (Jul 13 2018 at 20:09):
I have the same error, been down for the last 24 hours.
Lloyd McKenzie (Jul 13 2018 at 20:39):
Tx server seems to be up now...
Paul Knapp (Jul 13 2018 at 20:41):
Yes and the null pointer error started, for me at least, when it came up. I have sent Grahame the error log so he should be able to see what is null and then trace from that to the source of the null content. And I still can't build anything locally. And I don't think --offline works anymore as I still see significant external communications when I use that parameter and I still get the error.
John Moehrke (Jul 13 2018 at 21:14):
same here
Grahame Grieve (Jul 16 2018 at 00:19):
I was trying to be on leave last week, and the whole terminology service collapse could not have come at a worse time. I don't know why it only does that when I'm not full time...
Grahame Grieve (Jul 16 2018 at 00:19):
I believe that I'm on top of that, and I'm getting clean builds now...
Grahame Grieve (Jul 16 2018 at 00:19):
except for various validation failures that look like problems in the examples
Chris Moesel (Jul 16 2018 at 13:47):
Thank you, @Grahame Grieve. I can confirm that after downloading the new igpublisher.jar, the terminology error seems to have gone away.
John Moehrke (Jul 16 2018 at 16:10):
build is now working for me again too... thanks
Christopher Schuler (Jul 16 2018 at 16:27):
The terminology issues for the QiCore IG have mostly been resolved as well. I am still getting the following error:
unable to find code 440231000124106 in http://snomed.info/sct
However, this appears to be a valid SNOMED code.
Grahame Grieve (Jul 16 2018 at 19:08):
how recent is it?
Christopher Schuler (Jul 16 2018 at 19:23):
A couple of hours ago with the most recent publisher jar.
Grahame Grieve (Jul 16 2018 at 19:24):
no how recent is the SNOMED concept?
Christopher Schuler (Jul 16 2018 at 19:35):
Sorry... Not sure if this is what you're asking, but according to UMLS Metathesaurus Browser, the SNOMED edition for the code is 731000124108. That is the same edition specified in my IG. It is an old example.
Grahame Grieve (Jul 16 2018 at 19:37):
hmm ok. I will investigate sometime this week
Rik Smithies (Jul 17 2018 at 18:04):
I'm getting MalformedJsonException on a clean build - though the CI seems fine.
Exception in thread "main" java.lang.Error: Exception parsing backbone-elements.json: com.google.gson.stream.MalformedJsonException
How can I diagnose?
Grahame Grieve (Jul 17 2018 at 21:17):
got a stack for that?
Rik Smithies (Jul 17 2018 at 22:35):
thanks - there is this, let me know if something else will help:
[java] Generate Package for D:\work\HL7\FHIR\trunk\build\publish\
[java] .. Loading v3.4.0
[java] .. Conformance Resources
[java] .. Other Resources
[java] Exception in thread "main" java.lang.Error: Exception parsing backbone-elements.json: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.loadFile(SpecNPMPackageGenerator.java:230)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.addToResList(SpecNPMPackageGenerator.java:206)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.generate(SpecNPMPackageGenerator.java:87)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2914)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2226)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:641)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:476)
[java] Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at com.google.gson.JsonParser.parse(JsonParser.java:65)
[java] at com.google.gson.JsonParser.parse(JsonParser.java:45)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.parseJson(SpecNPMPackageGenerator.java:235)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.loadFile(SpecNPMPackageGenerator.java:216)
[java] ... 6 more
[java] Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1572)
[java] at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1421)
[java] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:544)
[java] at com.google.gson.stream.JsonReader.peek(JsonReader.java:427)
[java] at com.google.gson.JsonParser.parse(JsonParser.java:60)
[java] ... 9 more
Eric Haas (Jul 18 2018 at 02:42):
Ran a fresh new build and got this (rev 13961)
[java] Summary: Errors=21, Warnings=10616, Information messages=340 [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/bundle-response.xml (line 50, col39): bundle-response:: /Users/ehaas/Documents/FHIR/working-build/publish/bundle-response.xml: cvc-enumeration-valid: Value 'not-found' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/bundle-response.xml (line 50, col39): bundle-response:: /Users/ehaas/Documents/FHIR/working-build/publish/bundle-response.xml: cvc-attribute.3: The value 'not-found' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ bundle-response: bundle-response:: bundle-response: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/bundle-search-warning.xml (line 25, col36): bundle-search-warning:: /Users/ehaas/Documents/FHIR/working-build/publish/bundle-search-warning.xml: cvc-enumeration-valid: Value 'not-found' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/bundle-search-warning.xml (line 25, col36): bundle-search-warning:: /Users/ehaas/Documents/FHIR/working-build/publish/bundle-search-warning.xml: cvc-attribute.3: The value 'not-found' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ bundle-search-warning: bundle-search-warning:: bundle-search-warning: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example.xml (line 11, col33): operationoutcome-example:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example.xml: cvc-enumeration-valid: Value 'code-invalid' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example.xml (line 11, col33): operationoutcome-example:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example.xml: cvc-attribute.3: The value 'code-invalid' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ operationoutcome-example: operationoutcome-example:: operationoutcome-example: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-exception.xml (line 11, col30): operationoutcome-example-exception:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-exception.xml: cvc-enumeration-valid: Value 'exception' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-exception.xml (line 11, col30): operationoutcome-example-exception:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-exception.xml: cvc-attribute.3: The value 'exception' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ operationoutcome-example-exception: operationoutcome-example-exception:: operationoutcome-example-exception: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-validationfail.xml (line 11, col30): operationoutcome-example-validationfail:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-validationfail.xml: cvc-enumeration-valid: Value 'structure' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-validationfail.xml (line 11, col30): operationoutcome-example-validationfail:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-validationfail.xml: cvc-attribute.3: The value 'structure' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ operationoutcome-example-validationfail: operationoutcome-example-validationfail:: operationoutcome-example-validationfail: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-searchfail.xml (line 11, col33): operationoutcome-example-searchfail:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-searchfail.xml: cvc-enumeration-valid: Value 'code-invalid' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-searchfail.xml (line 11, col33): operationoutcome-example-searchfail:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-searchfail.xml: cvc-attribute.3: The value 'code-invalid' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ operationoutcome-example-searchfail: operationoutcome-example-searchfail:: operationoutcome-example-searchfail: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-break-the-glass.xml (line 17, col31): operationoutcome-example-break-the-glass:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-break-the-glass.xml: cvc-enumeration-valid: Value 'suppressed' is not facet-valid with respect to enumeration '[invalid, security, processing, transient, informational]'. It must be a value from the enumeration. (src = InstanceValidator) [java] ERROR @ /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-break-the-glass.xml (line 17, col31): operationoutcome-example-break-the-glass:: /Users/ehaas/Documents/FHIR/working-build/publish/operationoutcome-example-break-the-glass.xml: cvc-attribute.3: The value 'suppressed' of attribute 'value' on element 'code' is not valid with respect to its type, 'IssueType-list'. (src = InstanceValidator) [java] ERROR @ operationoutcome-example-break-the-glass: operationoutcome-example-break-the-glass:: operationoutcome-example-break-the-glass: #: #: 0 subschemas matched instead of one (src = InstanceValidator) [java] This was a Full Build 7.532 2723sec 1729MB [java] FHIR build failure @ Tue, Jul 17, 2018 19:35-0700 0.669 2724sec 1729MB [java] Error: Resource Examples failed instance validation [java] org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation [java] at org.hl7.fhir.tools.publisher.ExampleInspector.summarise(ExampleInspector.java:401) [java] at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5859) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:651) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:481) BUILD FAILED /Users/ehaas/Documents/FHIR/working-build/build.xml:30: The following error occurred while executing this line: /Users/ehaas/Documents/FHIR/working-build/tools/java/org.hl7.fhir.tools.core/build.xml:156: Java returned: 1
Eric Haas (Jul 18 2018 at 02:43):
which is odd the the CI build passed
Grahame Grieve (Jul 18 2018 at 02:53):
I just fixed that
Grahame Grieve (Jul 18 2018 at 02:54):
the CI build is not running validation at the moment - it takes too long
Eric Haas (Jul 19 2018 at 00:31):
I have fixed my error locally with the v2-487 valueset but am getting the following error which is not what I was working on. I reloaded the build to the commit 13976. Last time I tried to revert to earlier build - my local build crashed and burned
[java] Summary: Errors=200, Warnings=10676, Information messages=396 [java] ERROR @ ActivityDefinition.contained[1].code.coding (line 0, col0): activitydefinition-medicationorder-example:: ActivityDefinition.contained[1].code.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ ActivityDefinition.contained[2].code.coding (line 0, col0): activitydefinition-medicationorder-example:: ActivityDefinition.contained[2].code.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ ActivityDefinition.productReference.contained.code.coding (line 0, col0): activitydefinition-medicationorder-example:: ActivityDefinition.productReference.contained.code.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ ActivityDefinition.contained[1].code.coding: activitydefinition-medicationorder-example:: ActivityDefinition.contained[1].code.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ ActivityDefinition.contained[2].code.coding: activitydefinition-medicationorder-example:: ActivityDefinition.contained[2].code.coding: Terminology service not available (src = InstanceValidator) ....... [java] ERROR @ MedicationAdministration.medicationReference.contained.ingredient[2].itemCodeableConcept.coding (line 0, col0): medicationadministration0302:: MedicationAdministration.medicationReference.contained.ingredient[2].itemCodeableConcept.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ MedicationAdministration.contained.ingredient[1].itemCodeableConcept.coding: medicationadministration0302:: MedicationAdministration.contained.ingredient[1].itemCodeableConcept.coding: Terminology service not available (src = InstanceValidator) [java] ERROR @ MedicationAdministration.contained.ingredient[2].itemCodeableConcept.coding: medicationadministration0302:: Medicatio
Melva Peters (Jul 19 2018 at 17:47):
I'm getting a local build error after doing an update. It is failing dataRequirement as well as questionaireResponse. Is anyone else having these issues?
Eric Haas (Jul 19 2018 at 18:36):
mine works after an update
Bryn Rhodes (Jul 19 2018 at 18:41):
Are you using a flag to skip validating the examples?
Eric Haas (Jul 19 2018 at 18:43):
no, is there a flag? I reloaded the build to the latest build which passed
Eric Haas (Jul 19 2018 at 18:43):
not an update but a rebuild
Bryn Rhodes (Jul 19 2018 at 18:44):
Huh.
Bryn Rhodes (Jul 19 2018 at 18:44):
I'm getting errors validating the resources.
Bryn Rhodes (Jul 19 2018 at 18:44):
I just fixed all the DataRequirement errors with what I just committed.
Bryn Rhodes (Jul 19 2018 at 18:44):
But I still get an error in QuestionnaireResponse, like Melva is reporting.
Eric Haas (Jul 19 2018 at 18:45):
I started from fresh build
Grahame Grieve (Jul 19 2018 at 20:10):
well, what is the error? I'm getting a clean build
Bryn Rhodes (Jul 19 2018 at 20:16):
ERROR @ C:\Users\Bryn\Documents\Src\HL7\FHIR-Dev\publish\questionnaireresponse-example-ussg-fht-answers.xml (line 179, col14): questionnaireresponse-example-ussg-fht-answers:: C:\Users\Bryn\Documents\Src\HL7\FHIR-Dev\publish\questionnaireresponse-example-ussg-fht-answers.xml: cvc-complex-type.2.4.a: Invalid content was found starting with element 'subject'. One of '{"http://hl7.org/fhir":answer, "http://hl7.org/fhir":item}' is expected. (src = InstanceValidator)
Bryn Rhodes (Jul 19 2018 at 20:18):
Which I can't make sense of, that example seems right to me, so I don't know why it's throwing that.
Melva Peters (Jul 19 2018 at 20:26):
This is the error I got related to QuestionaireResponse. [java] ERROR @ /Users/jenaker1/Documents/GForge/FHIRBuild/build/publish/questionnaireresponse-example-ussg-fht-answers.xml (line 179, col14): questionnaireresponse-example-ussg-fht-answers:: /Users/jenaker1/Documents/GForge/FHIRBuild/build/publish/questionnaireresponse-example-ussg-fht-answers.xml: cvc-complex-type.2.4.a: Invalid content was found starting with element 'subject'. One of '{"http://hl7.org/fhir":answer, "http://hl7.org/fhir":item}' is expected. (src = InstanceValidator)
Melva Peters (Jul 19 2018 at 20:26):
I'd also like to know how to skip validation with a flag
Grahame Grieve (Jul 19 2018 at 20:28):
there's no flag that will allow you to skip validation. Why do you even want to do that?
Bryn Rhodes (Jul 19 2018 at 20:30):
I saw this comment: "the CI build is not running validation at the moment - it takes too long" and assumed there was a flag. Apologies for any confusion.
Grahame Grieve (Jul 19 2018 at 20:30):
the CI build knows that it's the CI build. That's the only case doesn't run validation and it's causing us lots of grief but I don't know how to solve it
Melva Peters (Jul 19 2018 at 20:41):
Okay..I understand that and apologize if this is a dumb question. Why is it that others are committing builds successfully but when I try to run locally, the builds fails with errors not related to changes I've made.
Grahame Grieve (Jul 19 2018 at 20:43):
because the CI build isn't running validation. They'll be getting the same failures locally. The CI build isn't running the validation because the build with them takes 48-55 minutes, and the infrastructure the build runs on only allows 50 minutes, at which point it kills the build
Grahame Grieve (Jul 19 2018 at 20:44):
that means that committers need to be more careful to run the validation, but the response has generally been to care less about it
Bryn Rhodes (Jul 19 2018 at 21:16):
Just found and fixed the issue with the QuestionnaireResponse example. The subject element was removed from the item but the example wasn't updated.
Bryn Rhodes (Jul 19 2018 at 21:16):
I just commented it out, so get latest Melva and you should be able to build locally.
Grahame Grieve (Jul 19 2018 at 22:24):
actually, the fix was much more extensive. Hacking an element out isn't really the right solution to a problem...
Bryn Rhodes (Jul 19 2018 at 22:25):
Yeah, I agree, just trying to help get Melva going.
Paul Knapp (Jul 23 2018 at 13:08):
Did an update and clean, now I am getting an error:
[java] Convert C:\GForge\HL7\fhir\publish\dataelements.xml
[java] ....dstu2 in dstu3 format 23.31 642sec 929MB
[java] ....IG Builder (1) 12.8 654sec 1535MB
[java] ....IG Builder (2) 12.577 667sec 1595MB
[java] Generate Package for C:\GForge\HL7\fhir\publish\
[java] .. Loading v3.4.0
[java] .. Conformance Resources
[java] .. Other Resources
[java] Exception in thread "main" java.lang.Error: Exception parsing backbone-elements.json: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.loadFile(SpecNPMPackageGenerator.java:230)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.addToResList(SpecNPMPackageGenerator.java:206)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.generate(SpecNPMPackageGenerator.java:87)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2921)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2233)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:647)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
[java] Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at com.google.gson.JsonParser.parse(JsonParser.java:65)
[java] at com.google.gson.JsonParser.parse(JsonParser.java:45)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.parseJson(SpecNPMPackageGenerator.java:235)
[java] at org.hl7.fhir.tools.converters.SpecNPMPackageGenerator.loadFile(SpecNPMPackageGenerator.java:216)
[java] ... 6 more
[java] Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path $
[java] at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1572)
[java] at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1421)
[java] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:544)
[java] at com.google.gson.stream.JsonReader.peek(JsonReader.java:427)
[java] at com.google.gson.JsonParser.parse(JsonParser.java:60)
[java] ... 9 more
BUILD FAILED
C:\GForge\HL7\fhir\build.xml:30: The following error occurred while executing this line:
C:\GForge\HL7\fhir\tools\java\org.hl7.fhir.tools.core\build.xml:156: Java returned: 1
Total time: 14 minutes 17 seconds
Press any key to continue . . .
Thoughts?
Lloyd McKenzie (Jul 23 2018 at 14:12):
You could try wiping your NPM package cache for 3.4 - on windows it'll be C:\users\[account]\.fhir\packages and then look for the current package and wipe it.
Paul Knapp (Jul 23 2018 at 15:59):
@Lloyd McKenzie I don't have the C:\users\[account]\.fhir directory, could you mean the .ivy2 directory?
Lloyd McKenzie (Jul 23 2018 at 16:00):
You almost certainly have it - it might be hidden on your system though. This is not an ivy issue.
Rik Smithies (Jul 23 2018 at 17:04):
Hi Lloyd, I've had same issue as Paul, for the last couple of weeks (thought everyone did). I can't find a .fhir directory there or anywhere on my C: drive. I have hidden files visible. I can see other "hidden" folders in the same place (e.g. AppData).
Lloyd McKenzie (Jul 23 2018 at 17:23):
Then I don't know what the problem is. You should get a .fhir folder as soon as your IGPublication process gets close to the end because that's where the local NPM cache goes.
Paul Knapp (Jul 23 2018 at 17:42):
No checked and there isn't a hidden .fhir directory under users\account.
Paul Knapp (Jul 23 2018 at 17:56):
So the code is under hl7\fhir\tools\java\org.hl7.tools.core\bin\…. Where is the data it is acting on? Is that the output of the steps after IG guides because that is about where it is failing? Could the content be missing, due to the lack of the directory? ie, could the issue being reported be downstream from the actual issue?
I created the .fhir directory (confirming it wasn't there and is now) and I am running the build to see if the behaviour changes.
No change to the error reported.
Lloyd McKenzie (Jul 23 2018 at 18:54):
Evidently the problem isn't with the content of your cache - because you don't have one. I'm not sure where the problem is though.
Grahame Grieve (Jul 23 2018 at 22:27):
this indicates that you do not have a current version of the code. try running clean.bat from the build folder, clearing the publish directory, and then build again
Paul Knapp (Jul 24 2018 at 06:16):
Did it, no change. Could the error be the json corollary to the other error:
...resource MedicinalProductAuthorization 0.434 394sec 2098MB
[java] ...resource MedicinalProductClinicals 0.384 395sec 2900MB
[java] ...resource MedicinalProductDeviceSpec 1.651 396sec 1286MB
[java] org.hl7.fhir.exceptions.FHIRFormatError: Unknown type ProdCharacteristic
[java] at org.hl7.fhir.r4.formats.XmlParser.parseType(XmlParser.java:22769)
[java] at org.hl7.fhir.r4.formats.XmlParser.parseAnyType(XmlParser.java:47096)
[java] at org.hl7.fhir.r4.formats.XmlParserBase.parseAnyType(XmlParserBase.java:122)
[java] at org.hl7.fhir.r4.formats.ParserBase.parseAnyType(ParserBase.java:76)
[java] at org.hl7.fhir.r4.formats.ParserBase.parseAnyType(ParserBase.java:66)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.parseType(NarrativeGenerator.java:962)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator$BaseWrapperElement.getBase(NarrativeGenerator.java:391)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.renderLeaf(NarrativeGenerator.java:1324)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1123)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1083)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1069)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:1023)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:1016)
[java] at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:4561)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:4162)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2417)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2233)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:647)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
[java] ...resource MedicinalProductIngredient 0.733 397sec 2008MB
[java] ...resource MedicinalProductManufactured 0.685 398sec 2817MB
[java] org.hl7.fhir.exceptions.FHIRFormatError: Unknown type ProdCharacteristic
[java] at org.hl7.fhir.r4.formats.XmlParser.parseType(XmlParser.java:22769)
[java] at org.hl7.fhir.r4.formats.XmlParser.parseAnyType(XmlParser.java:47096)
[java] at org.hl7.fhir.r4.formats.XmlParserBase.parseAnyType(XmlParserBase.java:122)
[java] at org.hl7.fhir.r4.formats.ParserBase.parseAnyType(ParserBase.java:76)
[java] at org.hl7.fhir.r4.formats.ParserBase.parseAnyType(ParserBase.java:66)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.parseType(NarrativeGenerator.java:962)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator$BaseWrapperElement.getBase(NarrativeGenerator.java:391)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.renderLeaf(NarrativeGenerator.java:1324)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1123)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1083)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:1069)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:1023)
[java] at org.hl7.fhir.r4.utils.NarrativeGenerator.generate(NarrativeGenerator.java:1016)
[java] at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:4561)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:4162)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2417)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2233)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:647)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
[java] ...resource MedicinalProductPackaged 0.597 398sec 3176MB
[java] org.hl7.fhir.exceptions.FHIRFormatError: Unknown type ProdCharacteristic
Grahame Grieve (Jul 24 2018 at 06:39):
no not related to that
Grahame Grieve (Jul 24 2018 at 06:42):
hmm I suppose the question is, why does it work for anyone else? weird.... it cannot possibly be failing for you and working for everyone else
Grahame Grieve (Jul 24 2018 at 06:42):
try again after the next build succeeds
Paul Knapp (Jul 24 2018 at 06:43):
Ok, will do. Rik Smithies has the same error.
Paul Knapp (Jul 24 2018 at 06:45):
If the next rendition doesn't work then I suggest adding to the error message what it is failing to process so we can walk that backwards to the problem.
Grahame Grieve (Jul 24 2018 at 06:45):
it's not the error message that is not clear
Paul Knapp (Jul 24 2018 at 06:46):
Agreed error message is clear, but where does it say what file it is processing when it encounters the invalid content?
Grahame Grieve (Jul 24 2018 at 06:47):
Exception parsing backbone-elements.json
Paul Knapp (Jul 24 2018 at 06:52):
Ah, wasn't sure if that was a filename or a concept. File is well formed, no issue parsing it here.
Grahame Grieve (Jul 24 2018 at 06:53):
it's just not a resource. so can't parse it as one. The mystery for me is why you're the only one getting an error parsing a fie that must be parsed that can't be parsed
Paul Knapp (Jul 24 2018 at 09:18):
My build has passed the point of the error and is still processing.
I also added a cleanms.bat file with the correct slashes for Windows so that it does its job completely.
Paul Knapp (Jul 24 2018 at 09:42):
I think that problem is solved, thank you, now for the fresh problem(s):
[java] ...validate profiles-resources 5.615 2013sec 679MB
[java] ...validate profiles-others 126.229 2140sec 695MB
[java] ...validate search-parameters 50.648 2190sec 682MB
[java] search-parameters:: Bundle.entry[1023].resource.target: The value provided ('ElementDefinition') is not in the value set http://hl7.org/fhir/ValueSet/resource-types (http://hl7.org/fhir/ValueSet/resource-types, and a code is required from this value set) (error message = Unknown Code ElementDefinition in http://hl7.org/fhir/ValueSet/resource-types)
[java] search-parameters:: Bundle.entry[1023].resource.target: The value provided ('ElementDefinition') is not in the value set http://hl7.org/fhir/ValueSet/resource-types (http://hl7.org/fhir/ValueSet/resource-types, and a code is required from this value set) (error message = Unknown Code ElementDefinition in http://hl7.org/fhir/ValueSet/resource-types)
[java] ...validate extension-definitions 2.238 2193sec 680MB
[java] Summary: Errors=6, Warnings=66324, Information messages=5546
[java] ERROR @ MedicinalProductDeviceSpec.physicalCharacteristics.image (line 0, col0): medicinalproductdevicespec-example:: MedicinalProductDeviceSpec.physicalCharacteristics.image: If the Attachment has data, it SHALL have a contentType [data.empty() or contentType.exists()] (src = InstanceValidator)
[java] ERROR @ MedicinalProductDeviceSpec.physicalCharacteristics.image: medicinalproductdevicespec-example:: MedicinalProductDeviceSpec.physicalCharacteristics.image: If the Attachment has data, it SHALL have a contentType [data.empty() or contentType.exists()] (src = InstanceValidator)
[java] ERROR @ MedicinalProductIngredient.specifiedSubstance.extension (line 0, col0): medicinalproductingredient-example:: MedicinalProductIngredient.specifiedSubstance.extension: The extension fhir.org/extension/Organization.Contact.ConfidentialityIndicator is unknown, and not allowed here (src = InstanceValidator)
[java] ERROR @ MedicinalProductIngredient.specifiedSubstance.extension: medicinalproductingredient-example:: MedicinalProductIngredient.specifiedSubstance.extension: The extension fhir.org/extension/Organization.Contact.ConfidentialityIndicator is unknown, and not allowed here (src = InstanceValidator)
[java] ERROR @ Bundle.entry[1023].resource.target (line 0, col0): search-parameters:: Bundle.entry[1023].resource.target: The value provided ('ElementDefinition') is not in the value set http://hl7.org/fhir/ValueSet/resource-types (http://hl7.org/fhir/ValueSet/resource-types, and a code is required from this value set) (error message = Unknown Code ElementDefinition in http://hl7.org/fhir/ValueSet/resource-types) (src = InstanceValidator)
[java] ERROR @ Bundle.entry[1023].resource.target: search-parameters:: Bundle.entry[1023].resource.target: The value provided ('ElementDefinition') is not in the value set http://hl7.org/fhir/ValueSet/resource-types (http://hl7.org/fhir/ValueSet/resource-types, and a code is required from this value set) (error message = Unknown Code ElementDefinition in http://hl7.org/fhir/ValueSet/resource-types) (src = InstanceValidator)
[java] This was a Full Build 24.979 2218sec 1960MB
[java] org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation
[java] at org.hl7.fhir.tools.publisher.ExampleInspector.summarise(ExampleInspector.java:401)
[java] at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5860)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:652)
[java] FHIR build failure @ Tue, Jul 24, 2018 12:39+0300 1.886 2219sec 1960MB at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
[java]
[java] Error: Resource Examples failed instance validation
BUILD FAILED
C:\GForge\HL7\fhir\build.xml:30: The following error occurred while executing this line:
C:\GForge\HL7\fhir\tools\java\org.hl7.fhir.tools.core\build.xml:156: Java returned: 1
Total time: 38 minutes 2 seconds
Grahame Grieve (Jul 24 2018 at 12:19):
oh, oops. that wasn't supposed to get committed
Paul Knapp (Jul 24 2018 at 16:26):
Can you remove, cause I'm stuck until these errors get resolved and I get a clean build.
Eric Haas (Jul 30 2018 at 19:01):
how do I get rid of this erro:
Eric Haas (Jul 30 2018 at 19:01):
Eric Haas (Jul 30 2018 at 19:01):
[java] ERROR @ MedicinalProductDeviceSpec.physicalCharacteristics.image (line 0, col0): medicinalproductdevicespec-example:: MedicinalProductDeviceSpec.physicalCharacteristics.image: If the Attachment has data, it SHALL have a contentType [data.empty() or contentType.exists()] (src = InstanceValidator)
[java] ERROR @ MedicinalProductDeviceSpec.physicalCharacteristics.image: medicinalproductdevicespec-example:: MedicinalProductDeviceSpec.physicalCharacteristics.image: If the Attachment has data, it SHALL have a contentType [data.empty() or contentType.exists()] (src = InstanceValidator)
[java] ERROR @ MedicinalProductIngredient.specifiedSubstance.extension (line 0, col0): medicinalproductingredient-example:: MedicinalProductIngredient.specifiedSubstance.extension: The extension fhir.org/extension/Organization.Contact.ConfidentialityIndicator is unknown, and not allowed here (src = InstanceValidator)
[java] ERROR @ MedicinalProductIngredient.specifiedSubstance.extension: medicinalproductingredient-example:: MedicinalProductIngredient.specifiedSubstance.extension: The extension fhir.org/extension/Organization.Contact.ConfidentialityIndicator is unknown, and not allowed here (src = InstanceValidator)
Grahame Grieve (Jul 30 2018 at 19:02):
which specific error?
Eric Haas (Jul 30 2018 at 19:02):
updated to latest. do I need to delete and reload something.
Grahame Grieve (Jul 30 2018 at 19:02):
@Rik Smithies needs to fix those errors ASAP
Eric Haas (Jul 30 2018 at 19:04):
OK I;m commiting a fix for these errors that michelle is getting. surpised that they didn't show up in the CI Build I thought it was case senstive? @Michelle (Moseman) Miller
Eric Haas (Jul 30 2018 at 19:04):
[java] ...final zip 75.637 1552sec 2181MB
[java] Check HTML Links 262.356 1815sec 2657MB
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in dosage-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in chargeitem-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in medicationadministration-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in condition-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in specimen-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in media-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in observation-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in observation-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in cholesterol-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in cholesterol-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in triglyceride-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in triglyceride-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in hdlcholesterol-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in hdlcholesterol-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in ldlcholesterol-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in ldlcholesterol-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in devicemetricobservation-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in devicemetricobservation-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in observation-genetics-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in observation-genetics-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in vitalsigns-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in vitalsigns-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in bodyweight-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in bodyweight-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in resprate-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in resprate-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in heartrate-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in heartrate-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in bodytemp-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in bodytemp-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in bodyheight-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in bodyheight-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in headcircum-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in headcircum-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in oxygensat-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in oxygensat-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in bmi-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in bmi-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in bp-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in bp-definitions.html
[java] Case Error: found extension-observation-focuscode.html looking for extension-observation-focusCode.html in vitalspanel-definitions.html
[java] Case Error: found extension-bodystructure.html looking for extension-bodyStructure.html in vitalspanel-definitions.html
[java] error in path - ../ out of zone in link ../operation-library-data-requirements.html in base clinicalreasoning-topics-using-expressions.html in clinicalreasoning-topics-using-expressions.html
[java] error in path - ../ out of zone in link ../measurereport-examples.html in base clinicalreasoning-quality-reporting.html in clinicalreasoning-quality-reporting.html
[java] Produce 4618 Redirects 113.158 1928sec 4486MB
[java] Exception in thread "main" java.lang.Error: Case mismatch of file C:\buildNEW\publish\StructureDefinition\bodyStructure: found BodyStructure
[java] at org.hl7.fhir.utilities.CSFile.<init>(CSFile.java:66)
Eric Haas (Jul 30 2018 at 19:11):
actually just for a few of these most of these links are generated from profiles for the definitions page.
Grahame Grieve (Jul 30 2018 at 19:22):
I don't kill the build for care sensitivity issues
Rik Smithies (Jul 31 2018 at 16:37):
I'm on it.
Rik Smithies (Aug 09 2018 at 10:41):
I am still regularly getting a build error, even on a clean checkout. Not sure why this is specific to me
[java] Produce 4643 Redirects 105.306 888sec 2481MB
[java] Exception in thread "main" java.lang.Error: Case mismatch of file D:\work\HL7\FHIR\trunkclean2\build\publish\StructureDefinition\bodyStructure: found BodyStructure
[java] at org.hl7.fhir.utilities.CSFile.<init>(CSFile.java:66)
[java] at org.hl7.fhir.utilities.Utilities.createDirectory(Utilities.java:303)
[java] at org.hl7.fhir.tools.publisher.Publisher.generateRedirect(Publisher.java:810)
[java] at org.hl7.fhir.tools.publisher.Publisher.generateRedirects(Publisher.java:796)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:2248)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:647)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
Grahame Grieve (Aug 09 2018 at 11:03):
delete the contents of your publish directory and try again
Rik Smithies (Aug 09 2018 at 12:53):
thanks
Stefan Karl (Aug 10 2018 at 14:39):
I get a similar error from the IG Publisher running on a Windows PC.
build.fhir.org/package.tgz contains two files "package/StructureDefinition-bodyStructure.json" (an Extension) and "package/StructureDefinition-BodyStructure.json" (Resource definition). This doesn't work on Windows systems.
Lloyd McKenzie (Aug 10 2018 at 14:46):
Hmm, yup. That would be problematic. @Eric Haas, did you remove a qualifier from the extension name?
Michelle (Moseman) Miller (Aug 10 2018 at 16:32):
I still have the error and it started when the capitalization changed between bodyStructure vs BodyStructure
Eric Haas (Aug 10 2018 at 17:16):
And unintended consequence of changing it from body-structure to bodyStructure extension. I'll rename to bodyStructureReference
Andy Stechishin (Aug 10 2018 at 18:05):
I am getting the following on fresh checkout and build:
[java] ERROR @ Bundle.entry[266].resource.concept[1].concept[4].concept[7].concept[2].concept[3].concept.modifierExtension[2][url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: v3-codesystems:: Bundle.entry[266].resource.concept[1].concept[4].concept[7].concept[2].concept[3].concept.modifierExtension[2][url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: Extension modifier mismatch: the extension element is labelled as a modifier, but the underlying extension is not (src = InstanceValidator)
[java] ERROR @ Bundle.entry[266].resource.concept[1].concept[4].concept[7].concept[2].concept[3].concept.modifierExtension[2][url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: v3-codesystems:: Bundle.entry[266].resource.concept[1].concept[4].concept[7].concept[2].concept[3].concept.modifierExtension[2][url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: The Extension 'http://hl7.org/fhir/StructureDefinition/codesystem-subsumes' must be used as a modifierExtension (src = InstanceValidator)
[java] ERROR @ Bundle.entry[276].resource.concept[1].concept[4].concept[3].modifierExtension[url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: v3-codesystems:: Bundle.entry[276].resource.concept[1].concept[4].concept[3].modifierExtension[url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: Extension modifier mismatch: the extension element is labelled as a modifier, but the underlying extension is not (src = InstanceValidator)
[java] ERROR @ Bundle.entry[276].resource.concept[1].concept[4].concept[3].modifierExtension[url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: v3-codesystems:: Bundle.entry[276].resource.concept[1].concept[4].concept[3].modifierExtension[url='http://hl7.org/fhir/StructureDefinition/codesystem-subsumes']: The Extension 'http://hl7.org/fhir/StructureDefinition/codesystem-subsumes' must be used as a modifierExtension (src = InstanceValidator)
[java] This was a Full Build 33.264 2192sec 1925MB
[java] FHIR build failure @ Fri, Aug 10, 2018 12:00-0600 0.782 2192sec 1925MB
[java] Error: Resource Examples failed instance validation
[java] org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation
[java] at org.hl7.fhir.tools.publisher.ExampleInspector.summarise(ExampleInspector.java:417)
[java] at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5865)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:652)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
Cooper Thompson (Aug 10 2018 at 19:39):
Yeah, I've been having the same problem for the past 2 days or so. I have so many screens of terminology validation errors I can't really go back and check, but I wonder if this is due to the local.fhir.org issue from that "wrong terminology server" thread from the other day.
Grahame Grieve (Aug 10 2018 at 20:55):
no. that was me. I get a clean build now...
Rob Hausam (Aug 10 2018 at 20:56):
I just got a clean build now, too.
Andy Stechishin (Aug 10 2018 at 21:12):
Build errors are gone for me as well, thanks
Eric Haas (Aug 11 2018 at 08:03):
I am trying to preapply GF#17661 to Observation but am getting the following FHIRPathTests Errors: I don't know how to proceed.
[java] [java] ===Resources with FMM forced to 0=== [java] FHIR Infrastructure: [java] CapabilityStatement(5), Group(1), ImplementationGuide(1), SearchParameter(3), StructureMap(2), TestScript(2) [java] 6.491 1310sec 1747MB [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[9: file testPolymorphismA](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.unit: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[11: file testPolymorphismIsA](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.is(Quantity): Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[12: file testPolymorphismIsA](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value is Quantity: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[13: file testPolymorphismIsB](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.is(Period).not(): Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[14: file testPolymorphismAsA](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.as(Quantity).unit: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[15: file testPolymorphismAsA](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing (Observation.value as Quantity).unit: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[17: file testPolymorphismAsC](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.as(Period).start: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[61: file testLiteralDecimal](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.value > 180.0: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[62: file testLiteralDecimal](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.value > 0.0: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[63: file testLiteralDecimal](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.value > 0: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[64: file testLiteralDecimal](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.value < 190: Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] ERROR @ org.hl7.fhir.r4.test.FHIRPathTests: test[65: file testLiteralDecimal](org.hl7.fhir.r4.test.FHIRPathTests): Unexpected exception parsing Observation.value.value < 'test': Unknown Content encounter @ START_TAG seen ...</subject>\n\t<encounter>... @47:13 (src = Publisher) [java] This was a Full Build 1.058 1311sec 1747MB [java] FHIR build failure @ Fri, Aug 10, 2018 19:56-0700 90.582 1402sec 1747MB [java] java.lang.Exception: Errors executing build. Details logged. [java] at org.hl7.fhir.tools.publisher.Publisher.checkAllOk(Publisher.java:1862) [java] at org.hl7.fhir.tools.publisher.Publisher.runJUnitTests(Publisher.java:5887) [java] Error: Errors executing build. Details logged. at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5806) [java] [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:652) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482)
Grahame Grieve (Aug 11 2018 at 12:23):
you've run into something hardcoded. I'll have to make that change
Eric Haas (Aug 11 2018 at 12:36):
shall I commit ?
Grahame Grieve (Aug 11 2018 at 12:36):
yes why not. I'll patch it up straight away
Eric Haas (Aug 11 2018 at 12:59):
just committed (096d9cd)
Paul Knapp (Aug 19 2018 at 13:36):
@Grahame Grieve We are getting FMM forced to 0 in the build now for resources (e.g. Claim)which have no warnings, only missing RIM mappings and they are FMM2. This is new.
Grahame Grieve (Aug 19 2018 at 19:48):
well, it's fmm2 in what I uploaded
Paul Knapp (Aug 20 2018 at 10:32):
Agreed, but this is the message at the end of the build
Errors: 0 Warnings: 777 Hints: 917
[java]
[java] ===Resources with FMM forced to 0===
[java] Clinical Decision Support:
[java] ActivityDefinition(2), DetectedIssue(1), GuidanceResponse(2), Library(2), PlanDefinition(2), RequestGroup(2), RiskAssessment(1)
[java] Clinical Quality Information:
[java] Measure(2), MeasureReport(2)
[java] FHIR Infrastructure:
[java] CapabilityStatement(5), CompartmentDefinition(1), Group(1), ImplementationGuide(1), NamingSystem(1), OperationDefinition(5), Questionnaire(3), SearchParameter(3), StructureDefinition(5), StructureMap(2), TestScript(2)
[java] Financial Management:
[java] Claim(2), ClaimResponse(2), Contract(1), Coverage(2), CoverageEligibilityRequest(2), CoverageEligibilityResponse(2), ExplanationOfBenefit(2), PaymentReconciliation(2), ProcessRequest(2), ProcessResponse(2), VisionPrescription(1)
[java] Infrastructure And Messaging:
[java] MessageDefinition(1)
[java] Orders and Observations:
[java] BodyStructure(1), DiagnosticReport(3), NutritionOrder(2), Observation(5), ServiceRequest(2), Specimen(2), Substance(2), SupplyRequest(1), Task(2)
[java] Patient Administration:
[java] Account(2), Encounter(2), Endpoint(2), HealthcareService(2), Patient(5)
[java] Patient Care:
[java] CarePlan(2), CareTeam(2), Communication(2), CommunicationRequest(2), Condition(3), FamilyMemberHistory(2), Flag(1), Goal(2), Procedure(3)
[java] Pharmacy:
[java] Medication(3)
[java] Public Health and Emergency Response:
[java] Immunization(3), ImmunizationRecommendation(1)
[java] Security:
[java] Provenance(3)
[java] Vocabulary:
[java] CodeSystem(5), ConceptMap(3)
[java] 2.089 1513sec 1467MB
[java] This was a Full Build
Grahame Grieve (Aug 21 2018 at 10:05):
so it is. I'll worry about it later
Grahame Grieve (Aug 21 2018 at 10:05):
I am uploading the IGs now. What a relief....
Rob Hausam (Aug 21 2018 at 12:30):
@Grahame Grieve It looks like what you uploaded for fhir-ips didn't get the last commit with the history page? I pushed the commit about 3 hours before your post, so it was there in the repo. But when I pushed the auto-build didn't get triggered correctly. There were a few other minor changes to the header, etc., too.
Grahame Grieve (Aug 21 2018 at 12:31):
I had forked off the build a long time before that
Rob Hausam (Aug 21 2018 at 12:31):
ok
Grahame Grieve (Aug 21 2018 at 12:31):
I will migrate the history bit omorrow
Rob Hausam (Aug 21 2018 at 12:33):
Do you want me to add the history details, too? I was trying to figure out how I wanted to do that - either "inside" the row in the markdown table or using some other format.
Grahame Grieve (Aug 21 2018 at 12:33):
just send me the texts this time - I'll insert it directly into the history page, and we can do something cleaner next time.
Grahame Grieve (Aug 21 2018 at 12:34):
I'm not rerunning the process anymore
Rob Hausam (Aug 21 2018 at 12:36):
OK. I had some small header and other text updates, too - might be nice, but they're not crucial if they don't make it.
Grahame Grieve (Aug 23 2018 at 05:16):
so it turns out I made a significant error in the build process, which I now must fix urgently. I specified that the package names for the davinci packages are:
hl7.fhir.us.davinci-crd
hl7.fhir.us.davinci-deqm
Grahame Grieve (Aug 23 2018 at 05:16):
except that - is a reserved letter that cannot be in a package name
Grahame Grieve (Aug 23 2018 at 05:16):
I have to change them to _ instead.
Grahame Grieve (Aug 23 2018 at 05:17):
@Lloyd McKenzie where is this set in the crd build?
Grahame Grieve (Aug 23 2018 at 05:24):
never mind, I'm wrong
Eric Haas (Sep 12 2018 at 22:25):
I made a change to DeviceRequest.context to DeviceRequest.encounter nad updated the example and the build was successful....
I did the same for DiagnosticReport and this is the error... apparently the validator or schematron are not updating for DR?
[java] ERROR @ /Users/ehaas/Documents/FHIR/FHIR-Clone/publish/diagnosticreport-example-f001-bloodexam.xml (line 94, col16): diagnosticreport-example-f001-bloodexam:: /Users/ehaas/Documents/FHIR/FHIR-Clone/publish/diagnosticreport-example-f001-bloodexam.xml: cvc-complex-type.2.4.a: Invalid content was found starting with element 'encounter'. One of '{"http://hl7.org/fhir":context, "http://hl7.org/fhir":occurrenceDateTime, "http://hl7.org/fhir":occurrencePeriod, "http://hl7.org/fhir":occurrenceTiming, "http://hl7.org/fhir":asNeededBoolean, "http://hl7.org/fhir":asNeededCodeableConcept, "http://hl7.org/fhir":authoredOn, "http://hl7.org/fhir":requester, "http://hl7.org/fhir":performerType, "http://hl7.org/fhir":performer, "http://hl7.org/fhir":locationCode, "http://hl7.org/fhir":locationReference, "http://hl7.org/fhir":reasonCode, "http://hl7.org/fhir":reasonReference, "http://hl7.org/fhir":insu0 rance, "http://hl7.org/fhir":supportingInfo, "http://hl7.org/fhir":specimen, "http://hl7.org/fhir":bodySite, "http://hl7.org/fhir":note, "http://hl7.org/fhir":patientInstruction, "http://hl7.org/fhir":relevantHistory}' is expected. (src = InstanceValidator) ... [java] This was a Partial Build 9.617 739sec 1269MB [java] Build: diagnosticreport 0.001 739sec 1269MB [java] org.hl7.fhir.tools.publisher.ExampleInspector$EValidationFailed: Resource Examples failed instance validation [java] at org.hl7.fhir.tools.publisher.ExampleInspector.summarise(ExampleInspector.java:417) [java] at org.hl7.fhir.tools.publisher.Publisher.validationProcess(Publisher.java:5863) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:629) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:482) [java] FHIR build failure @ Wed, Sep 12, 2018 15:17-0700 0.746 739sec 1269MB [java] Error: Resource Examples failed instance validation
Grahame Grieve (Sep 12 2018 at 22:32):
partial builds do not update the validation information.
Grahame Grieve (Sep 12 2018 at 22:32):
if you change an element name, you need a full build
Eric Haas (Sep 12 2018 at 22:34):
I did that before this try where I update the spreadsheet in excel vs text editor in case that made a difference. but I'll give it another try...
Eric Haas (Sep 13 2018 at 18:42):
still not working...I'll try another resource and come back to this one.
Claude Nanjo (Sep 19 2018 at 17:34):
Hello folks, I am getting this non-descriptive error when running the publish script:
Claude Nanjo (Sep 19 2018 at 17:34):
[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.46 27sec 1761MB
[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
[java] at net.sf.saxon.expr.Expression.typeError(Expression.java:1163)
[java] at net.sf.saxon.expr.CardinalityChecker.iterate(CardinalityChecker.java:226)
Claude Nanjo (Sep 19 2018 at 17:34):
Any idea what may be the cause?
Lloyd McKenzie (Sep 19 2018 at 17:39):
Look earlier in the log. This message means that things blew up before the base information needed to generate a list of build issues even existed.
Claude Nanjo (Sep 19 2018 at 17:42):
Thank you Lloyd for the fast reply
Claude Nanjo (Sep 19 2018 at 18:12):
@Lloyd McKenzie There error appears to occur for the default value of a boolean type being 'false'. Seems reasonable but the build does not like it. Is there a format for this column?
Lloyd McKenzie (Sep 19 2018 at 18:16):
Default values aren't allowed anymore.
Claude Nanjo (Sep 19 2018 at 18:22):
This document may need to be updated: http://wiki.hl7.org/index.php?title=FHIR_Spreadsheet_Authoring#Element_Definition_Columns
Grahame Grieve (Sep 19 2018 at 23:41):
well, do you want to update it?
Grahame Grieve (Sep 21 2018 at 01:02):
@Josh Mandel the build error on PR 43 (https://github.com/HL7/fhir/pull/42) - see https://fhir-build.visualstudio.com/build.fhir.org/_build/results?buildId=747&view=logs has me mystified:
Grahame Grieve (Sep 21 2018 at 01:03):
Exception in thread "main" java.lang.NoSuchMethodError: org.hl7.fhir.tools.publisher.PageProcessor.getDiffEngine()Lorg/hl7/fhir/convertors/SpecDifferenceEvaluator;
Grahame Grieve (Sep 21 2018 at 01:03):
this is some kind of compile failure... the source does not have this problem in it
Josh Mandel (Sep 21 2018 at 02:24):
Huh, I'm puzzled too. What version of Java are you using?
Grahame Grieve (Sep 21 2018 at 02:58):
don't know? how can it matter?
Grahame Grieve (Sep 21 2018 at 02:59):
I fixed it by reversing the particular change... but it was evidently not recompiling... something.... but not the whole class.
Grahame Grieve (Sep 21 2018 at 02:59):
that's very strange
Josh Mandel (Sep 21 2018 at 15:25):
In other words, you're saying the build wasn't running from a clean start, yes?
Josh Mandel (Sep 21 2018 at 15:27):
That's possible -- Which PR are you looking at? I see a number of failures like
2018-09-21T09:53:20.4423207Z [java] Error on line 14 2018-09-21T09:53:20.4441330Z [java] XTTE0570: An empty sequence is not allowed as the value of variable $groups 2018-09-21T09:53:20.4458070Z [java] in variable groups 2018-09-21T09:53:20.4476332Z [java] ; SystemID: ; Line#: 14; Column#: -1 2018-09-21T09:53:20.4494499Z [java] net.sf.saxon.trans.XPathException: An empty sequence is not allowed as the value of variable $groups 2018-09-21T09:53:20.4505769Z [java] at net.sf.saxon.expr.Expression.typeError(Expression.java:1163) 2018-09-21T09:53:20.4516735Z [java] at net.sf.saxon.expr.CardinalityChecker.iterate(CardinalityChecker.java:226) 2018-09-21T09:53:20.4528157Z [java] at net.sf.saxon.expr.ItemChecker.iterate(ItemChecker.java:170) 2018-09-21T09:53:20.4538493Z [java] ERROR: Unable to process warnings: An empty sequence is not allowed as the value of variable $groups
from PR 44...
Josh Mandel (Sep 21 2018 at 15:30):
Yes, hmm. I can try enabling "clean" in the Azure DevOps PR build settings if you think it looks like there are files hanging around between builds. (Ideally the build process would be smart enough to rebuild what's needed, but I just enabled this "clean" setting.)
Grahame Grieve (Sep 21 2018 at 21:52):
to me it looked like there was a .class file hanging around between builds. I moved a java class, and it was complaining at runtime that the new class name couldn't be resolved
Grahame Grieve (Sep 21 2018 at 21:52):
that means it wasn't recompiling the java class that referred to the class (which I had updated to refer to the new location)
Josh Mandel (Sep 27 2018 at 13:38):
(since last week, it should now be doing a full clean before each build -- a bit slower but should avoid this class of issue entirely.)
Grahame Grieve (Sep 27 2018 at 13:55):
great thanks. I'll let you know if there's more issues
Melva Peters (Oct 13 2018 at 17:59):
I'm running a local build and am getting 2072 errors all related to this: [java] Summary: Errors=2072, Warnings=38958, Information messages=2970
[java] ERROR @ Bundle.entry[430].resource.concept[15].extension[2] (line 0, col0): v2-tables:: Bundle.entry[430].resource.concept[15].extension[2]: The extension http://hl7.org/fhir/StructureDefinition/codesystem-comments is unknown, and not allowed here (src = InstanceValidator). Any ideas? I made a change to a Snomed Concept hierarchy for a couple of valuesets, but nothing related to v2-tables. Can anyone give me an idea of what this issue is?
Grahame Grieve (Oct 13 2018 at 19:21):
you've missed an update somewhere. use clean.sh in the root of the build which will delete your compiled java files and try again
Lloyd McKenzie (Oct 13 2018 at 21:53):
@Grahame Grieve - master is currently failing on this:
v2-tables:: Bundle.entry[735].resource.concept[3].extension[2]: The extension http://hl7.org/fhir/StructureDefinition/codesystem-comments is unknown, and not allowed here
(plus a few hundred other identical issues
Lloyd McKenzie (Oct 13 2018 at 21:54):
I suspect his is because we yanked that extension and the code hasn't yet replaced it with the new one. But I'm not sure how the yanking got successfully merged...
Grahame Grieve (Oct 13 2018 at 22:28):
The code got changed as well, and I’m getting clean builds. @Josh Mandel this smells like another caching issue on the build server?
Lloyd McKenzie (Oct 13 2018 at 22:31):
I'm hitting the issue on a local build
Lloyd McKenzie (Oct 13 2018 at 22:31):
I've done a pull, have no local changes and am building against master
Lloyd McKenzie (Oct 13 2018 at 22:31):
That shouldn't be a caching issue unless it's with Git Pull (which is a terrifying notion...)
Lloyd McKenzie (Oct 13 2018 at 22:32):
Melva was reporting the same yesterday
Grahame Grieve (Oct 13 2018 at 22:36):
I’m on the road for the next 8-10 hours. The extension was renamed to codesystem-concept-comments and the code was updated for that. If you search the java code, do you find the unrenamed variant? Else you might find it in the Dicom code system. But I very definitely fixed and committed all the places.
Lloyd McKenzie (Oct 13 2018 at 22:38):
That's a bad extension name for something that's supposed to appear everywhere. But I'm not seeing it in the codesystem-extensions spreadsheet.
Lloyd McKenzie (Oct 13 2018 at 22:41):
https://github.com/HL7/fhir/blob/master/source/codesystem/codesystem-extensions-spreadsheet.xml - the word "annotation" doesn't appear anywhere.
Lloyd McKenzie (Oct 13 2018 at 22:42):
I would have expected that change request to have been applied by creating a generic "note" extension in the profiles/general-extensions-spreadsheet with a resource context of *.
Grahame Grieve (Oct 13 2018 at 22:42):
What are you taking about? It’s only used in one place. Name reflects that. Looks like master is building ok - looking at the zulip channel
Grahame Grieve (Oct 13 2018 at 22:42):
That’s a different extension, and I created that.
Lloyd McKenzie (Oct 13 2018 at 22:44):
Sorry, I was assuming this was due to your amalgamating the annotation extensions - still don't see what they got amalgamated to
Lloyd McKenzie (Oct 13 2018 at 22:44):
However Questionnaire defines questionnaire-concept-comments
Grahame Grieve (Oct 13 2018 at 22:44):
It was a different task.
Lloyd McKenzie (Oct 13 2018 at 22:44):
But the code is producing questionnaire-comments
Lloyd McKenzie (Oct 13 2018 at 22:45):
public static final String EXT_CS_COMMENT = "http://hl7.org/fhir/StructureDefinition/codesystem-comments";
Lloyd McKenzie (Oct 13 2018 at 22:45):
In ToolingExtensions.java
Lloyd McKenzie (Oct 13 2018 at 22:45):
Shall I change that to codesystem-concept-comments or do we need an additional extension defined?
Lloyd McKenzie (Oct 13 2018 at 22:46):
(And I'd still like to know where the generic annotation comment is living)
Grahame Grieve (Oct 13 2018 at 22:46):
I can’t see the replacement extension. I’ll look into that when I get back.
Grahame Grieve (Oct 13 2018 at 22:47):
You have a sync problem. Check https://github.com/HL7/fhir/blob/master/implementations/java/org.hl7.fhir.r4/src/org/hl7/fhir/r4/utils/ToolingExtensions.java
Lloyd McKenzie (Oct 13 2018 at 22:56):
I was looking at the STU3 ToolingExtensions - because that's what came up when I searched for the extension that was causing the build error. Running the build again.
Grahame Grieve (Oct 13 2018 at 22:59):
Clean your class files...
Lloyd McKenzie (Oct 13 2018 at 23:08):
Why wouldn't that happen automatically if it's needed?
Grahame Grieve (Oct 13 2018 at 23:08):
It certainly should, but is a common underlying problem when I troubleshoot buold problems.
Josh Mandel (Oct 15 2018 at 18:59):
Just to check after the fact: there's not an issue with the Azure DevOps automated build here after all, right? (There certainly should be no caching as currently configured.)
Grahame Grieve (Oct 15 2018 at 19:02):
no. turned out that when Lloyd said 'master' he meant his local branch, not the master CI Build
John Moehrke (Oct 29 2018 at 13:53):
Im now getting this build error. How to resolve? I have tried a clean build, and tried to delete the cache.
John Moehrke (Oct 29 2018 at 13:54):
reminder it is on some $group variable problem
John Moehrke (Oct 29 2018 at 13:54):
[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 1.066 7sec 160MB [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
John Moehrke (Oct 29 2018 at 16:23):
I assumed this is some problem with updating my repository from master, as I haven't done anything with a core build in weeks. So I created a brand new clone in a different place on my hard drive. and that also doesn't build. Is there something in the system requirements that has changed?
John Moehrke (Oct 29 2018 at 16:26):
first ERROR
[java] ERROR: Bundle.entry[1].fullUrl: Primitive types must have a value that is not empty
[java] ERROR: Bundle.entry[1].fullUrl: All FHIR elements must have a @value or children [hasValue() or (children().count() > id.count())]
[java] warning: WARNING: Bundle.entry[1].resource: A resource should have narrative for robust management [text.div.exists()]
[java] warning: WARNING: Bundle.entry[2].resource: A resource should have narrative for robust management [text.div.exists()]
[java] warning: WARNING: Bundle.entry[1].resource: A resource should have narrative for robust management [text.div.exists()]
[java] warning: WARNING: Bundle.entry[2].resource: A resource should have narrative for robust management [text.div.exists()]
[java] ERROR: /Group/characteristic: Unrecognised property '@value'
[java] warning: WARNING: Group: A resource should have narrative for robust management [text.div.exists()]
[java] ERROR: Group.characteristic: Profile http://hl7.org/fhir/StructureDefinition/Group, Element 'Group.characteristic.value[x]': minimum required = 1, but only found 0
[java] ERROR: /Group/characteristic: Unrecognised property '@valueInteger'
[java] warning: WARNING: Group: A resource should have narrative for robust management [text.div.exists()]
[java] ERROR: Group.characteristic: Profile http://hl7.org/fhir/StructureDefinition/Group, Element 'Group.characteristic.value[x]': minimum required = 1, but only found 0
.....
John Moehrke (Oct 29 2018 at 16:28):
full output publishout.txt
John Moehrke (Oct 29 2018 at 18:14):
fixed with install of jekyll
Grahame Grieve (Oct 29 2018 at 20:10):
so are you sorted with this?
John Moehrke (Oct 29 2018 at 20:42):
I have created a new clone, and yes that new clone is good.
John Moehrke (Oct 29 2018 at 20:43):
but my old clone is still broken... and I don't know how to kill it
Lloyd McKenzie (Oct 29 2018 at 21:14):
Answered in the other thread
David Pyke (Jul 07 2020 at 17:17):
<deleted>
David Pyke (Jul 07 2020 at 17:17):
Is this something I'm doing or something it's doing?
David Pyke (Jul 07 2020 at 17:18):
I'm trying again after deleting all class files
David Pyke (Jul 07 2020 at 17:19):
yep, that fixed it...
Yan Heras (Jul 22 2020 at 17:52):
Is there an issue with the autobuild? My local build is fine and changes were minor, but the build failed when I committed and received this error: 2020-07-22 17:42:36.878 [main] INFO o.h.f.u.c.BasePackageCacheManager [BasePackageCacheManager.java:75] Failed to resolve package hl7.fhir.pubpack#0.0.6 from server: http://packages.fhir.org
2020-07-22 17:44:48.015 [main] INFO o.h.f.u.c.BasePackageCacheManager [BasePackageCacheManager.java:75] Failed to resolve package hl7.fhir.pubpack#0.0.6 from server: http://packages2.fhir.org/packages
Publishing Content Failed: Unable to resolve package id hl7.fhir.pubpack#0.0.6 (02:25.0480)
Yan Heras (Jul 22 2020 at 17:54):
Stack Dump (for debugging): (02:25.0481)
org.hl7.fhir.exceptions.FHIRException: Unable to resolve package id hl7.fhir.pubpack#0.0.6
at org.hl7.fhir.utilities.cache.FilesystemPackageCacheManager.fetchTheOldWay(FilesystemPackageCacheManager.java:651)
at org.hl7.fhir.utilities.cache.FilesystemPackageCacheManager.loadFromPackageServer(FilesystemPackageCacheManager.java:220)
at org.hl7.fhir.utilities.cache.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:473)
at org.hl7.fhir.igtools.publisher.Publisher.loadPubPack(Publisher.java:2260)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1765)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1365)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:702)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7835)
Jose Costa Teixeira (Jul 22 2020 at 17:56):
this is best asked in the IG creation stream https://chat.fhir.org/#narrow/stream/179252-IG-creation
Jose Costa Teixeira (Jul 22 2020 at 17:57):
specifically it's already there
https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/hl7.2Efhir.2Epubpack.20error
Yan Heras (Jul 22 2020 at 17:58):
Thanks!
Melva Peters (Jan 29 2021 at 14:43):
I'm getting the following error when I run the build locally. Any ideas? [java] Missing IsModifierReason on FiveWs.status
[java] Load Resources 3.066 13sec 1441MB
[java] CodeSystem http://hl7.org/fhir/document-relationship-type WG mismatch 4: is sd, want to set to oo
[java] CodeSystem http://hl7.org/fhir/list-mode WG mismatch 4: is sd, want to set to fhir
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/utils/InputStreamStatistics
[java] at org.apache.poi.openxml4j.util.ZipArchiveThresholdInputStream.<init>(ZipArchiveThresholdInputStream.java:62)
[java] at org.apache.poi.openxml4j.opc.internal.ZipHelper.openZipStream(ZipHelper.java:178)
[java] at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:104)
[java] at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:299)
[java] at org.apache.poi.ooxml.util.PackageHelper.open(PackageHelper.java:37)
[java] at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:307)
[java] at org.hl7.fhir.definitions.parsers.spreadsheets.SpreadSheetReloader.process(SpreadSheetReloader.java:88)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.loadResource(SourceParser.java:1253)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:287)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:594)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:488)
[java] Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.utils.InputStreamStatistics
[java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
[java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
[java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
[java] ... 11 more
BUILD FAILED
/Users/jenaker1/Documents/Github/FHIR/build.xml:30: The following error occurred while executing this line:
/Users/jenaker1/Documents/Github/FHIR/tools/java/org.hl7.fhir.tools.core/build.xml:70: Java returned: 1
Jose Costa Teixeira (Jan 29 2021 at 16:25):
are you using the latest spreadsheet format?
Melva Peters (Jan 29 2021 at 16:34):
I am...I make my changes in the spreadsheet that was generated in the build. The build ran successfully before I made changes to some of the descriptions for the attributes. Now the build fails. I deleted my changes. Still failing.
Jose Costa Teixeira (Jan 31 2021 at 22:07):
I get the same thing. Building from a StructureDef works fine, but when I update the spreadsheet after touching the StructureDef, it fails with the same issue.
Brian Postlethwaite (Feb 01 2021 at 02:40):
Same here.
Lloyd McKenzie (Feb 01 2021 at 02:52):
@Grahame Grieve
Grahame Grieve (Feb 02 2021 at 22:07):
this should have nothing do with anything unless you are editing FiveWs which is still done by spreadsheet
Grahame Grieve (Feb 02 2021 at 22:07):
how do I reproduce this?
Rik Smithies (Feb 02 2021 at 22:11):
Different issue but I am seeing this on a clean build and even if I download the git "zip".
BUILD FAILED
D:\work\HL7\FHIR\gittrunk\fhirzip\build.xml:77: impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of org.hl7.fhir#tools: java.io.IOException: Data error (cyclic redundancy check)
Any ideas where I look?
Grahame Grieve (Feb 02 2021 at 22:21):
just hold in place... this is about the swept away
Grahame Grieve (Feb 02 2021 at 22:21):
@Mark Iantorno is working on the build commit now
Mark Iantorno (Feb 02 2021 at 22:21):
I'm like a pot of boiling water, it takes longer if you watch me
Yunwei Wang (Feb 23 2021 at 02:10):
My PR shows this error:
/bin/bash --noprofile --norc /home/markiantorno/azure-pipelines/_work/_temp/5c655815-d548-46d3-ba4a-3f37e29bed7d.sh
chmod: cannot access '/home/markiantorno/azure-pipelines/_work/_temp/deploy.rsa': No such file or directory
Publishing to target FHIR-26831
/home/markiantorno/azure-pipelines/_work/_temp/5c655815-d548-46d3-ba4a-3f37e29bed7d.sh: line 5: BUILD_FHIR_ORG_USERNAME: command not found
Warning: Identity file /home/markiantorno/azure-pipelines/_work/_temp/deploy.rsa not accessible: No such file or directory
How do I fix this?
Lloyd McKenzie (Feb 23 2021 at 03:35):
@Mark Iantorno
Mark Iantorno (Feb 23 2021 at 14:13):
Please link to the build and I will investigate. This message is saying that the pipeline cannot read the key file in the azure system it needs to deploy...which should be happening for all the runs if this is an issue.
Mark Iantorno (Feb 23 2021 at 14:13):
Once you link the build to me, I'll take a look
Yunwei Wang (Feb 23 2021 at 15:12):
Hi @Mark Iantorno Here is the PR link: https://github.com/HL7/fhir/pull/1104
Mark Iantorno (Feb 23 2021 at 15:38):
Alright, I queued it to run again so I can see what's up. That error should not be happening.
Mark Iantorno (Feb 23 2021 at 15:38):
I'll look at it once it runs again
Yunwei Wang (Feb 25 2021 at 03:01):
@Mark Iantorno
I close the previous PR b/c the target branch is not correct. I created a new one https://github.com/HL7/fhir/pull/1115 but I received the same error
========================== Starting Command Output ===========================
/bin/bash --noprofile --norc /home/markiantorno/azure-pipelines/_work/_temp/46c8e13a-f6b3-4406-89cf-733c85a980bc.sh
chmod: cannot access '/home/markiantorno/azure-pipelines/_work/_temp/deploy.rsa': No such file or directory
Publishing to target FHIR-26831-R4B
/home/markiantorno/azure-pipelines/_work/_temp/46c8e13a-f6b3-4406-89cf-733c85a980bc.sh: line 5: BUILD_FHIR_ORG_USERNAME: command not found
Warning: Identity file /home/markiantorno/azure-pipelines/_work/_temp/deploy.rsa not accessible: No such file or directory.
usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
##[error]Bash exited with code '255'.
Finishing: Bas
Mark Iantorno (Feb 25 2021 at 03:04):
Have you pulled the latest from the R4B branch into your branch?
Mark Iantorno (Feb 25 2021 at 03:34):
I just checked and you have not pulled the latest changes from R4B into your branch @Yunwei Wang . The build will not work until this is done.
Yunwei Wang (Feb 25 2021 at 17:11):
I merged upstream/R4B to my fork/R4B and rebased FHRI-26831-R4B branch this morning. But PR build results the same error. @Mark Iantorno
Marc Duteau (Feb 25 2021 at 19:21):
I noticed that both @Yunwei Wang and I are making our pull requests from a fork rather than from a branch and pull requests that are passing seem to all be from branches. Not sure if that’s the reason but it’s at least an interesting difference.
Mark Iantorno (Feb 25 2021 at 19:30):
This is true, they are on a fork, but I have checked out the branch and it is not up to date. Regardless of if it's a fork or just branch, until the current changes on R4B are pulled into the branch, it will not work.
Mark Iantorno (Feb 25 2021 at 19:31):
Can you please run a git pull origin R4B
on your current branch.
Mark Iantorno (Feb 25 2021 at 19:35):
Then commit and push those changes to you branch and I will look
Yunwei Wang (Feb 25 2021 at 19:40):
I already rebased to the latest R4B. Here is a snapshot of branching:
image.png
Mark Iantorno (Feb 25 2021 at 19:41):
can you execute the command git pull origin R4B
and please tell me the output
Yunwei Wang (Feb 25 2021 at 19:42):
And this is the git commands I used:
git fetch upstream
git checkout R4B
git merge upstream/R4B
git checkout FHIR-26831-R4B
git rebase R4B
git push --force
Mark Iantorno (Feb 25 2021 at 19:42):
can you execute the command git pull origin R4B
and please tell me the output
Mark Iantorno (Feb 25 2021 at 19:43):
That will tell me if something is off
Yunwei Wang (Feb 25 2021 at 19:44):
MM247345-PC:fhir yunweiw$ git pull origin R4B
From https://github.com/yunwwang/fhir
* branch R4B -> FETCH_HEAD
Already up to date.
Mark Iantorno (Feb 25 2021 at 19:44):
great thanks
Mark Iantorno (Feb 25 2021 at 19:44):
when you build locally, it builds?
Vassil Peytchev (Feb 25 2021 at 19:44):
You are missing:
git checkout FHIR-26831-R4B
git merge --no-ff R4B
Vassil Peytchev (Feb 25 2021 at 19:45):
I am not sure rebase
does the same thing
Yunwei Wang (Feb 25 2021 at 19:45):
Yes. rebase
is similar to merge
Mark Iantorno (Feb 25 2021 at 19:47):
I'm cloning and looking at your branch right now
Yunwei Wang (Feb 25 2021 at 19:47):
I will run ./gradlew publish
again to see if there is any error
Mark Iantorno (Feb 25 2021 at 19:49):
@Yunwei Wang please add me as a contributor to your repo
Mark Iantorno (Feb 25 2021 at 19:49):
markiantorno
Mark Iantorno (Feb 25 2021 at 19:49):
:point_up: that is my username on github
Yunwei Wang (Feb 25 2021 at 19:50):
done
Mark Iantorno (Feb 25 2021 at 19:51):
ty
Mark Iantorno (Feb 25 2021 at 19:54):
Okay I've determined the issue
Mark Iantorno (Feb 25 2021 at 19:56):
@Jean Duteau had the right idea, it is because you both forked the repo
Mark Iantorno (Feb 25 2021 at 19:56):
Now I have to decide if I want to support forks or not,
Yunwei Wang (Feb 25 2021 at 19:58):
That was what we were told that we should not create branch on hl7/fhir (actually that was my first attempt but I could not publish my dev branch), instead we should create a fork and create PR from our own fork.
Rob Hausam (Feb 25 2021 at 19:59):
@Mark Iantorno There are obviously some differences that need to be accounted for in using a fork rather than a branch, but both should be well within standard practice. If using a fork somehow isn't supported, can you explain what the issue is and why that wouldn't work?
Mark Iantorno (Feb 25 2021 at 19:59):
I am making changes to support forks now
Mark Iantorno (Feb 25 2021 at 19:59):
The issue is allowing external repos to have access to my secure keys for building
Mark Iantorno (Feb 25 2021 at 20:00):
In the pipeline
Rob Hausam (Feb 25 2021 at 20:00):
OK. That's interesting, but makes some sense.
Mark Iantorno (Feb 25 2021 at 20:02):
Yeah, it's new to me
Yunwei Wang (Feb 25 2021 at 20:02):
That is hard decision. Either allowing external fork to create PR or allowing people to create/publish branches to HL7/fhir
Mark Iantorno (Feb 25 2021 at 20:03):
Forks should now trigger as normal
Mark Iantorno (Feb 25 2021 at 20:03):
please close and open the pull request to cause it to re-trigger the PR pipeline
Mark Iantorno (Feb 25 2021 at 20:05):
If there are any further issues, let me know.
Last updated: Apr 12 2022 at 19:14 UTC