FHIR Chat · Logged java error on version comparison · IG creation

Stream: IG creation

Topic: Logged java error on version comparison


view this post on Zulip Jean Duteau (Aug 18 2020 at 16:18):

There is a file case mismatch that is causing the publisher to log a Java stack trace:

java.lang.Error: Case mismatch of file /Users/jeanduteau/Documents/DDIWork/Gevity/PriorAuthorization/davinci-pas/temp/pages/comparison-v0.1.0/xx-extension-patientstatus-extension-patientstatus.html: found xx-extension-patientStatus-extension-patientStatus.html
    at org.hl7.fhir.utilities.CSFile.<init>(CSFile.java:69)
    at org.hl7.fhir.utilities.TextFile.stringToFile(TextFile.java:117)
    at org.hl7.fhir.r5.comparison.ComparisonRenderer.renderPlaceHolder(ComparisonRenderer.java:136)
    at org.hl7.fhir.r5.comparison.ComparisonRenderer.renderComparison(ComparisonRenderer.java:123)
    at org.hl7.fhir.r5.comparison.ComparisonRenderer.processList(ComparisonRenderer.java:88)
    at org.hl7.fhir.r5.comparison.ComparisonRenderer.render(ComparisonRenderer.java:66)
    at org.hl7.fhir.igtools.publisher.PreviousVersionComparator.finishChecks(PreviousVersionComparator.java:270)
    at org.hl7.fhir.igtools.publisher.Publisher.checkConformanceResources(Publisher.java:3786)
    at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3712)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:855)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:716)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:7945)

view this post on Zulip Grahame Grieve (Aug 18 2020 at 19:44):

does it make any difference if you delete that file before running?

view this post on Zulip Jean Duteau (Aug 18 2020 at 19:46):

i'll try that but I don't think so as I have blown away my input/temp/output before

view this post on Zulip Jean Duteau (Aug 18 2020 at 19:54):

The issue was that the extension in 0.1.0 was patientStatus and in my current it is patientstatus. That shouldn't matter, but for the sake of not having the error appear, I changed current back to patientStatus.

view this post on Zulip Grahame Grieve (Aug 18 2020 at 19:59):

hmm I'll investigate that. can I reproduce from before you fixed it?

view this post on Zulip Jean Duteau (Aug 18 2020 at 20:01):

yes, davinci-pas guide. I just undid the fix.

view this post on Zulip Grahame Grieve (Aug 18 2020 at 20:23):

ok got it, you can re-fix

view this post on Zulip Grahame Grieve (Aug 18 2020 at 20:24):

oh no - it built ok for me


Last updated: Apr 12 2022 at 19:14 UTC