on 10-03-2011 6:24 PM
Hi
I´m reading and sending files to an FTP server using SAP PI. I use file content conversion.
Everything has been working fine for months - but now the server was changes to a new host. The only thing changed was the host/user and pass.
But sending too the server fails with this error:
File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
Any body who has a clue??
Reading files works ok. And i can transfer files to the FTP server with FileZilla without problems.
This error will appear if index in the string is passing greater than the string size or negative value of index in string.
Check your string size length whereever it is applicable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the file transfer by ftp:
2011-10-03 17:27:08 Information Transfer: "BIN" mode, size 737 bytes, encoding -.
2011-10-03 17:27:08 Error File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
2011-10-03 17:27:08 Error Adapter Framework caught exception: String index out of range: -27
2011-10-03 17:27:08 Error Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "nnn.nn.nnn.nnn:21": java.lang.StringIndexOutOfBoundsException: String index out of range: -27.
Its on the adapter level. All mappings etc are fine. And as i write has been for months. The only thing changed are the FTP server
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
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.