Re: SFTP Error Downloading FIle

Bernardo F Costa <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Did you got another exception like "connection reset"
before this one ? I had lots o problems due to
connection resets, and interrupted threads. Such
exceptions may cause others not directly linked to it,
because it may, for example, not copy the entire array
of data to a particular structure. I suggest that you
run your j2ssh enabling debug verbosity level, and if
you already have such a log, post here, even if the
log has a more resctrictive level o logging.

--- James Camire <[email protected]> escreveu:

> I'm using J2SSH version 0.2.7.  Can can login and
> navigate an SFTP server. 
> However, I get the following error when I try and
> download a file:
> 
> - Service message loop failed!
> java.lang.ArrayIndexOutOfBoundsException
> 	at java.lang.System.arraycopy(Native Method)
> 	at
> com.sshtools.j2ssh.io.DynamicBuffer.write(Unknown
> Source)
> 	at
>
com.sshtools.j2ssh.io.DynamicBuffer$DynamicBufferOutputStream.write(Unknown
> Source)
> 	at java.io.OutputStream.write(Unknown Source)
> 	at
>
com.sshtools.j2ssh.subsystem.SubsystemChannel.onChannelData(Unknown
> Source)
> 	at
>
com.sshtools.j2ssh.connection.Channel.processChannelData(Unknown
> Source)
> 	at
>
com.sshtools.j2ssh.connection.ConnectionProtocol.onMsgChannelData(Unknown
> Source)
> 	at
>
com.sshtools.j2ssh.connection.ConnectionProtocol.onMessageReceived(Unknown
> Source)
> 	at
>
com.sshtools.j2ssh.transport.AsyncService.run(Unknown
> Source)
> 	at java.lang.Thread.run(Unknown Source)
> 
> Any help is appreciated
> 
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Sshtools-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/sshtools-users
> 


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.