FHIR Chat · org.hl7.fhir.publisher.jar debugging · IG creation

Stream: IG creation

Topic: org.hl7.fhir.publisher.jar debugging


view this post on Zulip Kevin Mayfield (Nov 28 2019 at 11:41):

I've just done a bulk import of resources into my IG and it's blowing up with:

Stack Dump (for debugging): (00:21.0065)
java.lang.NullPointerException
at org.hl7.fhir.convertors.VersionConvertor_30_50.findPackage(VersionConvertor_30_50.java:12877)
at org.hl7.fhir.convertors.VersionConvertor_30_50.convertImplementationGuide(VersionConvertor_30_50.java:12864)
at org.hl7.fhir.convertors.VersionConvertor_30_50.convertResource(VersionConvertor_30_50.java:22789)
at org.hl7.fhir.igtools.publisher.Publisher.convertToElement(Publisher.java:4208)
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3653)
at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3189)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:768)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:656)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6635)

I think one of my resources is faulty (so I'm gong to re-validate them) but is their a way of finding out which profile is causing the error?

view this post on Zulip Kevin Mayfield (Nov 28 2019 at 11:41):

(I mean failing to convert to R5)

view this post on Zulip Kevin Mayfield (Nov 28 2019 at 13:03):

@Lloyd McKenzie when using SampleIG .. Even though I'm working with STU3 resources, I SHOULD be using a R5 Implementation Guide? The error above seems to be saying it's converting it from STU3 to R5

view this post on Zulip Grahame Grieve (Nov 28 2019 at 15:48):

everything is R5 internally.

view this post on Zulip Grahame Grieve (Nov 28 2019 at 15:49):

That error suggests that you have a package in your IG that doesn't have an id on it

view this post on Zulip Lloyd McKenzie (Nov 28 2019 at 15:50):

Not quite everything. Examples aren't converted. But yes, everything else is.

view this post on Zulip Kevin Mayfield (Nov 28 2019 at 16:37):

thanks.

view this post on Zulip Kevin Mayfield (Nov 28 2019 at 16:55):

That seems to have fixed.... Seems I messed up my groupings (I didn't have stu3 ig just a r5 with no package)


Last updated: Apr 12 2022 at 19:14 UTC