Stream: IG creation
Topic: NPE following "Check for supported code systems...
Chris Moesel (Jul 13 2018 at 20:27):
I'm running into an error when I use the latest igpublisher from build.fhir.org. Unless I'm reading it wrong, it looks like it's getting an NPE when looking up http://loinc.org?
Generating Outputs in /Users/cmoesel/dev/standardhealth/shr-cli/out/fhir/guide/output (12.0582sec)
-tx: Terminology server: Check for supported code systems for http://loinc.org
java.lang.NullPointerException
at org.hl7.fhir.r4.context.BaseWorkerContext.supportsSystem(BaseWorkerContext.java:324)
at org.hl7.fhir.r4.terminologies.ValueSetExpanderSimple.includeCodes(ValueSetExpanderSimple.java:391)
at org.hl7.fhir.r4.terminologies.ValueSetExpanderSimple.handleCompose(ValueSetExpanderSimple.java:339)
at org.hl7.fhir.r4.terminologies.ValueSetExpanderSimple.expand(ValueSetExpanderSimple.java:260)
at org.hl7.fhir.r4.terminologies.ValueSetExpansionCache$CacheAwareExpander.expand(ValueSetExpansionCache.java:65)
at org.hl7.fhir.r4.context.BaseWorkerContext.expandVS(BaseWorkerContext.java:359)
at org.hl7.fhir.igtools.publisher.Publisher.generateOutputsValueSet(Publisher.java:4012)
at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:3742)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:2593)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:513)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:464)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4547)
Chris Moesel (Jul 13 2018 at 20:31):
I think this is happening when it's trying to expand a value set that has this rule:
"compose" : {
"include" : [
{
"system" : "http://loinc.org"
}
]
}
This is the same as in the example value set for Observation.code, so I think it is valid (and in fact, worked fine with the v3.3 publisher jar).
Chris Moesel (Jul 13 2018 at 20:33):
Ah. Seems like this general error has already been reported over at: https://chat.fhir.org/#narrow/stream/9-committers/subject/Build.20Error/near/164672
Chris Moesel (Jul 13 2018 at 20:40):
Tx server is reportedly back up, but I still get this error.
Chris Moesel (Jul 16 2018 at 13:48):
This is resolved with the latest igpublisher.jar.
Last updated: Apr 12 2022 at 19:14 UTC