Page MenuHomePhabricator

argnull exception on page command with wikilink
Closed, ResolvedPublic

Description

<stwalkerster> !page [[Cult Of The Party Parrot]]
<Helpmebot> Argument cannot be null.
2016-06-10 01:55:14,799 [Threadpool worker] DEBUG NHibernate.AdoNet.AbstractBatcher [(null)] - ExecuteReader took 0 ms

2016-06-10 01:55:14,799 [Threadpool worker] DEBUG NHibernate.AdoNet.AbstractBatcher [(null)] - Opened IDataReader, open IDataReaders: 1

2016-06-10 01:55:14,800 [Threadpool worker] DEBUG NHibernate.Loader.Loader [(null)] - processing result set

2016-06-10 01:55:14,800 [Threadpool worker] DEBUG NHibernate.Loader.Loader [(null)] - done processing result set (0 rows)

2016-06-10 01:55:14,800 [Threadpool worker] DEBUG NHibernate.Driver.NHybridDataReader [(null)] - running NHybridDataReader.Dispose()

2016-06-10 01:55:14,801 [Threadpool worker] DEBUG NHibernate.AdoNet.AbstractBatcher [(null)] - Closed IDataReader, open IDataReaders :0

2016-06-10 01:55:14,801 [Threadpool worker] DEBUG NHibernate.AdoNet.AbstractBatcher [(null)] - DataReader was closed after 2 ms

2016-06-10 01:55:14,801 [Threadpool worker] DEBUG NHibernate.AdoNet.AbstractBatcher [(null)] - Closed IDbCommand, open IDbCommands: 0

2016-06-10 01:55:14,802 [Threadpool worker] DEBUG NHibernate.Loader.Loader [(null)] - total objects hydrated: 0

2016-06-10 01:55:14,802 [Threadpool worker] DEBUG NHibernate.Engine.StatefulPersistenceContext [(null)] - initializing non-lazy collections

2016-06-10 01:55:14,802 [Threadpool worker] DEBUG Helpmebot.Repositories.NotificationRepository [(null)] - Transactional function succeeded.

2016-06-10 01:55:14,802 [Threadpool worker] DEBUG NHibernate.Transaction.AdoTransaction [(null)] - Start Commit

2016-06-10 01:55:14,803 [Threadpool worker] DEBUG NHibernate.Impl.SessionImpl [(null)] - before transaction completion

2016-06-10 01:55:14,803 [Threadpool worker] DEBUG NHibernate.Transaction.AdoTransaction [(null)] - IDbTransaction Committed

2016-06-10 01:55:14,803 [Threadpool worker] DEBUG NHibernate.Impl.SessionImpl [(null)] - transaction completion

2016-06-10 01:55:14,804 [Threadpool worker] DEBUG NHibernate.AdoNet.ConnectionManager [(null)] - aggressively releasing database connection

2016-06-10 01:55:14,804 [Threadpool worker] DEBUG NHibernate.Connection.ConnectionProvider [(null)] - Closing connection

2016-06-10 01:55:14,804 [Threadpool worker] DEBUG NHibernate.Transaction.AdoTransaction [(null)] - IDbTransaction disposed.

2016-06-10 01:55:14,804 [Threadpool worker] DEBUG Helpmebot.Background.NotificationBackgroundService [(null)] - Found 0 items.

2016-06-10 01:55:17,443 [10] DEBUG Default.NetworkClient.Inbound [(null)] - :stwalkerster!stwalkerst@wikimedia/stwalkerster PRIVMSG #wikipedia-en-helpers :!page [[Cult Of The Party Parrot]]

2016-06-10 01:55:17,443 [10] DEBUG Default.LegacyCommandParser [(null)] - Handling received message...

2016-06-10 01:55:17,443 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Executing (reader)query: SELECT user_accesslevel FROM `user` WHERE @nick LIKE user_nickname AND @user LIKE user_username AND @host LIKE user_hostname ORDER BY `user_accesslevel` ASC;

2016-06-10 01:55:17,444 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Done executing (reader)query: SELECT user_accesslevel FROM `user` WHERE @nick LIKE user_nickname AND @user LIKE user_username AND @host LIKE user_hostname ORDER BY `user_accesslevel` ASC;

2016-06-10 01:55:17,445 [10] INFO  Default [(null)] - Running command: helpmebot6.Commands.Page

2016-06-10 01:55:17,446 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Executing (reader)query: SELECT accesslevel FROM `command` WHERE typename = @command LIMIT 1;

2016-06-10 01:55:17,446 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Done executing (reader)query: SELECT accesslevel FROM `command` WHERE typename = @command LIMIT 1;

2016-06-10 01:55:17,447 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Executing (reader)query: SELECT accesslevel FROM `command` WHERE typename = @command LIMIT 1;

2016-06-10 01:55:17,447 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Done executing (reader)query: SELECT accesslevel FROM `command` WHERE typename = @command LIMIT 1;

2016-06-10 01:55:17,448 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Executing non-query: INSERT INTO accesslog (al_nuh, al_accesslevel, al_reqaccesslevel, al_class, al_allowed, al_channel, al_args) VALUES (@nuh, @accesslevel, @reqaccesslevel, @class, @allowed, @channel, @args);

2016-06-10 01:55:17,449 [10] DEBUG Helpmebot.Legacy.Database.LegacyDatabase [(null)] - Done executing query

2016-06-10 01:55:17,449 [10] INFO  Default [(null)] - Starting command execution...

2016-06-10 01:55:17,932 [10] ERROR Default [(null)] - Argument cannot be null.
Parameter name: s
System.ArgumentNullException: Argument cannot be null.
Parameter name: s
  at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0 
  at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at helpmebot6.Commands.Page.ExecuteCommand () [0x00000] in <filename unknown>:0 
  at helpmebot6.Commands.GenericCommand.ReallyRunCommand () [0x00000] in <filename unknown>:0