File Content Conversion works in FileAdapter But not in SFTP
Hello SAP PI gurus
I am working on a scenario that needs file content conversion. The sender channel is an SFTP channel.
For testing purpose I tried using FILE adapter and the content coversion worked without any problem.
However when I tried using the same file content conversion parameters with SFTP, it is failing with the following error after picking up the file.
======================================================================
Exception
received: java.lang.ArrayIndexOutOfBoundsException: while trying to load from
index -1 of an object array with length 452, loaded from field
java.util.ArrayList.elementData of an object loaded from local variable 'this'
========================================================================
I am using the same exact payload also.
I have attached the screen shot of the File Content Conversion Settings and the sample payload.
Any suggestiongs or recommendations will be highly appreciated.
JFYI : I am using PI 7.4
Thanks
Ram