thanhlamcltv91 / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

IndexOutOfBoundsException in VDUBuffer #589

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch tmux (required)
2. Launch irssi and connect to... any server and channel
3. Type /n RET

What is the expected output? What do you see instead?
The list of nicks is expected, instead the application crashes.

What version of the product are you using (you can see this by using Menu -> 
About in the Host List)?
1.7.1

The log:

06-24 11:59:18.496: E/AndroidRuntime(20725): FATAL EXCEPTION: Relay
06-24 11:59:18.496: E/AndroidRuntime(20725): 
java.lang.ArrayIndexOutOfBoundsException: src.length=40 srcPos=20 dst.length=0 
dstPos=0 length=-1
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
java.lang.System.arraycopy(Native Method)
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
de.mud.terminal.VDUBuffer.insertLine(VDUBuffer.java:359)
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
de.mud.terminal.vt320.putChar(vt320.java:2670)
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
de.mud.terminal.vt320.putString(vt320.java:100)
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
org.connectbot.service.Relay.run(Relay.java:156)
06-24 11:59:18.496: E/AndroidRuntime(20725):    at 
java.lang.Thread.run(Thread.java:856)

Original issue reported on code.google.com by refis.th...@gmail.com on 24 Jun 2012 at 10:12