Bug 2421 - monotouch Solutions now error when closing with the following error
Summary: monotouch Solutions now error when closing with the following error
Status: RESOLVED DUPLICATE of bug 2382
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.9.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2011-12-08 11:59 UTC by Josh Handel
Modified: 2011-12-08 12:11 UTC (History)
1 user (show)

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:

Description Josh Handel 2011-12-08 11:59:34 UTC
When closing a monotouch solution, the following error is thrown. I think this is a MonoDevelop issue because its the solution that crashes, not the project.

System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[MonoDevelop.TypeSystem.TypeSystemService+ProjectContentWrapper,MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo].Remove (MonoDevelop.TypeSystem.ProjectContentWrapper key) [0x00000] in <filename unknown>:0 
  at MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService.HandleDomUnloaded (System.Object sender, MonoDevelop.Projects.ProjectEventArgs e) [0x00047] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectInfoService.cs:130 
  at MonoDevelop.TypeSystem.TypeSystemService.OnProjectUnloaded (MonoDevelop.Projects.ProjectEventArgs e) [0x0000c] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:719 
  at MonoDevelop.TypeSystem.TypeSystemService.Unload (MonoDevelop.Projects.Project project) [0x000a1] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:709 
  at MonoDevelop.TypeSystem.TypeSystemService.Unload (MonoDevelop.Projects.WorkspaceItem item) [0x000a9] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.TypeSystem/TypeSystemService.cs:687 
  at MonoDevelop.Ide.RootWorkspace.NotifyItemRemovedGui (MonoDevelop.Projects.WorkspaceItem item) [0x00093] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1062 
  at MonoDevelop.Ide.RootWorkspace.NotifyItemRemoved (MonoDevelop.Projects.WorkspaceItem item) [0x0001e] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1034 
  at MonoDevelop.Ide.RootWorkspaceItemCollection.RemoveItem (Int32 index) [0x0001a] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:1435 
  at System.Collections.ObjectModel.Collection`1[MonoDevelop.Projects.WorkspaceItem].Remove (MonoDevelop.Projects.WorkspaceItem item) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.RootWorkspace.Close (Boolean saveWorkspacePreferencies, Boolean closeProjectFiles) [0x000f6] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs:454
Comment 1 Alan McGovern 2011-12-08 12:11:49 UTC

*** This bug has been marked as a duplicate of bug 2382 ***