Hierarchy Error


#1

This may or may not be the place to ask but have run out of options. I am getting an error that I can’t solve and its basically killing the export of data on the haystack driver.

EVERE [11:46:28 04-Dec-19 EST][hierarchy] Could not resolve elements for QueryLevelDef
javax.baja.sys.BajaRuntimeException: Target ord must resolve to a component
at javax.baja.sys.BRelation.resolve(BRelation.java:394)
at javax.baja.sys.BRelation.resolve(BRelation.java:384)
at javax.baja.sys.BRelation.activateRelation(BRelation.java:339)
at javax.baja.sys.BRelation.getEndpoint(BRelation.java:237)
at com.tridium.sys.tag.ComponentRelations.filter(ComponentRelations.java:228)
at javax.baja.tag.Relations.getAll(Relations.java:286)
at javax.baja.tagdictionary.BTagDictionaryService.getTagGroupRelations(BTagDictionaryService.java:1183)
at javax.baja.tagdictionary.BTagDictionaryService.searchDirectTagGroups(BTagDictionaryService.java:1064)
at javax.baja.tagdictionary.BTagDictionaryService.getImpliedTag(BTagDictionaryService.java:927)
at javax.baja.tag.util.ImpliedTags.get(ImpliedTags.java:165)
at javax.baja.tag.util.SmartTagSet.get(SmartTagSet.java:227)
at javax.baja.neql.GetTagExpression.evaluate(GetTagExpression.java:91)
at javax.baja.neql.NeqlEntityEvaluator.evalAll(NeqlEntityEvaluator.java:343)
at javax.baja.neql.NeqlEntityEvaluator.booleanEvalAll(NeqlEntityEvaluator.java:139)
at com.tridium.neql.BooleanFilterIterator.nextImpl(BooleanFilterIterator.java:98)
at com.tridium.neql.BooleanFilterIterator.hasNext(BooleanFilterIterator.java:52)
at javax.baja.util.CloseableIteratorWrapper.hasNext(CloseableIteratorWrapper.java:30)
at javax.baja.collection.CompoundIterator.hasNext(CompoundIterator.java:34)
at javax.baja.hierarchy.BQueryLevelDef.getElements(BQueryLevelDef.java:148)
at javax.baja.hierarchy.BHierarchyService.getChildElems(BHierarchyService.java:682)
at javax.baja.hierarchy.BHierarchyService.getChildElems(BHierarchyService.java:574)
at com.tridium.hierarchy.fox.BFoxHierarchyChannel.getLevelElems(BFoxHierarchyChannel.java:86)
at com.tridium.hierarchy.fox.BFoxHierarchyChannel.circuitOpened(BFoxHierarchyChannel.java:58)
at com.tridium.fox.sys.BFoxConnection.circuitOpened(BFoxConnection.java:464)
at com.tridium.fox.session.SessionCircuits$ServiceThread.run(SessionCircuits.java:316)
at java.lang.Thread.run(Thread.java:748)


#2

You may want to review this thread concerning valid hierarchies. If this doesn’t help identify your issue, could you provide a screen shot of your hierarchy setup?