Stream: IG creation
Topic: latest IG-pub is erroring on dependencies
Eric Haas (Feb 28 2018 at 21:01):
latest IG-pub is erroring on dependencies. Specifically on US-Core Procedure profile getting a json parse error.. using a pre Dec2107 version of ig publisher right now and it is fine. BTW I checked the US Core Procedure SD and it validated for me using VONK.
Publishing Content Failed: Unable to parse StructureDefinition-us-core-procedure.json from IG uscore (51.0315sec) (51.0315sec) Use -? to get command line help (51.0315sec) (51.0315sec) Stack Dump (for debugging): (51.0316sec) java.lang.Exception: Unable to parse StructureDefinition-us-core-procedure.json from IG uscore at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:1152) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:868) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:351) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4099) Caused by: java.lang.ClassCastException: com.google.gson.JsonPrimitive cannot be cast to com.google.gson.JsonArray at com.google.gson.JsonObject.getAsJsonArray(JsonObject.java:172) at org.hl7.fhir.r4.formats.JsonParser.parseElementDefinitionTypeRefComponentProperties(JsonParser.java:1571) at org.hl7.fhir.r4.formats.JsonParser.parseElementDefinitionTypeRefComponent(JsonParser.java:1545) at org.hl7.fhir.r4.formats.JsonParser.parseElementDefinitionProperties(JsonParser.java:1392) at org.hl7.fhir.r4.formats.JsonParser.parseElementDefinition(JsonParser.java:1303) at org.hl7.fhir.r4.formats.JsonParser.parseStructureDefinitionStructureDefinitionSnapshotComponentProperties(JsonParser.java:20558) at org.hl7.fhir.r4.formats.JsonParser.parseStructureDefinitionStructureDefinitionSnapshotComponent(JsonParser.java:20549) at org.hl7.fhir.r4.formats.JsonParser.parseStructureDefinitionProperties(JsonParser.java:20516) at org.hl7.fhir.r4.formats.JsonParser.parseStructureDefinition(JsonParser.java:20371) at org.hl7.fhir.r4.formats.JsonParser.parseResource(JsonParser.java:24358) at org.hl7.fhir.r4.formats.JsonParserBase.parse(JsonParserBase.java:90) at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:1150) ... 3 more Exception in thread "main" java.lang.NullPointerException at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4109)
Grahame Grieve (Feb 28 2018 at 22:18):
this is the key line:
Version mismatch. This IG is version 3.2.0, while the IG 'argopd' is from version 3.1.0. Will try to run anyway) (00:04:40.0608sec)
Grahame Grieve (Feb 28 2018 at 22:18):
3.1.0 is no longer supported - it's an orphan
Grahame Grieve (Feb 28 2018 at 22:19):
it has to be either 3.0.1 or 3.2.0
Eric Haas (Feb 28 2018 at 23:12):
OK thanks, (I thought I had this whole version thing cleared up in August :-( )
Lloyd McKenzie (Feb 28 2018 at 23:14):
"Cleared up" is often a temporary thing :)
Grahame Grieve (Feb 28 2018 at 23:14):
if you work post 3.0.1, then nothing will be stable. And I just rung up the changes for coming normative. We're not done yet either - a couple more candidate changes to close out this weekend
Eric Haas (Feb 28 2018 at 23:45):
a heads up to all who are trying to reference US Core. after inspecting the definitions file for the latest published version the only place that has 3.1.0 is in the 'spec internals' file.
@Grahame Grieve Can I go in there an manually make the changes to the definitions files for the last published US Core build? ( not now .. but when I get a chance of course )
Grahame Grieve (Mar 01 2018 at 00:21):
which spec internals file?
Eric Haas (Mar 01 2018 at 01:16):
http://hl7.org/fhir/us/core/1.0.1/index.html
Grahame Grieve (Mar 01 2018 at 01:19):
ah oh. well, the only option we have is for you to build the dependencies locally, and depend on them.
Grahame Grieve (Mar 01 2018 at 01:20):
there's something wrong with that, but I don't think I can pull a proper solution out of my hat
Eric Haas (Mar 01 2018 at 01:23):
ok
Last updated: Apr 12 2022 at 19:14 UTC