cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of file content to XML failed at position 0: sun.io.Malformed

Former Member
0 Kudos

Hello,

recently this error occured on a file adapter which processes binary files:

Conversion of file content to XML failed at position 0: sun.io.MalformedInputException

I am not aware that have been changes performed in the file encoding. The file should be binary and it pretends to be like that.

I have also checked the file itself if there is some character in the beginning of the file which could cause this error and there is none. Up to now the adapter has worked fine. I have also checked the adapter for setting changes and found none.

To my recent experience with such error ("failed at position 0") it looks like encoding problem.

Could you please tell me where to look for the error now?

Thanks.

Edited by: Jaroslav Bittner on Aug 20, 2009 10:52 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Check if the suggestion implemented by Udo helps you too:

Regards,

Abhishek.

Answers (1)

Answers (1)

Former Member
0 Kudos

you can check in system logs (NWA) , and adapter log...

other than this there is no facility to check speicfically about encoding error.

Former Member
0 Kudos

Hi,

I forgot to mention that but yes, I have checked the logs

/usr/sap/DXP/DVEBMGS47/j2ee/cluster/server0/log

and found nothing conclusive. The error description was the same.