Page MenuHomePhabricator

Unhandled exception in !afccount command
Closed, ResolvedPublic

Description

There's possibly other commands affected by this.

2020-02-17 22:16:44,235 [11] DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Inbound [(null)] - :stwalkerster!~stwalkers@wikimedia/stwalkerster PRIVMSG ##helpmebot :!afccount

2020-02-17 22:16:44,236 [Thread Pool Worker] INFO  Stwalkerster.Bot.CommandLib.Services.CommandParser [(null)] - Creating command object of type Helpmebot.Commands.WikiInformation.AfcCountCommand

2020-02-17 22:16:44,237 [Thread Pool Worker] ERROR Stwalkerster.Bot.CommandLib.Services.CommandParser [(null)] - Unable to create instance of command.
Castle.MicroKernel.Resolvers.DependencyResolverException: Missing dependency.
Component Helpmebot.Commands.WikiInformation.AfcCountCommand has a dependency on Helpmebot.Services.DraftStatusService, which could not be resolved.
Make sure the dependency is correctly registered in the container as a service, or provided as inline argument. ---> Castle.MicroKernel.Handlers.HandlerException: Handler for Helpmebot.Services.DraftStatusService was not found.
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.TryGetHandlerFromKernel (Castle.Core.DependencyModel dependency, Castle.MicroKernel.Context.CreationContext context) [0x00037] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType (Castle.MicroKernel.Context.CreationContext context, Castle.Core.ComponentModel model, Castle.Core.DependencyModel dependency) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
   --- End of inner exception stack trace ---
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType (Castle.MicroKernel.Context.CreationContext context, Castle.Core.ComponentModel model, Castle.Core.DependencyModel dependency) [0x0003e] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel (Castle.MicroKernel.Context.CreationContext context, Castle.Core.ComponentModel model, Castle.Core.DependencyModel dependency) [0x00051] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveCore (Castle.MicroKernel.Context.CreationContext context, Castle.MicroKernel.ISubDependencyResolver contextHandlerResolver, Castle.Core.ComponentModel model, Castle.Core.DependencyModel dependency) [0x000ab] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve (Castle.MicroKernel.Context.CreationContext context, Castle.MicroKernel.ISubDependencyResolver contextHandlerResolver, Castle.Core.ComponentModel model, Castle.Core.DependencyModel dependency) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments (Castle.Core.ConstructorCandidate constructor, Castle.MicroKernel.Context.CreationContext context) [0x0007d] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate (Castle.MicroKernel.Context.CreationContext context) [0x00008] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate (Castle.MicroKernel.Context.CreationContext context) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create (Castle.MicroKernel.Context.CreationContext context, Castle.MicroKernel.Burden burden) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance (Castle.MicroKernel.Context.CreationContext context, System.Boolean trackedExternally) [0x0000e] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve (Castle.MicroKernel.Context.CreationContext context, Castle.MicroKernel.IReleasePolicy releasePolicy) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore (Castle.MicroKernel.Context.CreationContext context, System.Boolean requiresDecommission, System.Boolean instanceRequired, Castle.MicroKernel.Burden& burden) [0x000ab] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Handlers.DefaultHandler.Resolve (Castle.MicroKernel.Context.CreationContext context, System.Boolean instanceRequired) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.Handlers.AbstractHandler.Resolve (Castle.MicroKernel.Context.CreationContext context) [0x00000] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.DefaultKernel.ResolveComponent (Castle.MicroKernel.IHandler handler, System.Type service, System.Collections.IDictionary additionalArguments, Castle.MicroKernel.IReleasePolicy policy, System.Boolean ignoreParentContext) [0x00020] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve (System.Type service, System.Collections.IDictionary arguments, Castle.MicroKernel.IReleasePolicy policy, System.Boolean ignoreParentContext) [0x00014] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.Facilities.TypedFactory.TypedFactoryComponentResolver.Resolve (Castle.MicroKernel.IKernelInternal kernel, Castle.MicroKernel.IReleasePolicy scope) [0x00071] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.Facilities.TypedFactory.Internal.TypedFactoryInterceptor.Resolve (Castle.DynamicProxy.IInvocation invocation) [0x0003d] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.Facilities.TypedFactory.Internal.TypedFactoryInterceptor.Intercept (Castle.DynamicProxy.IInvocation invocation) [0x0004c] in <7e506cde44b64aefaeaba08429cc95bd>:0 
  at Castle.DynamicProxy.AbstractInvocation.Proceed () [0x00050] in <1ffeacebfa574008a73b2273fdaf6e88>:0 
  at Castle.Proxies.ICommandTypedFactoryProxy.Create[0] (System.String commandSource, Stwalkerster.IrcClient.Model.Interfaces.IUser user, System.Collections.Generic.IList`1[T] arguments) [0x00069] in <7b18e6deb438419aa4d8ec17c3caab0f>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d2ec5c92492f4d6ba8c422bdf574b786>:0

Revisions and Commits

Event Timeline

stwalkerster created this task.
stwalkerster shifted this object from the Restricted Space space to the S1 Default space.Feb 17 2020, 10:24 PM
stwalkerster removed a project: Restricted Project.
stwalkerster updated the task description. (Show Details)
stwalkerster closed this task as Resolved by committing Restricted Diffusion Commit.Feb 17 2020, 10:39 PM
stwalkerster added a commit: Restricted Diffusion Commit.