Coder Social home page Coder Social logo

Comments (1)

jonorossi avatar jonorossi commented on August 17, 2024

The TypedFactoryInterceptor implements IOnBehalfAware where Windsor will provide the ComponentModel to the interceptor during resolution. The Typed Factory facility uses this to get access to the extended properties of the component that is being intercepted to access a cache of methods. It stores this cache and access it during Intercept calls:

FactoryMethod method;
if (TryGetMethod(invocation, out method) == false)
{
throw new InvalidOperationException(
string.Format("Can't find information about factory method {0}. This is most likely a bug. Please report it.",
invocation.Method));
}

I can't see any other tickets where someone has logged an InvalidOperationException for this area of code, unfortunately without more information you'll have to either get a memory dump, add some extra logging to your application to determine what state the interceptor is in, or put together an repro.

Thanks for logging it so that it comes up in search if someone else runs into the same error.

from windsor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.