Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on Connect to Server #200

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 1 comment
Closed

Exception on Connect to Server #200

GoogleCodeExporter opened this issue Apr 23, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant