raisedragon / pircbotx

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

NPE #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a bot idle where a person parts (A listener is optional but sitll)
2.
3.

What is the expected output? What do you see instead?
I expect to be given the details of the PARTEvent on my listener. Instead I get 
this:

[2014/07/29 19:34:15] [botPool0-bot1] [INFO] org.pircbotx.InputParser - 
:JZTech101!jztech101@crabhost.org PART #techcavern :Now What?
[2014/07/29 19:34:15] [botPool0-bot1] [ERROR] org.pircbotx.PircBotX - Exception 
encountered when parsing line
java.lang.NullPointerException: null key in entry: 
null=Channel(name=#techcavern, channelId=c498c65a-b594-4f56-a2ad-9c0371b148db, 
dao=null, bot=Version{PircBotX 2.1-SNAPSHOT, a fork of PircBot, the Java IRC 
bot - pircbotx.googlecode.com} Connected{true} Server{irc.esper.net} Port{6667} 
Password{null}, output=org.pircbotx.Channel$1@3a17c8c1, mode=, topic= Sensual 
Computer Chat || http://bit.ly/18XvfDD || Rules: Use Common Sense! || TS: 
ts.pagefortress.com || Have Fun!, topicTimestamp=1406315644000, 
createTimestamp=1385927613, topicSetter=WaveTact!~WaveTact@crabhost.org, 
moderated=true, noExternalMessages=true, inviteOnly=false, secret=false, 
channelPrivate=false, topicProtection=true, channelLimit=-1, channelKey=null, 
modeStale=false, modeLatch=null)
    at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:31)
    at com.google.common.collect.ImmutableMultimap$Builder.put(ImmutableMultimap.java:169)
    at org.pircbotx.UserChannelMap.createSnapshot(UserChannelMap.java:106)
    at org.pircbotx.UserChannelDao.createSnapshot(UserChannelDao.java:295)
    at org.pircbotx.InputParser.processCommand(InputParser.java:522)
    at org.pircbotx.InputParser.handleLine(InputParser.java:353)
    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)

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

PircBotX 2.1-SNAPshot
Please provide any additional information below.

Original issue reported on code.google.com by jzhou2...@gmail.com on 29 Jul 2014 at 11:37

GoogleCodeExporter commented 9 years ago
Errr... oops. I accidentally submitted this issue during the making of the one 
below it. Sorry

Original comment by jzhou2...@gmail.com on 29 Jul 2014 at 11:38

GoogleCodeExporter commented 9 years ago

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