Skip to content

ExtensionHost is null on EventBroker.Handlers.UserInterface #28

Description

@Aretnorp

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions