Bug 406 - Invalid TreeIter when closing the assembly viewer
Summary: Invalid TreeIter when closing the assembly viewer
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-08-25 07:05 UTC by Alan McGovern
Modified: 2011-10-05 13:25 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-08-25 07:05:15 UTC
I had right clicked on a MonoTouch type and clicked "Go To Definition". I then closed the assembly viewer before it had finished opening and got this:

System.InvalidOperationException: Tree iterator has been invalidated.
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView+TreeNodeNavigator.AssertIsValid () [0x0006a] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeNodeNavigator.cs:69 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView+TreeNodeNavigator.MoveToParent () [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeNodeNavigator.cs:190 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.SearchMember (ITreeNavigator nav, System.String helpUrl) [0x00042] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs:365 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.SearchMember (ITreeNavigator nav, System.String helpUrl) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs:361 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.SearchMember (ITreeNavigator nav, System.String helpUrl) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs:361 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.SearchMember (System.String helpUrl) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs:330 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Open (System.String url) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs:954 
  at MonoDevelop.AssemblyBrowser.AssemblyBrowserViewContent.Open (System.String url) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserView.cs:84 
  at MonoDevelop.Ide.ProjectOperations+<JumpToDeclaration>c__AnonStoreyB7.<>m__18D () [0x00017] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:270 
  at MonoDevelop.Ide.Gui.Document.RunWhenLoaded (System.Action action) [0x00018] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:599 
  at MonoDevelop.Ide.ProjectOperations.JumpToDeclaration (INode visitable) [0x001a4] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:267 
  at MonoDevelop.Refactoring.Refactorer.GoToDeclaration () [0x00152] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoryCommands.cs:853 
  at MonoDevelop.Refactoring.CurrentRefactoryOperationsHandler.Run (System.Object data) [0x0000d] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoryCommands.cs:78 
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) [0x00076] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:649 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002d1] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:619