Another exception in build 254

I've shift-clicked in the file structure tool window to select several properties
at once. There is #region in the middle, may be it is the case.

JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred
---> System.ArgumentOutOfRangeException: Index was out of range.  Must be
non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at DevExpress.XtraTreeList.Nodes.TreeListNodes.get_Item(Int32 index)
   at DevExpress.XtraTreeList.Nodes.Operations.TreeListNodesIterator.GetNextVisible(TreeListNode
node)
   at DevExpress.XtraTreeList.Nodes.Operations.TreeListNodesIterator.VisitForwardVisibleNodes(TreeListVisibleNodeOperation
operation, TreeListNode upNode, TreeListNode downNode)
   at DevExpress.XtraTreeList.Nodes.Operations.TreeListNodesIterator.DoVisibleNodesOperation(TreeListVisibleNodeOperation
operation, TreeListNode visibleNodeFrom, TreeListNode visibleNodeTo)
   at DevExpress.XtraTreeList.Handler.TreeListControlState.SetSelection(TreeListNode
from, TreeListNode to, Boolean merge)
   at DevExpress.XtraTreeList.Handler.NodePressedState.MouseMultiSelect(TreeListNode
pressNode)
   at DevExpress.XtraTreeList.Handler.NodePressedState.ChangeSelection(RowInfo
pressRowInfo)
   at DevExpress.XtraTreeList.Handler.NodePressedState.Init()
   at DevExpress.XtraTreeList.Handler.TreeListHandler.SetControlState(TreeListState
state)
   at DevExpress.XtraTreeList.Handler.NormalState.OnPressNode()
   at DevExpress.XtraTreeList.Handler.NormalState.MouseDown(MouseEventArgs
e, TreeListHitTest ht)
   at DevExpress.XtraTreeList.Handler.TreeListHandler.OnMouseDown(MouseEventArgs
e)
   at DevExpress.XtraTreeList.TreeList.OnMouseDown(MouseEventArgs e)
   at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.DevExpressTreeControl.OnMouseDown(MouseEventArgs
e) in c:\Agent\work\ReSharper2.0\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\DevExpressTreeControl.cs:line
215
   at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.SimpleTreeControl.OnMouseDown(MouseEventArgs
e) in c:\Agent\work\ReSharper2.0\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\SimpleTreeControl.cs:line
160
   at JetBrains.ReSharper.FileStructureView.FileStructureTreeControl.OnMouseDown(MouseEventArgs
e) in c:\Agent\work\ReSharper2.0\src\FileStructureView\src\FileStructureTreeControl.cs:line
790
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button,
Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
   at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.DevExpressTreeControl.WndProc(Message&
m) in c:\Agent\work\ReSharper2.0\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\DevExpressTreeControl.cs:line
146
   --- End of inner exception stack trace ---

     at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean)
in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 327 column 9
     at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line
339 column 5
     at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.DevExpressTreeControl.WndProc(Message&)
in c:\Agent\work\ReSharper2.0\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\DevExpressTreeControl.cs:line
150 column 9
     at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.SimpleTreeControl.WndProc(Message&)
in c:\Agent\work\ReSharper2.0\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\SimpleTreeControl.cs:line
137 column 5
     at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
     at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)


Sincerely,
Ilya Ryzhenkov


1 comment
Comment actions Permalink

Hello ,

IR> I've shift-clicked in the file structure tool window to select
IR> several properties at once. There is #region in the middle, may be
IR> it is the case.

It is when there is no selection in the tree and you shift-click in some
location. For example, when you switch files using ctrl-tab there is no selection
in the file navigation panel, but current element is highlighted. Yes, it
is not selected but highlighted. Then just shift-click in the tree to get
exception.

Sincerely,
Ilya Ryzhenkov


0

Please sign in to leave a comment.