cancel
Showing results for 
Search instead for 
Did you mean: 

NumberFormatException in SFTP receiver channel when using MTB for content conversion.

Former Member
0 Kudos

Hi All,

I am working on PI7.4 single stack. I am doing content conversion in SFTP receiver channel using Module Transformation Bean

MTB is failing at runtime with below error:

"

Transform: failed to set up the transformer for channel 55c59665c6753edbb5669958ac9f9fcb; modkey xml2plain; caused by com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.NumberFormatException: For input string: "RecordTypeCode1"; nested exception caused by: java.lang.Exception: java.lang.NumberFormatException: For input string: "RecordTypeCode1".


FCC wit file adapter is working fine with same configuration.Please suggest.

Payload:

Channel Config:

Thanks & Regards,

Nida Fatima

Accepted Solutions (0)

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi Nida,

In your Target structure XSD / Data Type check what is the xsd type you have defined for RecordTypeCode1 (it should be xsd:string). Check if this helps.

Also the XML is having more than 3 level of hierarchy, standard MTB might not be able to support it. 

Regards,

Azhar