Page MenuHomePhabricator

Unhandled exception in userinfo
Closed, ResolvedPublic

Description

Reported by juancarlos, suspected to be triggered by PM

Revisions and Commits

Event Timeline

stwalkerster created this task.
swalker added a subscriber: swalker.
2018-10-24 21:26:54,298 DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Inbound - :Praxidicae!sid214169@wikipedia/Praxidicae PRIVMSG #wikipedia-en-helpers :!userinfo Dreamcrusher                   
2018-10-24 21:26:54,299 DEBUG Helpmebot.Legacy.LegacyCommandHandler.LegacyCommandParser - Handling received message...                                                                                             
2018-10-24 21:26:54,301 INFO  Stwalkerster.Bot.CommandLib.Services.CommandParser - Creating command object of type Helpmebot.Commands.WikiInformation.UserInfoCommand                                              
2018-10-24 21:26:54,303 DEBUG Helpmebot.Commands.WikiInformation.UserInfoCommand - Found method: Execute                                                                                                           
2018-10-24 21:26:54,310 DEBUG Stwalkerster.Bot.MediaWikiLib.Services.WebServiceClient - Requesting https://en.wikipedia.org/w/api.php?action=query&list=users&usprop=editcount&ususers=Dreamcrusher&format=xml     
2018-10-24 21:26:54,461 ERROR Helpmebot.Commands.WikiInformation.UserInfoCommand - Unhandled exception during command execution
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Stwalkerster.Bot.MediaWikiLib.Exceptions.GeneralMediaWikiApiException: Missing user                    
  at Stwalkerster.Bot.MediaWikiLib.Services.MediaWikiApi.GetEditCount (System.String username) [0x0008c] in <eb9fc908904145f58cb85e96fa0650a8>:0                                                                   
  at Helpmebot.Commands.WikiInformation.UserInfoCommand.Execute () [0x0004a] in <5472ade6f834424e8e51ff400c17460d>:0                                                                                               
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)                                                                       
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   --- End of inner exception stack trace ---                                                                                                                                                                      
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3833a6edf2074b959d3dab898627f0ac>:0                                                                         
  at Stwalkerster.Bot.CommandLib.Commands.CommandUtilities.CommandBase.Run () [0x00141] in <5bece596320e471c89c59d3dac00cfca>:0                                                                                    
2018-10-24 21:26:54,566 DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Outbound - PRIVMSG #wikipedia-en-helpers :Unhandled exception during command execution.
2018-10-25 04:38:33,782 DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Inbound - :juancarlos!~what@wikimedia/Killiondude PRIVMSG Helpmebot :!userinfo drewx0r                                       
2018-10-25 04:38:33,783 DEBUG Helpmebot.Legacy.LegacyCommandHandler.LegacyCommandParser - Handling received message...                                                                                             
2018-10-25 04:38:33,786 INFO  Stwalkerster.Bot.CommandLib.Services.CommandParser - Creating command object of type Helpmebot.Commands.WikiInformation.UserInfoCommand
2018-10-25 04:38:33,787 DEBUG Helpmebot.Commands.WikiInformation.UserInfoCommand - Found method: Execute
2018-10-25 04:38:33,794 DEBUG Stwalkerster.Bot.MediaWikiLib.Services.WebServiceClient - Requesting https://en.wikipedia.org/w/api.php?action=query&list=users&usprop=editcount&ususers=drewx0r&format=xml          
2018-10-25 04:38:33,938 ERROR Helpmebot.Commands.WikiInformation.UserInfoCommand - Unhandled exception during command execution
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Stwalkerster.Bot.MediaWikiLib.Exceptions.GeneralMediaWikiApiException: Missing user                    
  at Stwalkerster.Bot.MediaWikiLib.Services.MediaWikiApi.GetEditCount (System.String username) [0x0008c] in <eb9fc908904145f58cb85e96fa0650a8>:0                                                                   
  at Helpmebot.Commands.WikiInformation.UserInfoCommand.Execute () [0x0004a] in <5472ade6f834424e8e51ff400c17460d>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)                                                                       
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   --- End of inner exception stack trace ---                                                                                                                                                                      
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <3833a6edf2074b959d3dab898627f0ac>:0                                                                         
  at Stwalkerster.Bot.CommandLib.Commands.CommandUtilities.CommandBase.Run () [0x00141] in <5bece596320e471c89c59d3dac00cfca>:0                                                                                    
2018-10-25 04:38:34,029 DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Outbound - PRIVMSG juancarlos :Unhandled exception during command execution.
swalker renamed this task from Nullref in userinfo to Unhandled exception in userinfo.Oct 25 2018, 10:09 AM
stwalkerster claimed this task.
stwalkerster added commits: Unknown Object (Diffusion Commit), Unknown Object (Diffusion Commit).