Norbert Sensen
2013-09-24 07:39:39 UTC
Hello,
we develop an integration-application which does very much sftp-traffic.
(About 20 connections every 5 minutes).
We are using jsch-0.1.46.jar
Very sporadically (about 1 time per week) we get the following Exception:
Caused by: com.jcraft.jsch.JSchException:
java.lang.ArrayIndexOutOfBoundsException
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:273)
at com.jcraft.jsch.Channel.connect(Channel.java:152)
at com.jcraft.jsch.Channel.connect(Channel.java:145)
at
net.creditlife.clpm.infrastructure.impl.SFTPConnection.initConnection(SFTPConnection.java:80)
Caused by: java.lang.ArrayIndexOutOfBoundsException: null
at com.jcraft.jsch.Buffer.getByte(Buffer.java:148)
at com.jcraft.jsch.Buffer.getString(Buffer.java:188)
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:260)
What does this mean? What is the cause of the problem?
And most important: How can we avoid this?
We would be very happy if anyone could help us.
Thanks,
Norbert Sensen
we develop an integration-application which does very much sftp-traffic.
(About 20 connections every 5 minutes).
We are using jsch-0.1.46.jar
Very sporadically (about 1 time per week) we get the following Exception:
Caused by: com.jcraft.jsch.JSchException:
java.lang.ArrayIndexOutOfBoundsException
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:273)
at com.jcraft.jsch.Channel.connect(Channel.java:152)
at com.jcraft.jsch.Channel.connect(Channel.java:145)
at
net.creditlife.clpm.infrastructure.impl.SFTPConnection.initConnection(SFTPConnection.java:80)
Caused by: java.lang.ArrayIndexOutOfBoundsException: null
at com.jcraft.jsch.Buffer.getByte(Buffer.java:148)
at com.jcraft.jsch.Buffer.getString(Buffer.java:188)
at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:260)
What does this mean? What is the cause of the problem?
And most important: How can we avoid this?
We would be very happy if anyone could help us.
Thanks,
Norbert Sensen