Stream: IG creation
Topic: IG publisher cant find my resource
Brian Reinhold (Sep 12 2018 at 15:09):
I am getting this error from the IG Publisher.
process res: PhdDevice (50.0976sec)
Error : Exception loading http://hl7.org/fhir/StructureDefinition/PhdDevice: null
org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2440)
org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2083)
org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:553)
org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:507)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:250)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:239)
javax.swing.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
That was not happening earlier this morning. It appears that the IG guide is looking for the resource on the FHIR website and not my local "resources" directory. Anyone understand this error and how to resolve it? I did not change my ig,json or ImplementationGuide.xml files.
I believe that this error was due to an incorrectly formatted element in the differential as I corrected it and the error went away. The error message just led me down the wrong path. This may result whenever one has something wrong with the xml.
Grahame Grieve (Sep 12 2018 at 22:04):
so it's fixed now?
Brian Reinhold (Sep 12 2018 at 23:06):
so it's fixed now?
The unable to find the resource is fixed. That was my bad. Did not have the first <element> tag in the last element. However, the version of the tgz file is still one and not 2
Last updated: Apr 12 2022 at 19:14 UTC