FHIR Chat · NullPointerException · IG creation

Stream: IG creation

Topic: NullPointerException


view this post on Zulip John Moehrke (Feb 06 2019 at 17:23):

When I add in my example bundle I get a NullPointerException in my eLTSS IG build. I have checked that each entry does have an id value. I have checked the qa.html, and found it just having some header information, no help with the error.
[java] C:\Users\john.moehrke\Git\eLTSS\src\examples\careplan1
[java] Validating Resources (24.0390sec)
[java] Terminology server: Check for supported code systems for http://unstats.un.org/unsd/methods/m49/m49.htm
[java] java.lang.NullPointerException
[java] at org.hl7.fhir.igtools.publisher.ValidationServices.fetch(ValidationServices.java:59)
...

view this post on Zulip Lloyd McKenzie (Feb 06 2019 at 18:08):

You're missing fullUrls on your Bundle entries. (You can submit a change request to replace the NPE with a more intelligent error message.)

view this post on Zulip Bryn Rhodes (Jul 26 2019 at 15:25):

The publisher is giving me a null reference exception when I try to include Questionnaire examples and I can't figure out why. I've verified that the content is a valid Questionnaire (posts to an R4 HAPI server and gets no validation errors returned from $validate).

view this post on Zulip Eric Haas (Jul 26 2019 at 17:12):

Make sure the ig.json and ig.xml are correct

view this post on Zulip Eric Haas (Jul 26 2019 at 17:13):

My experience is many NPE stem from that

view this post on Zulip Grahame Grieve (Jul 26 2019 at 20:09):

can you commit an example, and I'll investigate?

view this post on Zulip Bryn Rhodes (Jul 27 2019 at 01:26):

I figured it out, I was missing the namespace declaration in the root element.


Last updated: Apr 12 2022 at 19:14 UTC