这是indexloc提供的服务,不要输入任何密码
Skip to content

NullReferenceException OnClosed in LayoutAnchorableFloatingWindowControl #437

@bbuerger

Description

@bbuerger

The following exception occured on a customer machine:

LayoutAnchorableFloatingWindowControl OnClosed: First Chance Exception: System.NullReferenceException:
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei AvalonDock.Controls.LayoutAnchorableFloatingWindowControl.OnClosed(EventArgs e)
bei System.Windows.Window.WmDestroy()

I don't have enough information which variable could be null perhaps _model or Manager?
I can create a pull request with nullchecks or null-conditional member access but I don't like these in my own code if I'm sure that these can never be null.
So I though I ask first which variable could be null and which style you do prefer (null Check or null-conditional member access)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions