Skip to Content

fileName error in ASMA

Nov 02, 2016 at 08:32 AM


avatar image


I am doing configuration for SWIFT and SAP with PO single stack with the help of following link.

for the scenario, ECC to SWIFT using splitting the message into xml and par file.

here I am getting the par file , but getting error in xml - receiver channel file as follows.


Transmitting the message to endpoint using connection SFTP_http:// failed, due to: java.lang.NullPointerException: while trying to invoke the method java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence) of a null object loaded from local variable fileName


I am using ASMA parameters for source (1-ftp) and target file adapters(2-ftp), the filename is also set but it is not working.

I set "DetachParameters to true, UseLocalSecurity to true and KeyId" parameters in 3 channels.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Khaja Sk Nov 06, 2016 at 06:51 AM

Closing this Thread, Found solution.

That the Namespace in the SFTP adapter I am using default one which is ""...due to this I am getting error.

The correct one is "" in all 3 channels.

10 |10000 characters needed characters left characters exceeded