Stream: IG creation
Topic: Da Vinci Template Error
Rob Reynolds (Nov 23 2021 at 19:05):
Periodically, we get build errors like this:
image.png
Caused by (from the build logs link):
Publishing Content Failed: Error loading template hl7.davinci.template: null (00:02.0721)
(00:02.0722)
Use -? to get command line help (00:02.0722)
(00:02.0722)
Stack Dump (for debugging): (00:02.0722)
org.hl7.fhir.exceptions.FHIRException: Error loading template hl7.davinci.template: null
at org.hl7.fhir.igtools.templates.TemplateManager.loadPackage(TemplateManager.java:277)
at org.hl7.fhir.igtools.templates.TemplateManager.installTemplate(TemplateManager.java:93)
at org.hl7.fhir.igtools.templates.TemplateManager.loadTemplate(TemplateManager.java:79)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1821)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1636)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:787)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8927)
Caused by: java.lang.NullPointerException
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:503)
at org.hl7.fhir.igtools.templates.TemplateManager.loadPackage(TemplateManager.java:247)
... 6 more
Rob Reynolds (Nov 23 2021 at 19:06):
When we use this setting: template = hl7.davinci.template
If we switch it to this setting: template = hl7.fhir.template
it fixes it and then at some point in the future we are able to set it back and it doesn't error (until next time).
Grahame Grieve (Nov 23 2021 at 21:04):
I don't much to go on there, so I've added more logging for future releases
Last updated: Apr 12 2022 at 19:14 UTC