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

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to