FHIR Chat · ig-build validation error · committers

Stream: committers

Topic: ig-build validation error


view this post on Zulip Eric Haas (Jun 13 2017 at 23:25):

This error is recent one that came up within the last 2-3 weeks. for US-Meds all the MedicationRequest examples are causing this error:

  Validating Resources                                                             (27.0264sec)
  java.lang.NullPointerException                                                   (35.0467sec)
  Publishing Content Failed: null                                                  (35.0468sec)
                                                                                   (35.0468sec)
  Use -? to get command line help                                                  (35.0469sec)
                                                                                   (35.0469sec)
  Stack Dump (for debugging):                                                      (35.0469sec)
  java.lang.NullPointerException
    at org.hl7.fhir.r4.utils.FHIRPathEngine.funcResolve(FHIRPathEngine.java:2440)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluateFunction(FHIRPathEngine.java:2116)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:899)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:913)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.execute(FHIRPathEngine.java:908)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluate(FHIRPathEngine.java:381)
    at org.hl7.fhir.r4.utils.FHIRPathEngine.evaluateToBoolean(FHIRPathEngine.java:439)
    at org.hl7.fhir.r4.validation.InstanceValidator.checkInvariants(InstanceValidator.java:3341)
    at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:2964)
    at org.hl7.fhir.r4.validation.InstanceValidator.validateElement(InstanceValidator.java:3266)
    at org.hl7.fhir.r4.validation.InstanceValidator.start(InstanceValidator.java:2368)
    at org.hl7.fhir.r4.validation.InstanceValidator.validateResource(InstanceValidator.java:3433)
    at org.hl7.fhir.r4.validation.InstanceValidator.validate(InstanceValidator.java:625)
    at org.hl7.fhir.r4.validation.InstanceValidator.validate(InstanceValidator.java:586)
    at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:2112)
    at org.hl7.fhir.igtools.publisher.Publisher.validate(Publisher.java:2088)
    at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:324)
    at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:3783)

view this post on Zulip Eric Haas (Jun 13 2017 at 23:28):

I could not reproduce this error - in the validator. the examples in question are here: https://github.com/HL7/FHIR-ONC-Meds/tree/master/examples/hide. My guess it the Invariant (guessing based on the error log)

view this post on Zulip Grahame Grieve (Jun 14 2017 at 00:51):

ah well i fixed resolution to happen. So I'll have to look at it. THis is based on what's booked in?

view this post on Zulip Eric Haas (Jun 14 2017 at 04:08):

Yes. is committed. but is in the examples/hide directory so the build works - need to move an example back into the examples directory for the error to occur.

view this post on Zulip Grahame Grieve (Jun 14 2017 at 05:46):

and register it whre?

view this post on Zulip Eric Haas (Jun 14 2017 at 05:49):

https://github.com/HL7/FHIR-ONC-Meds

view this post on Zulip Eric Haas (Jun 14 2017 at 05:50):

is the repo

view this post on Zulip Eric Haas (Jun 14 2017 at 16:15):

Where is the validator in regards to the snapshot generation and slicing? I'm getting minimum cardinality errors when one of the slices has a minimum cardinality less than that of the base? The other slice satisfies the minimum cardinality.

view this post on Zulip Grahame Grieve (Jun 14 2017 at 19:32):

don't know. where should I look?

view this post on Zulip Grahame Grieve (Jun 14 2017 at 21:00):

meds builds for me right now?

view this post on Zulip Eric Haas (Jun 14 2017 at 21:33):

Yes I hid all the examples - I'll recommit. meanwhile Argo Scheduling has the slicing/snapshot/cardinality error.

view this post on Zulip Eric Haas (Jun 14 2017 at 21:51):

OK added the med request back to USMeds to get this error

view this post on Zulip Grahame Grieve (Jun 14 2017 at 22:15):

meds - my fault - I assumed that Reference would always have a .reference

view this post on Zulip Grahame Grieve (Jun 14 2017 at 23:10):

and the minimum cardinality issue is solved too now

view this post on Zulip Eric Haas (Jun 14 2017 at 23:34):

ty


Last updated: Apr 12 2022 at 19:14 UTC