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

[NBug] Object reference not set to an instance of an object. #9232

Closed
mstv opened this issue May 24, 2021 · 0 comments · Fixed by #9233
Closed

[NBug] Object reference not set to an instance of an object. #9232

mstv opened this issue May 24, 2021 · 0 comments · Fixed by #9233

Comments

@mstv
Copy link
Member

mstv commented May 24, 2021

Current behaviour

NRE from Left Panel

Expected behaviour

no crash

Steps to reproduce

Error Details

System.NullReferenceException: Object reference not set to an instance of an object.
   at void GitUI.BranchTreePanel.RepoObjectsTree+BaseBranchNode.ApplyStyle() in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.Nodes.Branches.cs:line 67
   at void GitUI.BranchTreePanel.RepoObjectsTree+BaseBranchLeafNode.ApplyStyle() in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.Nodes.Branches.cs:line 172
   at void GitUI.BranchTreePanel.RepoObjectsTree+LocalBranchNode.ApplyStyle() in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.Nodes.Branches.cs:line 202
   at void GitUI.BranchTreePanel.RepoObjectsTree+BaseBranchLeafNode.set_IsMerged(bool value) in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.Nodes.Branches.cs:line 164
   at void GitUI.BranchTreePanel.RepoObjectsTree.SelectionChanged(IReadOnlyList<GitRevision> selectedRevisions)+(BaseBranchLeafNode node) => { } in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.cs:line 290
   at void System.Linq.LinqExtensions.ForEach<T>(IEnumerable<T> enumerable, Action<T> action) in D:/Build/gitextensions3_dev/GitExtUtils/Linq/LinqExtensions.cs:line 124
   at void GitUI.BranchTreePanel.RepoObjectsTree+<>c__DisplayClass45_0+<<SelectionChanged>b__0>d.MoveNext() in D:/Build/gitextensions3_dev/GitUI/BranchTreePanel/RepoObjectsTree.cs:line 290
   at void GitUI.ThreadHelper+<>c__DisplayClass13_0+<<FileAndForget>b__0>d.MoveNext() in D:/Build/gitextensions3_dev/GitExtUtils/GitUI/ThreadHelper.cs:line 100

Environment

  • Git Extensions 0.0.0.0
  • Build b430c3f
  • Git 2.31.1.windows.1
  • Microsoft Windows NT 10.0.19042.0
  • .NET 5.0.6
  • DPI 96dpi (no scaling)
@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label May 24, 2021
@ghost ghost removed the 🚧 status: in progress Issues which have associated PRs label May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant