FHIR Chat · Exception while creating Implementation guide · implementers

Stream: implementers

Topic: Exception while creating Implementation guide


view this post on Zulip abhishek gupta (Dec 11 2017 at 06:05):

Hi All,
when I am creating the implementation guide at that time I am getting some Exception "java.lang.Exception: Unable to find the source file".I also putting the image also for clear understanding.implementation.png .
if anybody knows about that then ping me.
Thanks

view this post on Zulip Eric Haas (Dec 11 2017 at 07:15):

you have defined a profile in the definitions file but the source file cannot be located in the default paths. check for filename typos (case matters), and the location of the sourcefiles.

view this post on Zulip abhishek gupta (Dec 11 2017 at 08:47):

@Eric Haas
I have done also like that but same problem will be happening

view this post on Zulip abhishek gupta (Dec 11 2017 at 12:58):

@Eric Haas
I checked filename types and location of source files everything will be fine but still I have same error.can you tell me the alternate solution of this kind of problem.

view this post on Zulip Lloyd McKenzie (Dec 11 2017 at 15:49):

What is the filename and what is the relative path to the IG JSON file?

view this post on Zulip Lloyd McKenzie (Dec 11 2017 at 15:49):

Also, what is the "id" element inside the resource?

view this post on Zulip abhishek gupta (Dec 12 2017 at 04:38):

What is the filename and what is the relative path to the IG JSON file?

filename is VMSMedicationStatement.structuredefinition.xml and relative path of the IG JSON file is C:\Users\vani\Dropbox\Employee\Jayashree\VMS_IG

view this post on Zulip abhishek gupta (Dec 12 2017 at 04:40):

Also, what is the "id" element inside the resource?

id element inside the resource is vms-medicationstatement.

view this post on Zulip Lloyd McKenzie (Dec 12 2017 at 06:30):

So the filename is wrong. The filename must be "vms-medicationstatement.xml" or "structuredefinition-vms-medicationstatement.xml"

view this post on Zulip Lloyd McKenzie (Dec 12 2017 at 06:31):

(And as Eric mentioned previously, case matters)

view this post on Zulip Lloyd McKenzie (Dec 12 2017 at 06:31):

The IG Publisher expects to find the file with a name based on the artifact id

view this post on Zulip abhishek gupta (Dec 12 2017 at 08:43):

So the filename is wrong. The filename must be "vms-medicationstatement.xml" or "structuredefinition-vms-medicationstatement.xml"

ok I got the error but another exception will be coming when I am creating implementation guide then it's showing like that:"java.io.EOFException: input contained no data".I will send you one screanshot of this for clear understandingimplementationguide.png

view this post on Zulip Lloyd McKenzie (Dec 12 2017 at 15:42):

It looks like at least one of your source files is empty


Last updated: Apr 12 2022 at 19:14 UTC