Techcable / pircbotx

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

DCC Send NullPointerException #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start bot
2. Attempt to send a file to it (I used kvirc for this, right click on 
name->dcc->send)

What is the expected output? What do you see instead?
The listener to get called, if there is a listener. Instead, if there is a 
listener or not, this happens:

[main] INFO org.pircbotx.InputParser - :testclient!~kvirc@redacted.hostname 
PRIVMSG testbot :DCC SEND construction_b1.bsp 1524343863 44401 1677168
[main] ERROR org.pircbotx.PircBotX - Exception encountered when parsing line
java.lang.NullPointerException: transferToken
    at org.pircbotx.hooks.events.IncomingFileTransferEvent.<init>(IncomingFileTransferEvent.java:88)
    at org.pircbotx.dcc.DccHandler.processDcc(DccHandler.java:109)
    at org.pircbotx.InputParser.processCommand(InputParser.java:483)
    at org.pircbotx.InputParser.handleLine(InputParser.java:350)
    at org.pircbotx.PircBotX.startLineProcessing(PircBotX.java:275)
    at org.pircbotx.PircBotX.connect(PircBotX.java:236)
    at org.pircbotx.PircBotX.startBot(PircBotX.java:151)
    at ...

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

Please provide any additional information below.
Using "right click on name->DCC->reverse send" from kvirc does not cause this 
error. It also does not work, but that's probably just my network setup.

Original issue reported on code.google.com by viciouz...@gmail.com on 23 May 2014 at 1:26

GoogleCodeExporter commented 9 years ago
This was reported in Issue #159 and is fixed in the latest snapshot, see 
http://code.google.com/p/pircbotx/wiki/DevVersion . I'm sorry, it's taken me 
longer than I thought to get this release finished.

Original comment by Lord.Qua...@gmail.com on 23 May 2014 at 3:14