What steps will reproduce the problem?
1. We construct a bot with long login/nick
2. The server (mine now is undernet) will accept the connection but return a
shorter hostmask (passed to inputparser)
3. Input parser will not be able to find the Pircbotx with specified login/nick
returned by the server.
What is the expected output? What do you see instead?
I think when the server pass back the new login information, the bot should be
able to pick up the changes and update nick/login information accordingly
What version of the product are you using? On what operating system?
2.0.1 and 2.1
Please provide any additional information below.
Nick: testwithalongnick
Login:testwithalonglogin
2 error locations for your references:
===ONE===
System.err﹕ 12741 [botPool-bot1] ERROR org.pircbotx.PircBotX - Exception
encountered when parsing line :testwithalon!~testwitha@xx.xx.xx.xx MODE
testwithalon :+i
02-05 15:30:50.014 12685-12799/com.myirc W/System.err﹕
org.pircbotx.exception.DaoException: UnknownUser: testwithalon
02-05 15:30:50.015 12685-12799/com.myirc W/System.err﹕ at
org.pircbotx.UserChannelDao.getUser(UserChannelDao.java:99)
===TWO===
02-05 15:30:50.211 12685-12799/com.myirc W/System.err﹕ 12937 [botPool-bot1]
ERROR org.pircbotx.PircBotX - Exception encountered when parsing line
:testwithalon!~testwitha@xx.xx.xx.xx JOIN #myircchannel
02-05 15:30:50.211 12685-12799/com.myirc W/System.err﹕
java.lang.NullPointerException: channel
02-05 15:30:50.211 12685-12799/com.myirc W/System.err﹕ at
org.pircbotx.UserChannelDao.addUserToChannel(UserChannelDao.java:193)
Original issue reported on code.google.com by function...@gmail.com on 5 Feb 2015 at 9:02
Original issue reported on code.google.com by
function...@gmail.com
on 5 Feb 2015 at 9:02