Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtensionHost is null on EventBroker.Handlers.UserInterface #28

Open
Aretnorp opened this issue Apr 23, 2012 · 1 comment
Open

ExtensionHost is null on EventBroker.Handlers.UserInterface #28

Aretnorp opened this issue Apr 23, 2012 · 1 comment

Comments

@Aretnorp
Copy link

Whenever an event is raised that causes a targetInvocationException, EventBrokerHandlerBase.cs throws a null object exception due to the ExtensionHost property being null. This occurs when using an instance of the derived class, UserInterface.

In UserInterface.cs, the method

public virtual void Initialize(object subscriber, MethodInfo handlerMethod, IExtensionHost extensionHost)

is overridden but the base method, which sets the this.ExtensionHost property, is never called.

The extensionHost argument is passed into the UserInterface.cs and is not null.

This issue appears to affect the UserInterface and UserInterfaceAsync classes.

@danielmarbach
Copy link
Contributor

Urs have you had time to look at it? I think you are the faster one regarding the event broker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants