FHIR Chat · NPE on VersionCheckRenderer · IG creation

Stream: IG creation

Topic: NPE on VersionCheckRenderer


view this post on Zulip Chris Moesel (Oct 02 2020 at 02:33):

I'm getting this on a very simple IG I'm building w/ SUSHI:

Final .zip built                                                                 (00:21.0925)
Publishing Content Failed: null                                                  (00:22.0221)
                                                                                 (00:22.0221)
Use -? to get command line help                                                  (00:22.0221)
                                                                                 (00:22.0222)
Stack Dump (for debugging):                                                      (00:22.0222)
java.lang.NullPointerException
    at org.hl7.fhir.igtools.renderers.VersionCheckRenderer.getVersion(VersionCheckRenderer.java:130)
    at org.hl7.fhir.igtools.renderers.VersionCheckRenderer.generate(VersionCheckRenderer.java:42)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:887)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:725)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8335)

The IG output index.html looks fine and the IG seems right -- but I noticed there is no qa.html. I also noticed this is happening to @Michelle Casagni 's fsh-pct IG too (link to failed build message). Any ideas? Is there some new(ish) requirement that SUSHI is not generating?

view this post on Zulip Eric Haas (Oct 02 2020 at 03:01):

me too

view this post on Zulip Grahame Grieve (Oct 02 2020 at 03:17):

you need a file package-list.json that is some valid json object. That's a work around for a bug that will be fixed next release. It's not required in principle, but I screwed up my logic and crash if it's not there. Already fixed, but not released yet

view this post on Zulip Grahame Grieve (Oct 02 2020 at 03:17):

in your root, not your input.

view this post on Zulip Grahame Grieve (Oct 02 2020 at 03:17):

I should get a release out shorty

view this post on Zulip Eric Haas (Oct 02 2020 at 03:47):

where are the category values for the package list json ? (e.g. category: Financial)

view this post on Zulip Grahame Grieve (Oct 02 2020 at 03:52):

look at the category drop down here: http://www.fhir.org/guides/registry/. If your guide is already registered there, use what it already has. Otherwise if none are appropriate consult me

view this post on Zulip Chris Moesel (Oct 02 2020 at 12:43):

Thanks, Grahame. Looking forward to that release, as we removed package-list.json generation from the SUSHI 1.0.0 beta. Glad to hear it's in the works.

view this post on Zulip Grahame Grieve (Oct 02 2020 at 19:50):

should be done now

view this post on Zulip Chris Moesel (Oct 02 2020 at 19:58):

Confirmed. Thanks!


Last updated: Apr 12 2022 at 19:14 UTC