IBM Support

IT25265: THE SFTP CLIENT BEGIN SESSION GIVES ARRAY INDEX OUT OF RANGE EXCEPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Customer was receiving the below errors intermittently with
    SFTP client begin sesion:
     2018-01-05 22:09:12.89] ERROR Session.beginSession(BSR,R,PT)
    runnable caught RuntimeException
        [2018-01-05 22:09:12.89] ERROR [1515161352890] Array index
    out of range: -1
        [2018-01-05 22:09:12.89] ERRORDTL
    [1515161352890]java.lang.ArrayIndexOutOfBoundsException: Array
    index out of range: -1
                        at
    java.util.Vector.removeElementAt(Vector.java:570)
                        at
    com.maverick.ssh.components.ComponentFactory.changePositionofAlg
    orithm(Unknown Source)
                        at
    com.maverick.ssh2.Ssh2Context.setMacPreferredPositionCS(Unknown
    Source)
                        at
    com.maverick.ssh2.Ssh2Context.setPreferredMacCS(Unknown Source)
                        at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n.verifyHostKey(Session.java:1794)
                        at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n.access$500(Session.java:112)
                        at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n$1.run(Session.java:225)
                        at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unkno
    wn Source)
                        at java.lang.Thread.run(Thread.java:798)
     [2018-05-24 11:13:01.138] ERROR Session.beginSession(BSR,R,PT)
    runnable caught exception. SSH_DISCONNECT_BY_APPLICATION:SFTP
    session channel closed by server.
        [2018-05-24 11:13:01.138] ERROR [1527131581138] aes256-ctr
    is not supported [Unknown cause]
        [2018-05-24 11:13:01.138] ERRORDTL
    [1527131581138]com.maverick.ssh.SshException: aes256-ctr is not
    supported [Unknown cause]
            at
    com.maverick.ssh2.Ssh2Context.setPreferredCipherSC(Unknown
    Source)
            at
    com.sterlingcommerce.woodstock.ssh.db.SSHExtraSupportedCipher.ad
    dClientCiphers(SSHExtraSupportedCipher.java:667)
            at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n.verifyHostKey(Session.java:1764)
            at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n.access$500(Session.java:112)
            at
    com.sterlingcommerce.woodstock.services.sftpclient.client.Sessio
    n$1.run(Session.java:225)
            at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unkno
    wn Source)
            at java.lang.Thread.run(Thread.java:798)
    

Local fix

  • RTC ID: 572025
    

Problem summary

  • Users Affected:
    ALL
    
    Problem Description:
    SFTP Client Begin session errors out on mac and ciphers not
    being supported.
    
    Platforms Affected:
    ALL
    

Problem conclusion

  • RESOLUTION SUMMARY:
    A code fix is provided.
    
    DELIVERED IN:
    5020603_7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT25265

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-04

  • Closed date

    2018-10-10

  • Last modified date

    2018-10-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
16 October 2018