<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793998#M3946532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We verified that is not necessary a extension in the file but just a "." (dot) in any place of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the file name the channel process the file with success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the mask .*._cb_.*.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 19:43:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-11-19T19:43:44Z</dc:date>
    <item>
      <title>Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaq-p/10793991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an issue in our SFTP to RFC scenario. The sender communication channel is showing an error when the option "Arquiving on SFTP Server" is selected (Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1). Below the print of configuration and the log error. We have checked the connection and it is ok, the user has full access to the directory and the file content was tested. We try to send an empty file as well but the same error occour.&lt;/P&gt;&lt;P&gt;Is there a module problem? Do someone have passed by the same problem?&lt;/P&gt;&lt;P&gt;P.S. If the option "Archive Files on SFTP Server" is unchecked the file is processed with success.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/588825" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Error log:&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/588828" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Halsen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 11:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaq-p/10793991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793992#M3946526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Halsen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the "path" (location) that you have provided to archieve. It seems that either the path is incorrect or the user needs authorization to write a file there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Partha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793992#M3946526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793993#M3946527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Partha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "path"&amp;nbsp; location on "Arquive Name" for arquiving files is correct. We have checked and the user has full access to the directory.&lt;/P&gt;&lt;P&gt;We try to use de same directory as Source and Arquive. If the Arquive flag is unchecked the file is processed succefully. &lt;/P&gt;&lt;P&gt;Below you can see the source path:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/588891" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Halsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 13:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793993#M3946527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793994#M3946528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Halsen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the file naming convention also. The file extension is missing in the file name. You cannot create a file without an extension. Change it and then try. It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Partha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 14:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793994#M3946528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793995#M3946529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it an empty file that you are trying to process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;gt;&amp;gt;&amp;gt;We try to use de same directory as Source and Arquive. If the Arquive flag is unchecked the file is processed succefully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;May be that could be the issue. Try configuring some other directory as archive folder on the SFTP server.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 14:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793995#M3946529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T14:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793996#M3946530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hareesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We already try to use a different directory in the arquive folder but the same error occour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Halsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793996#M3946530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T16:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793997#M3946531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Partha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tryed changing the extension file name as .txt and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why the file is processed even without the file extension when the arquive flag is unchecked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theoretically, it wans't to work as well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think there are other solution because we can't change the extension file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Halsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793997#M3946531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793998#M3946532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We verified that is not necessary a extension in the file but just a "." (dot) in any place of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the file name the channel process the file with success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the mask .*._cb_.*.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 19:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793998#M3946532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sender Channel SFTP - Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1</title>
      <link>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793999#M3946533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've decided to open an Incident on SAP Service.&lt;/P&gt;&lt;P&gt;They answer was to install the sap note below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;"&gt; &lt;/SPAN&gt;&lt;A href="http://service.sap.com/sap/support/notes/2049494" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="2049494  - Renaming archived files with proper nomenclature in SFTP adapter"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;2049494 - Renaming archived files with proper nomenclature in SFTP adapter&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The basis team will deploy it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks all for the support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Halsen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 18:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sender-channel-sftp-exception-received-java-lang/qaa-p/10793999#M3946533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-05T18:29:32Z</dc:date>
    </item>
  </channel>
</rss>

