cancel
Showing results for 
Search instead for 
Did you mean: 

Error converting Message: 'sun.io.MalformedInputException';nested exception

Former Member
0 Kudos

Hi All,

I am using a File to mail scenario, My test file is getting picked up, but is not reflecting in SXMB_MONI and in runtime workbench it is showing like this

Retry 14. Message initiation failed: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException.

Can anybody help me out? In the module tab I am using it is an UTF-8, I have checked using US-ASCII, UTF-16, It is showing me the same error.

Edited by: uday kumar on Mar 10, 2009 9:32 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

can you try to set the encoding to "ISO8859-1" or "ISO8859-2"?

Regards,

Kai

Former Member
0 Kudos

I have checked using "ISO8859-1" or "ISO8859-2", It is throwing me the same error

Regards,

Uday

Former Member
0 Kudos

Hi Uday,

Please see this explaination from help.sap.com. Hope it will help you to understand the problem.

File Type

Specify the document data type.

○ Binary

○ Text

Under File Encoding, specify a code page.

The default setting is to use the system code page that is specific to the configuration of the installed operating system. The file content is converted to the UTF-8 code page before it is sent.

Permitted values for the code page are the existing Charsets of the Java runtime. According to the SUN specification for the Java runtime, at least the following standard character sets must be supported:

US-ASCII

Seven-bit ASCII, also known as ISO646-US, or Basic Latin block of the Unicode character set

ISO-8859-1

ISO character set for Western European languages (Latin Alphabet No. 1), also known as ISO-LATIN-1

UTF-8

8-bit Unicode character format

UTF-16BE

16-bit Unicode character format, big-endian byte order

UTF-16LE

16-bit Unicode character format, little-endian byte order

UTF-16

16-bit Unicode character format, byte order

Check which other character sets are supported in the documentation for your Java runtime implementation.

XML text documents generally contain their own code page description and should be treated as Binary data type.

go with the Binary File type option if don't require any content encoding in your scenario.

regards

Ashwin

Edited by: ashwin dhakne on Mar 10, 2009 3:22 PM

Former Member
0 Kudos

Sorry my fault - should be ISO-8859-1 or ISO-8859-2.

Regards,

Kai

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi uday,

did u find content conversion is corret?

I think this is the problem in converting your cvs file into xml at sender side....

check this parameter configuration available in [help|http://help.sap.com/saphelp_nwpi71/helpdata/en/44/70ec8a20453abee10000000a155369/frameset.htm]

Thanks,

Pavani

Shabarish_Nair
Active Contributor
0 Kudos

uday,

can you confirm if the file has any special characters?

if so what characters are they? Accordingly we can assign the correct encoding for the file.

Former Member
0 Kudos

I am providing you some part of my test file

1743426 000100 0001 Production Baseline ZTNM 100A 0039 3876001-8 80 330285 BRAATHENS SAFE AIRTRANSPORT AS PUR005564 SWITCH LP OIL Khaldoun Massalema M12 12/29/2008 01/05/2009 1.000 1.000 1.000 01/05/2009 AVS Legacy Notes - Note Type: AB "P" COND PARTS ARE TO BE USED FOR THE FOLLOWING ONLY. CSB RB040, ISSUE #59 EMB EJECTOR PROGRAM 1. PER THE DRAWING THIS IS NOT A SERIALIZED PART. LEAVE ALL SERIAL FLAGS SET TO 'NO'. G.PALMER 11/2/00 2. 3 PCS PURGED PER STO

1723060 000001 0001 Production Baseline ZTAN 100A 0039 3876027-4 80 300021 EUROPEAN AIR TRANSPORT PO 2144618 THERMOCOUPLE IMRS HIS M13 12/15/2008 12/24/2008 1.000 1.000 1.000 12/24/2008 AVS Legacy Notes - Note Type: AB 1. PER THE BLUE PRINT THIS IS A SERIALIZED PART. A. PARKER 2/12/04 COOP Legacy Notes - Note Type: GEN ADDITIONAL ORDERED TO SUPPORT ANA 3RD STAGE STATOR PROGRAM.

1738601 000100 0002 Production Baseline ZTAN 100A 0039 3881106-1 60 303962 AERO INVENTORY LTD AI433-515224 GEAR SPUR OP Jaroslav Kral M13 12/23/2008 12/24/2008 1.000 1.000 1.000 03/18/2009 AVS Legacy Notes - Note Type: AB AEROCONTROLEX * FOR NEW PARTS PURCHASE AND OUT OF WARRANTY REQUESTS FOR PARTS, PLEASE PROCURE FROM AEROCONTROLEX, SUPPLIER 81833, PHONE: 216-261-8386 FAX: 216-261-8587 FOR IN-WARRANTY REQUESTS FOR ORIGINAL EQUIPMENT PARTS

Former Member
0 Kudos

Hi Uday,

I think the file which you are sending having some contents like special characters or some picture text iare creating problem to convert it into UTF-8 standard and that's why it is throwing errors.

Please verify this thing by sending a plain text file content only

Or Just choose to send it without UTF- 8 encoding i mean set encoding as None.

Hope it will help you to resolve your problem.

regards

Ashwin

Former Member
0 Kudos

Hi Ashwin,

While using plane text file it is working fine. I have Set encoding as None but it is throwing me the same error