FHIR Chat · ArrayIndexOutOfBoundsException · IG creation

Stream: IG creation

Topic: ArrayIndexOutOfBoundsException


view this post on Zulip Nathan Davis (Jan 19 2022 at 00:50):

I have no idea of how to solve this problem.

Publishing Content Failed: -1                                                    (05:49.0340)
                                                                                 (05:49.0342)
Use -? to get command line help                                                  (05:49.0344)
                                                                                 (05:49.0346)
Stack Dump (for debugging):                                                      (05:49.0347)
java.lang.ArrayIndexOutOfBoundsException: -1
        at org.hl7.fhir.igtools.renderers.ValidationPresenter.determineCode(ValidationPresenter.java:304)
        at org.hl7.fhir.igtools.renderers.ValidationPresenter.<init>(ValidationPresenter.java:291)
        at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:961)
        at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:794)
        at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8942)

Has anyone else seen this?
My IG repo is https://github.com/nrdavis1/vitals_fsh in case you want to reproduce the error.

view this post on Zulip David Pyke (Jan 19 2022 at 00:51):

@Grahame Grieve

view this post on Zulip Lloyd McKenzie (Jan 19 2022 at 05:44):

It means there's something broken with your packageId - specifically, it's not finding the realm portion.

view this post on Zulip Lloyd McKenzie (Jan 19 2022 at 05:45):

I'm not sure where the package-id lives for sushi IGs so I can't look at the specific issue easily.

view this post on Zulip Gino Canessa (Jan 19 2022 at 05:57):

It’s in sushi-config.yaml. The id needs to be formatted as hl7.fhir.us.cimi-vital-signs

view this post on Zulip Nathan Davis (Jan 19 2022 at 14:14):

Thanks all. I didn't have that parameter in my sushi-config.yaml file. Adding it did the trick.


Last updated: Apr 12 2022 at 19:14 UTC