Stream: IG creation
Topic: Trifolia publishing error caused by IG publisher
Cheng Liu (Apr 29 2020 at 16:09):
@Grahame Grieve @Lloyd McKenzie @Lisa Nelson
Our IG failed to publish in Trifolia with the errors below:
java.lang.NullPointerException
at java.io.FilterInputStream.markSupported(FilterInputStream.java:243)
at org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.(GzipCompressorInputStream.java:160)
at org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.(GzipCompressorInputStream.java:131)
at org.hl7.fhir.utilities.cache.NpmPackage.readStream(NpmPackage.java:273)
at org.hl7.fhir.utilities.cache.NpmPackage.fromPackage(NpmPackage.java:268)
at org.hl7.fhir.utilities.cache.PackageCacheManager.addPackageToCache(PackageCacheManager.java:567)
at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:680)
at org.hl7.fhir.igtools.templates.TemplateManager.loadPackage(TemplateManager.java:172)
at org.hl7.fhir.igtools.templates.TemplateManager.installTemplate(TemplateManager.java:82)
at org.hl7.fhir.igtools.templates.TemplateManager.loadTemplate(TemplateManager.java:68)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1233)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1174)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:655)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6705)
We contacted Lantana group, but they said this should be the IG publisher issue. Please check.
Thank you,
Cheng
Lloyd McKenzie (Apr 29 2020 at 16:12):
Is Trifolia grabbing the latest publisher from its new location?
Cheng Liu (Apr 29 2020 at 16:57):
@Sean McIlvenna I think this is the question for Sean. When we publish, we always selected the current version of IG publisher in the dropdown list.
Sean McIlvenna (Apr 29 2020 at 17:24):
@Lloyd McKenzie what do you mean "new location"? has it moved again in the last month?
Sean McIlvenna (Apr 29 2020 at 17:25):
this is the last "new location" I was aware of: https://github.com/FHIR/latest-ig-publisher/raw/master/org.hl7.fhir.publisher.jar
Sean McIlvenna (Apr 29 2020 at 17:25):
which is where ToF gets the "latest" ig publisher from right now
Jose Costa Teixeira (Apr 29 2020 at 17:25):
https://storage.googleapis.com/ig-build/org.hl7.fhir.publisher.jar
Sean McIlvenna (Apr 29 2020 at 17:25):
great, moved again
Sean McIlvenna (Apr 29 2020 at 17:25):
I'll update ToF to pull from that location then
Lisa Nelson (Apr 29 2020 at 17:35):
@Grahame Grieve @Lloyd McKenzie How do we know if someone is working on a reported problem?
Sean McIlvenna (Apr 29 2020 at 17:37):
https://trifolia-fhir-dev.lantanagroup.com has been updated to use the new "latest ig publisher" location
Sean McIlvenna (Apr 29 2020 at 17:37):
working on production now, now that I know it works in dev
Lisa Nelson (Apr 29 2020 at 17:37):
@Grahame Grieve @Lloyd McKenzie How do we know if someone is working on a reported problem. When Trifolia can't publish is sort of "halts the presses". Nothing can get done. Do we get notice of an ETA for a fix?
Lisa Nelson (Apr 29 2020 at 17:38):
I see the rest of the tread now.
Sean McIlvenna (Apr 29 2020 at 17:51):
the production installation (https://trifolia-fhir.lantanagroup.com) has been updated to use the new "latest ig publisher" location now, as well
Sarah Gaunt (Apr 29 2020 at 19:07):
Thanks for the "fix" @Sean McIlvenna !!
Sean McIlvenna (Apr 29 2020 at 19:10):
you're welcome
Sean McIlvenna (Apr 29 2020 at 19:10):
:)
Sean McIlvenna (Apr 29 2020 at 19:11):
although, with all this being said, is anyone aware that build.fhir.org has invalid links for the validator and the igpublisher now?
Grahame Grieve (Apr 29 2020 at 19:25):
thanks for pointing that out - I'll fix now.
Grahame Grieve (Apr 29 2020 at 19:26):
@Cheng Liu it's not clear to me that anything that followed related to your original problem. is it fixed?
Sean McIlvenna (Apr 29 2020 at 19:36):
@Grahame Grieve is there a way to get to previous versions of the igpublisher on storage.googleapis.com?
Sean McIlvenna (Apr 29 2020 at 19:37):
use case: if the latest version of the ig publisher is broken, can I get to an older version somehow without building it manually?
Grahame Grieve (Apr 29 2020 at 19:41):
the primary release of the IGPublisher is through Maven. All previous versions are always available through Maven on Sonatype.
Sean McIlvenna (Apr 29 2020 at 19:43):
https://search.maven.org/search?q=org.hl7.fhir
Sean McIlvenna (Apr 29 2020 at 19:43):
I don't see publisher anywhere on there?
Grahame Grieve (Apr 29 2020 at 19:44):
the link is in every single zulip announcement e.g.
Grahame Grieve (Apr 29 2020 at 19:44):
New Java IGPublisher v1.0.85-SNAPSHOT released at https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.hl7.fhir.publisher&a=org.hl7.fhir.publisher.cli&v=1.0.85-SNAPSHOT&e=jar, and also deployed at https://storage.googleapis.com/ig-build/org.hl7.fhir.publisher.jar
Sean McIlvenna (Apr 29 2020 at 19:45):
ahh, thanks
Last updated: Apr 12 2022 at 19:14 UTC