Stream: IG creation
Topic: Error sorting: find() loop count > 5 - check paths are valid
Sarah Gaunt (Aug 17 2018 at 00:28):
So we (@Kanwarpreet Sethi and I ) have updated our planDefinition profile - it has a whole bunch of sliced and nested actions. But it crashes the IG publisher build with the following:
Exception in thread "main" java.lang.Error: Error sorting: find() loop count > 5 - check paths are valid at org.hl7.fhir.r4.conformance.ProfileUtilities$ElementDefinitionComparer.find(ProfileUtilities.java:2943) at org.hl7.fhir.r4.conformance.ProfileUtilities$ElementDefinitionComparer.access$400(ProfileUtilities.java:2894) at org.hl7.fhir.r4.conformance.ProfileUtilities.sortElements(ProfileUtilities.java:3036) at org.hl7.fhir.r4.conformance.ProfileUtilities.sortElements(ProfileUtilities.java:3094) at org.hl7.fhir.r4.conformance.ProfileUtilities.sortElements(ProfileUtilities.java:3094) at org.hl7.fhir.r4.conformance.ProfileUtilities.sortElements(ProfileUtilities.java:3094) at org.hl7.fhir.r4.conformance.ProfileUtilities.sortDifferential(ProfileUtilities.java:3006) at org.hl7.fhir.r4.context.SimpleWorkerContext.seeMetadataResource(SimpleWorkerContext.java:557) at org.hl7.fhir.r4.context.BaseWorkerContext.cacheResource(BaseWorkerContext.java:185) at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:2391) at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2038) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:533) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:495) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4684)
Any ideas?
File is here: https://github.com/HL7/case-reporting/blob/master/source/resources/profiles/structuredefinition-ecr-knowledge-distribution.xml
Build log here: http://build.fhir.org/ig/HL7/case-reporting/build.log
Grahame Grieve (Aug 17 2018 at 00:46):
I need to debug it - can you commit?
Sarah Gaunt (Aug 17 2018 at 00:50):
Yes, commited.
Grahame Grieve (Aug 17 2018 at 01:44):
ok fixed in 14874
Sarah Gaunt (Aug 17 2018 at 01:58):
Still getting same error: http://build.fhir.org/ig/HL7/case-reporting/build.log
Last updated: Apr 12 2022 at 19:14 UTC