[JSch-users] Error using jsch -ArrayIndexOutOfBoundsException: 1024
Status: Alpha
Brought to you by:
ymnk
From: Prasad, S. <Shiva.Prasad@FMR.com> - 2005-09-08 20:45:48
|
Hi All: I am getting the following error. =20 /home/scmbuild/deploy1.xml:276: com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 1024 at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java: 212) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Caused by: com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 1024 at com.jcraft.jsch.KnownHosts.setKnownHosts(Unknown Source) at com.jcraft.jsch.KnownHosts.setKnownHosts(Unknown Source) at com.jcraft.jsch.JSch.setKnownHosts(Unknown Source) at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.j ava:161) at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java: 145) ... 10 more --- Nested Exception --- com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 1024 at com.jcraft.jsch.KnownHosts.setKnownHosts(Unknown Source) at com.jcraft.jsch.KnownHosts.setKnownHosts(Unknown Source) at com.jcraft.jsch.JSch.setKnownHosts(Unknown Source) at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession(SSHBase.j ava:161) at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute(SSHExec.java: 145) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) Shiva Prasad Fidelity Investments Institutional Services Ph: 401-292-6270 (work) Ph: 401-292-5630 (fax) Pager: http://www.skytel.com/servlet/SendMessage?recipients=3D1064524 "Ask not what your country can do for you: Ask what you can do for your country." January 20th, 1961 - John F. Kennedy |