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

Sorry we crashed while walking on references #3290

Open
greenozon opened this issue Sep 26, 2024 · 4 comments
Open

Sorry we crashed while walking on references #3290

greenozon opened this issue Sep 26, 2024 · 4 comments
Labels

Comments

@greenozon
Copy link

Steps to reproduce

  1. Just walk thrugh the references deeply as on pic below

Error message shown

image

Details

  • ILSpy version 9.0.0.7777-preview2+bf2cf936e143384221d3277ac2a2960c7e2f0005
    .NET version 8.0.8+08338fcaa5c9b9a8190abb99222fed12aaba956c
@greenozon greenozon added the Bug label Sep 26, 2024
@siegfriedpammer
Copy link
Member

Can this still be reproduced using the latest master version? I am unable to reproduce it.

@greenozon
Copy link
Author

will test locally & report back shortly

@greenozon
Copy link
Author

Not able to catch it again on latest master (ILSpy version 9.0.0.7810-preview2+280d17332f81916e9f18a363fc3264df32e59b98)

thanks!
closing

@greenozon
Copy link
Author

greenozon commented Oct 8, 2024

well, having some time and desire and ... was able to reproduce it...
steps: just walking on assemblies references deep diving into lower levels,etc:

image

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

@greenozon greenozon reopened this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants