cancel
Showing results for 
Search instead for 
Did you mean: 

MalformedInput Exception

Former Member
0 Kudos

Hi,

I am getting below error in file receiver adapter. Checked the content, but could not find any invalid characters. Please suggest. Below is the audit log message.

SucessWrite to file "/test/abc.txt" as text (character encoding ISO8859-1) size 1670012 bytes
ErrorAttempt to process file failed with sun.io.MalformedInputException
ErrorException caught by adapter framework: null
ErrorMP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: sun.io.MalformedInputException
ErrorDelivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: sun.io.MalformedInputException.

.

Thanks

Suma

Accepted Solutions (0)

Answers (1)

Answers (1)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Suma,

See the File adapter FAQ note - 821267 FAQ: XI 3.0 / PI 7.0 / PI 7.1 / PI 7.3 File Adapter

37. FTP: sun.io.MalformedInputException 

  • Q: I am trying to connect the File Adapter to an FTP server, which uses non-ASCII replys over the control connection, e.g. the server replys contain German umlauts or accented characters. However, the File Adapter just displays an error referring to sun.io.MalformedInputException when trying to establish the connection. How can I solve this?
  • A: Configure the "file.encoding" system property to match the encoding returned by the FTP server. For details, refer to the answer to Q20.


Regards

Mark