Hi Doruk

You're right, I would expect more details there. If you can run that code
with a debugger attached, what do you see in the debugger view on the
container (
https://github.com/castleproject/Windsor/blob/master/docs/debugger-views.md)

On Wed, 6 Dec 2017 at 00:19 Doruk Dalçam <[email protected]> wrote:

> Hi, I have an component which is registered as
>
>
> container.Register(Component.For<IConnectorFactory>().AsFactory().LifestyleTransient());
>
> container.Register(Component.For(typeof(JConnector<>)).LifestyleTransient());
>
> And exception text is like this; (Normally I expect that exception message
> include necessary missing things. But this time no inner exception and no
> further info.)
>
> Can't create component 'JConnector<>' as it has dependencies to be
> satisfied.
>
>    at
> Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext
> context, Boolean requiresDecommission, Boolean instanceRequired, Burden&
> burden)
>    at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext
> context, Boolean instanceRequired)
>    at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext
> context)
>    at
> Castle.MicroKernel.Handlers.DefaultGenericHandler.Resolve(CreationContext
> context, Boolean instanceRequired)
>    at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext
> context)
>    at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler,
> Type service, IDictionary additionalArguments, IReleasePolicy policy)
>    at
> Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type
> service, IDictionary arguments, IReleasePolicy policy)
>    at Castle.MicroKernel.DefaultKernel.Resolve(Type service, IDictionary
> arguments)
>    at Castle.Windsor.WindsorContainer.Resolve[T]()
>    at
> JawwalCrm.Bootstrapper.Common.WindsorServiceLocatorAdapter.Resolve[TService]()
> in WindsorServiceLocatorAdapter.cs:line 21
>
>
> Can you help me to resolve the issue? At least how to track it? Ideas or
> anything else would be great?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected]
> .
> Visit this group at https://groups.google.com/group/castle-project-users.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

sent from my phone
Krzysztof

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to