FHIR Chat · improve error messages · IG creation

Stream: IG creation

Topic: improve error messages


view this post on Zulip Jens Villadsen (Jul 01 2020 at 19:38):

From time to time I happen to fall upon errors like the following:

Exception in thread "main" java.lang.Error: Error generating build: the file /Users/jvi/dk-medcom/temp/pages/_includes/Encounter-example-validation.xhtml is being generated more than once (may differ by case)
    at org.hl7.fhir.igtools.publisher.Publisher.checkMakeFile(Publisher.java:2808)
    at org.hl7.fhir.igtools.publisher.Publisher.fragment(Publisher.java:7109)
    at org.hl7.fhir.igtools.publisher.Publisher.saveFileOutputs(Publisher.java:6586)
    at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:6167)
    at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4622)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:849)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:698)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7533)

I've learned that this usually means that a resource ID used as a reference does not exist - so I would like to know if this error message could be improved @Grahame Grieve ?

view this post on Zulip Jens Villadsen (Jul 01 2020 at 19:42):

or as in this case - duplicates of Id's

view this post on Zulip Grahame Grieve (Jul 01 2020 at 20:09):

I just added a fix for this - to specifically look for duplicate IDs. You shouldn't get this message anymore


Last updated: Apr 12 2022 at 19:14 UTC