FHIR Chat · NPE Cannot invoke · IG creation

Stream: IG creation

Topic: NPE Cannot invoke


view this post on Zulip Richard Stanley (Aug 13 2021 at 16:54):

Hi. I'm seeing the following error from Publisher. Repo is here: https://github.com/intrahealth/simple-hiv-ig

Generating Narratives                                                            (00:27.0026)
Publishing Content Failed: Cannot invoke "org.hl7.fhir.r5.renderers.utils.BaseWrappers$PropertyWrapper.hasValues()" because "t" is null (00:27.0660)
                                                                                 (00:27.0661)
Use -? to get command line help                                                  (00:27.0662)
                                                                                 (00:27.0663)
Stack Dump (for debugging):                                                      (00:27.0663)
java.lang.NullPointerException: Cannot invoke "org.hl7.fhir.r5.renderers.utils.BaseWrappers$PropertyWrapper.hasValues()" because "t" is null
    at org.hl7.fhir.r5.renderers.DiagnosticReportRenderer.fetchObservations(DiagnosticReportRenderer.java:194)
    at org.hl7.fhir.r5.renderers.DiagnosticReportRenderer.render(DiagnosticReportRenderer.java:123)
    at org.hl7.fhir.r5.renderers.ResourceRenderer.render(ResourceRenderer.java:84)
    at org.hl7.fhir.igtools.publisher.Publisher.generateNarratives(Publisher.java:1176)
    at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:3912)
    at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:893)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:748)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8566)

By way of context, the most recent thing I've done before this error appeared is that I've replaced references with full URLs in FSH. Also, I recently tried using R4B (set in sushi-config) to get around a known error resolving CQL libraries but reverted to R4.

view this post on Zulip Richard Stanley (Aug 16 2021 at 23:31):

@Mark Iantorno Can I ask for your thoughts?

view this post on Zulip Mark Iantorno (Aug 17 2021 at 00:25):

Do I just run the publisher locally on that repo?

view this post on Zulip Mark Iantorno (Aug 17 2021 at 00:25):

what is the exact command I run to reproduce locally?

view this post on Zulip Richard Stanley (Aug 17 2021 at 00:51):

Hi. Yes.

view this post on Zulip Richard Stanley (Aug 17 2021 at 01:24):

Just _genonce

view this post on Zulip Richard Stanley (Aug 18 2021 at 14:45):

Revisiting this today. This error is independent of the sushi versions (1.3 and 2.0) tried.

view this post on Zulip Richard Stanley (Aug 19 2021 at 14:48):

@Mark Iantorno Can I ask for your assistance with how to debug this one again? Sorry to bother.

view this post on Zulip Grahame Grieve (Aug 19 2021 at 22:56):

fixed next release

view this post on Zulip Richard Stanley (Aug 23 2021 at 20:51):

@Grahame Grieve thanks again. Is there a PR/issue/branch I should follow to track it? I'd like to build from source and try it out when I can.

view this post on Zulip Grahame Grieve (Aug 23 2021 at 20:57):

https://github.com/hapifhir/org.hl7.fhir.core/pull/585


Last updated: Apr 12 2022 at 19:14 UTC