Skip to Content
Former Member
Jun 04, 2015 at 01:03 PM

exception caught with cause java.util.NoSuchElementException



I am working on INVOIC02 outbound scenario using B2B add-on in our SAP PO box. I use EDIFACT INVOIC 96A version.

I am using File adapter at the receiver side and EDIFACTConverterModule with edifact.audit(set as true) and edifact.trace(set as true).

I have copied the standard mapping given by mapping kit and modified according to the business requirement.

The mapping executes successfully. But I get the below error in runtime.

04.06.2015 14:32:30.536 Error Exception caught by adapter framework: {0}

04.06.2015 14:32:30.537 Error Transmitting the message to endpoint <local> using connection AFW failed, due to: java.util.NoSuchElementException

04.06.2015 14:32:30.540 Information The asynchronous message was successfully scheduled to be delivered at Thu Jun 04 14:37:30 CEST 2015 04.06.2015 14:32:30.540 Information Message status set to WAIT

And every time the error occurs at different segment for the same source payload. (The output XML successfully gets converted in the integration cockpit and the converted format is exactly similar to the sample files provided by business.)

When I use the mapping given by B2B mapping kit in the same ICO(instead of my modified one) the message successfully gets delivered.

Please find attached the Audit log of the error.

Please help me out in resolving this:)