Sorry we crashed while walking on references
Steps to reproduce
- Just walk thrugh the references deeply as on pic below
Error message shown
Details
- ILSpy version 9.0.0.7777-preview2+bf2cf936e143384221d3277ac2a2960c7e2f0005 .NET version 8.0.8+08338fcaa5c9b9a8190abb99222fed12aaba956c
Can this still be reproduced using the latest master version? I am unable to reproduce it.
will test locally & report back shortly
Not able to catch it again on latest master (ILSpy version 9.0.0.7810-preview2+280d17332f81916e9f18a363fc3264df32e59b98)
thanks! closing
well, having some time and desire and ... was able to reproduce it... steps: just walking on assemblies references deep diving into lower levels,etc:
Maybe stack tracke will help to understand how it happens?
---------------------------
Sorry, we crashed
---------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.ILSpyX.TreeView.SharpTreeNode.GetNodeByVisibleIndex(SharpTreeNode root, Int32 index) in /_/ICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs:line 112
at ICSharpCode.ILSpyX.TreeView.TreeFlattener.get_Item(Int32 index) in /_/ICSharpCode.ILSpyX/TreeView/TreeFlattener.cs:line 85
at System.Windows.Controls.VirtualizingStackPanel.MeasureOverrideImpl(Size constraint, Nullable`1& lastPageSafeOffset, List`1& previouslyMeasuredOffsets, Nullable`1& lastPagePixelSize, Boolean remeasure)
at System.Windows.Controls.VirtualizingStackPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Controls.VirtualizingStackPanel.<>c__DisplayClass94_0.<InitializeViewport>b__0()
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)
---------------------------
OK
---------------------------
version:
ILSpy version 9.0.0.7810-preview2+280d17332f81916e9f18a363fc3264df32e59b98 .NET version 8.0.8+08338fcaa5c9b9a8190abb99222fed12aaba956c