FHIR Chat · Cannot invoke "com.google.gson.JsonElement.getAsString() · IG creation

Stream: IG creation

Topic: Cannot invoke "com.google.gson.JsonElement.getAsString()


view this post on Zulip Sean Mahoney (Jan 10 2022 at 19:28):

IG Publisher is failing on the publishing content step. Any insight what this message means?

found 2330 files (06:13.0792)
........................................
........................................
... 2330 html files, 0 pages invalid xhtml (0%) (07:15.0873)
... 298083 links, 218 broken links (0%) (07:15.0880)
Build final .zip (07:15.0892)
Final .zip built (07:25.0861)
Publishing Content Failed: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null (07:29.0593)
(07:29.0603)
Use -? to get command line help (07:29.0611)
(07:29.0620)
Stack Dump (for debugging): (07:29.0627)
java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null
at org.hl7.fhir.igtools.renderers.VersionCheckRenderer.generate(VersionCheckRenderer.java:52)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:963)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:795)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8975)
Press any key to continue . . .


Last updated: Apr 12 2022 at 19:14 UTC