zD12 / pircbotx

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

Issue with WHOIS Event #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
https://github.com/TechCavern/WaveTact/blob/master/src/main/java/com/techcavern/
wavetact/utils/IRCUtils.java#L68-L90

Attempt to issue this function (using WHOIS event) with a wrong capped nick. 
Eg. action nick is "JZTech101", but you whois "jztech101"

What is the expected output? What do you see instead?

I expect to get nick!ident@host. Instead I get:

[2014/07/16 13:31:34] [botPool0-bot0] [INFO] org.pircbotx.InputParser - 
:aperture.esper.net 319 WaveTactDev ModdedMC :@#techcavern 
[2014/07/16 13:31:34] [botPool0-bot0] [INFO] org.pircbotx.InputParser - 
:aperture.esper.net 312 WaveTactDev ModdedMC warden.esper.net :King in the 
North [Quebec, Canada]
[2014/07/16 13:31:34] [botPool0-bot0] [INFO] org.pircbotx.InputParser - 
:aperture.esper.net 330 WaveTactDev ModdedMC ModdedMC :is logged in as
[2014/07/16 13:31:34] [botPool0-bot0] [INFO] org.pircbotx.InputParser - 
:aperture.esper.net 318 WaveTactDev moddedmc :End of /WHOIS list.
[2014/07/16 13:31:34] [botPool0-bot0] [ERROR] org.pircbotx.PircBotX - Exception 
encountered when parsing line
java.lang.NullPointerException
    at org.pircbotx.InputParser.processServerResponse(InputParser.java:754)
    at org.pircbotx.InputParser.handleLine(InputParser.java:323)
    at org.pircbotx.PircBotX.startLineProcessing(PircBotX.java:275)
    at org.pircbotx.PircBotX.connect(PircBotX.java:236)
    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)

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

PircBotX 2.0.1

Please provide any additional information below.

Original issue reported on code.google.com by jzhou2...@gmail.com on 16 Jul 2014 at 5:32

GoogleCodeExporter commented 9 years ago
actual nick*

Original comment by jzhou2...@gmail.com on 16 Jul 2014 at 5:33

GoogleCodeExporter commented 9 years ago
Fixed in Revision 7c6a24607e9c

Original comment by Lord.Qua...@gmail.com on 17 Jul 2014 at 12:56