clienthax / pircbotx

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

Exception on Connect to Server #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a bot connect to server
2.
3.

What is the expected output? What do you see instead?
[2014/08/19 11:42:17] [botPool0-bot0] [ERROR] org.pircbotx.PircBotX - Exception 
encountered when parsing line
java.lang.IllegalArgumentException: Channel '' is blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148)
    at org.pircbotx.output.OutputIRC.joinChannel(OutputIRC.java:57)
    at org.pircbotx.InputParser.processConnect(InputParser.java:380)
    at org.pircbotx.InputParser.handleLine(InputParser.java:325)
    at org.pircbotx.PircBotX.startLineProcessing(PircBotX.java:283)
    at org.pircbotx.PircBotX.connect(PircBotX.java:244)
    at org.pircbotx.MultiBotManager$BotRunner.call(MultiBotManager.java:219)
    at org.pircbotx.MultiBotManager$BotRunner.call(MultiBotManager.java:212)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

I expect nothing at this line.

What version of the product are you using? On what operating system?
2.1-SNAPshot

Please provide any additional information below.

Original issue reported on code.google.com by jzhou2...@gmail.com on 19 Aug 2014 at 3:43

GoogleCodeExporter commented 9 years ago
Looks like you added a blank channel somehow. Luckily OutputIRC caught it but 
that's way to late in the process. Added validation to Configuration in 
Revision 192ea8b22378

Original comment by Lord.Qua...@gmail.com on 31 Aug 2014 at 9:11