on 01-17-2011 11:48 AM
Dear All,
Scenario:File to IDOC
File Type: Fixed Length
I am getting below error in Sender Channel.
Error "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'Item':java.lang.StringIndexOutOfBoundsException"
Note:We are using header and Item.Header is not repating and Item should repeate N times.we are using the KeyField Name for both header and Item.
Kindly suggest me the Parameter to use for the sender channel.
Edited by: manikandansit on Jan 17, 2011 12:53 PM
Hi There,
Please check your content conversion parameters. Problem is with your fixed length content conversion.
Thanks,
Shweta Khade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Thanks for your suggestions.
the issues has been resolved.
there are so many spaces between the each field data in the source file and i was using the value as SPACE for the parameter Name.fieldSeparator and it taken each space as a data or something else. finally i had removed this parameter and Interfaces works fine now.
Thanks
Hi Mani,
The issues seems to with the Content conversion also. Ref: 1476082, 1163293.
Please provide the structure, so will be able to help you in this regard.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the input you are passing if it is of expected and if you are doing any content conversions then check the configurations you have provided..
looks like either input data or config is not in expected format...(lenght of data has been exceeded than provided as the error means..)
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.