KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.42k stars 188 forks source link

ArgumentNullException Parameter name: element (VisualTreeUtils.AsNonNullVisual) #623

Closed JustinSchneiderPBI closed 8 months ago

JustinSchneiderPBI commented 1 year ago

Unexpected exception. Sorry about that. Please Ctrl+C to copy this text and file an issue at https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/new

System.ArgumentNullException: Value cannot be null. Parameter name: element at MS.Internal.Media.VisualTreeUtils.AsNonNullVisual(DependencyObject element, Visual& visual, Visual3D& visual3D) at System.Windows.Media.VisualTreeHelper.GetParent(DependencyObject reference) at System.Windows.Controls.VirtualizingStackPanel.FindScrollOffset(Visual v) at System.Windows.Controls.VirtualizingStackPanel.OnAnchorOperation(Boolean isAnchorOperationPending) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

KirillOsenkov commented 8 months ago

Duplicate of #570