Stream: IG creation
Topic: Jurisdication value set crashes IG Publisher
Mark Kramer (May 01 2019 at 13:21):
This particular value set: http://hl7.org/fhir/ValueSet/jurisdiction causes an IG publisher crash. I'm using a version downloaded on April 8. Here's the key part of the output:
Terminology server: Check for supported code systems for urn:iso:std:iso:3166
Publishing Content Failed: 1 (00:01:10.0570sec)
(00:01:10.0570sec)
Use -? to get command line help (00:01:10.0571sec)
(00:01:10.0571sec)
Stack Dump (for debugging): (00:01:10.0572sec)
java.lang.ArrayIndexOutOfBoundsException: 1
at org.hl7.fhir.igtools.publisher.ValidationServices.fetch(ValidationServices.java:71)
at org.hl7.fhir.r5.validation.InstanceValidator.checkReference(InstanceValidator.java:1752)
at org.hl7.fhir.r5.validation.InstanceValidator.validateElement(InstanceValidator.java:3770)
at org.hl7.fhir.r5.validation.InstanceValidator.validateElement(InstanceValidator.java:3780)
at org.hl7.fhir.r5.validation.InstanceValidator.validateElement(InstanceValidator.java:3850)
at org.hl7.fhir.r5.validation.InstanceValidator.validateElement(InstanceValidator.java:3780)
at org.hl7.fhir.r5.validation.InstanceValidator.start(InstanceValidator.java:2716)
at org.hl7.fhir.r5.validation.InstanceValidator.validateResource(InstanceValidator.java:4086)
at org.hl7.fhir.r5.validation.InstanceValidator.validate(InstanceValidator.java:737)
at org.hl7.fhir.r5.validation.InstanceValidator.validate(InstanceValidator.java:697)
at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:2928)
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2589)
at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2253)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:619)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:558)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:5162)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:5172)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Chris Moesel (May 01 2019 at 13:27):
@Grahame Grieve -- is there somewhere I can download the most recent version of the IGPublisher that still uses the old architecture (e.g., not the new one that no longer uses ig.json)? I know there were fixes to it post Apr 8, but now the current build only points to the new jar on Maven. I tried to build from source (on the commit right before you removed igpublisher) but OpenJDK doesn't include JavaFX, so the build fails.
Lloyd McKenzie (May 01 2019 at 13:53):
The new one still works with ig.json. (I haven't converted any of my IGs and it runs fine)
Chris Moesel (May 01 2019 at 18:47):
Oh. Great. Then we'll give it a shot. Thanks, @Lloyd McKenzie.
Grahame Grieve (May 03 2019 at 10:23):
right. I'll be supporting dual path for at least a few months
Grahame Grieve (May 04 2019 at 09:31):
@Mark Kramer is there a way for me to reproduce this?
Last updated: Apr 12 2022 at 19:14 UTC