JustAssembly crashes when clicking "Show Unmodified" checkbox
dmstoykov opened this issue · 0 comments
Steps to reproduce:
- Download dotnet core runtime version 1.0.4 and 1.0.5
- Open JustAssembly and load both runtime shared folder contents in "Compare Folders" mode
- Double click any of the loaded assemblies ( in my case I clicked "System.Console.dll" ) ( you will be navigated to another tab )
- Close the newly opened tab
- Click the "Show Unmodified" checkbox located under the main tab
Stack trace:
System.Windows.Data Error: 8 : Cannot save value from target back to source. BindingExpression:Path=Data.ShowAllUnmodified; DataItem='BindingProxy' (HashCode=24807479); target element is 'CheckBox' (Name=''); target property is 'IsChecked' (type 'Nullable1') ArgumentOutOfRangeException:'System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at ICSharpCode.TreeView.SharpTreeNode.get_IsLast() at ICSharpCode.TreeView.LinesRenderer.OnRender(DrawingContext dc) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize) at System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Border.ArrangeOverride(Size finalSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize) at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.GridViewRowPresenter.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Border.ArrangeOverride(Size finalSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.VirtualizingStackPanel.ArrangeOtherItemsInExtendedViewport(Boolean isHorizontal, UIElement child, Size childDesiredSize, Double arrangeLength, Int32 index, Rect& rcChild, Size& previousChildSize, Point& previousChildOffset, Int32& previousChildItemIndex) at System.Windows.Controls.VirtualizingStackPanel.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.Controls.ItemsControl.OnBringItemIntoView(ItemInfo info) at ICSharpCode.TreeView.SharpTreeView.FocusNode(SharpTreeNode node) at ICSharpCode.TreeView.SharpTreeView.flattener_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at ICSharpCode.TreeView.TreeFlattener.RaiseCollectionChanged(NotifyCollectionChangedEventArgs e) at ICSharpCode.TreeView.TreeFlattener.NodesRemoved(Int32 index, IEnumerable
1 nodes)
at ICSharpCode.TreeView.SharpTreeNode.OnChildrenChanged(NotifyCollectionChangedEventArgs e)
at ICSharpCode.TreeView.SharpTreeNodeCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at JustAssembly.Nodes.ItemNodeBase.ReloadChildren() in c:\Jenkins\ReleaseFullWithUploadBuild\workspace\UI\JustAssembly\Nodes\ItemNodeBase.cs:line 88
at JustAssembly.Interfaces.BrowserTabSourceItemBase.set_ShowAllUnmodified(Boolean value) in c:\Jenkins\ReleaseFullWithUploadBuild\workspace\UI\JustAssembly\Interfaces\BrowserTabSourceItemBase.cs:line 71'
An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Index was out of range. Must be non-negative and less than the size of the collection.
The program '[16592] JustAssembly.exe' has exited with code 0 (0x0).