Direct links to fixes
APAR status
Closed as program error.
Error description
During client disconnected from SFTP connection, following Exeption was thrown and recorded in maverick.log. 05 Jan 2016 18:08:03,913 ERROR [SSHD-TRANSFER-1] com.maverick.sshd.TransportProtocol - Connection Error java.lang.ArithmeticException: / by zero at com.sterlingcommerce.cspssh.daemon.SftpSubsys.accumulateRateD ata (SftpSubsys.java:839) at com.sterlingcommerce.cspssh.daemon.SftpSubsys.private_onMessageR eceived(SftpSubsys.java:348) at com.sterlingcommerce.cspssh.daemon.SftpSubsys.onMessageReceived( SftpSubsys.java:301) at com.maverick.sshd.Subsystem.processMessage(Unknown Source) at com.sterlingcommerce.cspssh.daemon.SftpSubsys.processMessage(Sft pSubsys.java:523) at com.maverick.sshd.SessionChannel.onChannelData(Unknown Source) at com.maverick.sshd.Channel.A(Unknown Source) at com.maverick.sshd.ConnectionProtocol.I(Unknown Source) at com.maverick.sshd.ConnectionProtocol.processMessage(Unknown Source) at com.maverick.sshd.TransportProtocol.A(Unknown Source) at com.maverick.sshd.TransportProtocol.B(Unknown Source) at com.maverick.sshd.TransportProtocol.onSocketRead(Unknown Source) at com.maverick.nio.SocketConnection.processReadEvent(Unknown Source) at com.maverick.nio.Daemon$_C.processSelectionKey(Unknown Source) at com.maverick.nio.SelectorThread.run(Unknown Source)
Local fix
STRRTC - 488537 MF/MF Circumvention: None
Problem summary
(SFTP) Transfers getting occasional java.lang.ArithmeticException: / by zero. The Customer runs an SFTP process every few seconds which connects, transfers a small file, and disconnects from the SFTP adapter. Occasionally they get SSE2640 class com.maverick.sshd.TransportProtocol Connection Error java.lang.ArithmeticException: / by zero at the end of the session. The system was returning an elapsed time of 0 milliseconds for the session, which was causing a divide by zero exception when calculating the bytes per millisecond. The Customer was running on the IBM HP hybrid JRE.
Problem conclusion
Now ensure that the elapsed time for the session is always greater than 0 milliseconds, so that the bytes/MS calculation will not get an exception.
Temporary fix
Shipped Customer the fixes for SSP3418 iFix 9 and SSP3420 iFix 6+.
Comments
APAR Information
APAR number
IT13196
Reported component name
STR SECURE PROX
Reported component ID
5725D0300
Reported release
341
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-01-14
Closed date
2016-02-02
Last modified date
2016-02-02
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 SECURE PROX
Fixed component ID
5725D0300
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PNW","label":"Sterling Secure Proxy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"341","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Document Information
Modified date:
30 May 2025