FHIR Chat · org.hl7.fhir.r5.model.ImplementationGuide cannot be cast to · committers

Stream: committers

Topic: org.hl7.fhir.r5.model.ImplementationGuide cannot be cast to


view this post on Zulip Chris Moesel (Sep 15 2020 at 21:12):

Looks like there's a pretty consistent (and I think fresh) bug in the IG Publisher. I saw this locally and just confirmed it's happening in the autobuild too. Example from the latest pacio build log:

onGenerate:
Exception generating resource /scratch/ig-build-temp-UZYCCG/repo/input/ImplementationGuide-pacio::ImplementationGuide/pacio: class org.hl7.fhir.r5.model.ImplementationGuide cannot be cast to class org.hl7.fhir.r5.model.Questionnaire (org.hl7.fhir.r5.model.ImplementationGuide and org.hl7.fhir.r5.model.Questionnaire are in unnamed module of loader 'app') (00:41.0235)
java.lang.ClassCastException: class org.hl7.fhir.r5.model.ImplementationGuide cannot be cast to class org.hl7.fhir.r5.model.Questionnaire (org.hl7.fhir.r5.model.ImplementationGuide and org.hl7.fhir.r5.model.Questionnaire are in unnamed module of loader 'app')
    at org.hl7.fhir.igtools.publisher.Publisher.generateResourceHtml(Publisher.java:6632)
    at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:6564)
    at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4849)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:871)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:717)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8276)
   org.hl7.fhir.igtools.publisher.Publisher.generateResourceHtml(Publisher.java:6632) (00:41.0236)
   org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:6564) (00:41.0236)
   org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:4849)        (00:41.0236)
   org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:871)         (00:41.0236)
   org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:717)          (00:41.0236)
   org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8276)            (00:41.0236)

view this post on Zulip Grahame Grieve (Sep 15 2020 at 22:23):

I know this will be an obscure response, but I hate maven

view this post on Zulip Grahame Grieve (Sep 15 2020 at 22:25):

I will get a new build out just as soon as I can (back into battle with maven once more)

view this post on Zulip Chris Moesel (Sep 16 2020 at 13:26):

Seems to be fixed now. Thanks, Grahame!


Last updated: Apr 12 2022 at 19:14 UTC