raisedragon / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

on disconnect error #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
so just check that out

1307115911584 ### Your implementation of PircBotX is faulty and you have
1307115911584 ### allowed an uncaught Exception or Error to propagate in your
1307115911584 ### code. It may be possible for PircBotX to continue operating
1307115911584 ### normally. Here is the stack trace that was produced: -
1307115911584 ### 
1307115911584 ### java.lang.StringIndexOutOfBoundsException: String index out 
of range: 0
1307115911584 ###   at java.lang.String.charAt(String.java:687)
1307115911585 ###   at org.pircbotx.PircBotX.handleLine(PircBotX.java:1204)
1307115911585 ###   at org.pircbotx.InputThread.run(InputThread.java:103)
1307115911585 <<<ERROR :Closing Link: *ip of bot appeared here* ()
1307115911585 *** Disconnected.

Original issue reported on code.google.com by italian...@gmail.com on 3 Jun 2011 at 3:07

GoogleCodeExporter commented 9 years ago
it isn't on the disconnect event i mean when you call the method to disconnect, 
should have made it clear in the title

Original comment by italian...@gmail.com on 3 Jun 2011 at 3:08

GoogleCodeExporter commented 9 years ago
Hmm... I'll take a look at it. Seems to be an issue with channel parsing again

Original comment by Lord.Qua...@gmail.com on 4 Jun 2011 at 1:58

GoogleCodeExporter commented 9 years ago
Yea, seems the old code didn't like blank messages. Fixed in Revision 
02f87c19a16b with a unit test added in Revision: 0dd5e416412e

Original comment by Lord.Qua...@gmail.com on 5 Jun 2011 at 3:23