> > IndexOutOfBoundsException

IndexOutOfBoundsException during XML Ruleset Transformation

Clarify Scenario:

During translation of an inbound XML-flatfile ruleset, a transformation error occurred.

Clarify Issue:

An XML element, located in the header of the document (source), was being mapped at the detail level of the flatfile (target).



Server Error:

Auditor Error:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.extol.ebi.reactor.pojo.inlet.PojoSourceNode.getValueType(PojoSourceNode.java:80)
at com.extol.ebi.reactor.pojo.inlet.PojoSourceNode.getSourceNode(PojoSourceNode.java:91)
at com.extol.ebi.reactor.pojo.inlet.PojoSourceNode.get(PojoSourceNode.java:62)
at com.abc.Invoice.inbound.InvoiceRS_Rt$1$1$1$1$2$1$1.body(InvoiceRS_Rt.java:554)
at com.extol.ebi.reactor.lib.Block.run(Block.java:15)
at com.abc.Invoice.inbound.InvoiceRS_Rt$1$1$1$1$2$1.body(InvoiceRS_Rt.java:605)
at com.extol.ebi.reactor.lib.Block.run(Block.java:15)
at com.abc.Invoice.inbound.InvoiceRS_Rt$1$1$1$1$2.body(InvoiceRS_Rt.java:606)
at com.extol.ebi.reactor.lib.Block.run(Block.java:15)

Clarify Resolution:

In the header section of the Cleo Clarify Ruleset, move value from header value into a variable. Once the values is a variables, it can be mapped at the detail level.


By: on