Stream: IG creation
Topic: NPE on VersionCheckRenderer
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?
Eric Haas (Oct 02 2020 at 03:01):
me too
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
Grahame Grieve (Oct 02 2020 at 03:17):
in your root, not your input.
Grahame Grieve (Oct 02 2020 at 03:17):
I should get a release out shorty
Eric Haas (Oct 02 2020 at 03:47):
where are the category values for the package list json ? (e.g. category: Financial)
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
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.
Grahame Grieve (Oct 02 2020 at 19:50):
should be done now
Chris Moesel (Oct 02 2020 at 19:58):
Confirmed. Thanks!
Last updated: Apr 12 2022 at 19:14 UTC