Stream: IG creation
Topic: Caused a StackOverflowError...
Jean Duteau (Oct 14 2020 at 23:07):
I have a ValueSet that is defined as all codes in an external X12 value set. I have an example where I use one of the codes. When I run the IGPublisher, a validation loop occurs which causes a StackOverflowError:
at org.hl7.fhir.r5.context.CanonicalResourceManager.get(CanonicalResourceManager.java:290)
at org.hl7.fhir.r5.context.CanonicalResourceManager.get(CanonicalResourceManager.java:299)
at org.hl7.fhir.r5.context.BaseWorkerContext.fetchResourceWithException(BaseWorkerContext.java:1212)
at org.hl7.fhir.r5.context.BaseWorkerContext.fetchResource(BaseWorkerContext.java:1426)
at org.hl7.fhir.r5.context.SimpleWorkerContext.fetchResource(SimpleWorkerContext.java:732)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.getVs(ValueSetCheckerSimple.java:609)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.inImport(ValueSetCheckerSimple.java:616)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.inComponent(ValueSetCheckerSimple.java:488)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.codeInValueSet(ValueSetCheckerSimple.java:465)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.inImport(ValueSetCheckerSimple.java:616)
at org.hl7.fhir.r5.terminologies.ValueSetCheckerSimple.inComponent(ValueSetCheckerSimple.java:488)
...
Grahame Grieve (Oct 14 2020 at 23:25):
can I reproduce this?
Jean Duteau (Oct 14 2020 at 23:49):
well, I suppose I can check in all of the files that cause the guide to blow up :)
Jean Duteau (Oct 14 2020 at 23:50):
https://github.com/HL7/davinci-pas.git
Grahame Grieve (Oct 15 2020 at 00:47):
@Jean Duteau you value set includes itself
Jean Duteau (Oct 15 2020 at 00:47):
i was just thinking that it was because I accidentally set the URL when I didn't mean to
Grahame Grieve (Oct 15 2020 at 00:48):
that'd certainly lead to the outcome you're seeing
Jean Duteau (Oct 15 2020 at 00:49):
you might want to detect stupid user error like that :)
Grahame Grieve (Oct 15 2020 at 00:49):
I did.
Last updated: Apr 12 2022 at 19:14 UTC