Bug 3686 - Error when switching projects in MonoDevelop after opening first project's .xib in Xcode
Summary: Error when switching projects in MonoDevelop after opening first project's .x...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8 beta 3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-02-29 12:33 UTC by PJ
Modified: 2015-08-13 17:39 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 PJ 2012-02-29 12:33:06 UTC
MT 5.2.6
Mono 2.10.9

Steps to reproduce:
1) Open a monotouch project
2) Open a .xib in this project (to launch xcode)
3) Open a different solution in MonoDevelop

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext.MergeExistingTypes (System.Collections.Generic.Dictionary`2 designerFiles) [0x00006] in /Users/builder/data/lanes/monodevelop-mac- 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext.GetTypeUpdates (IProgressMonitor monitor, System.CodeDom.Compiler.CodeDomProvider provider, System.Collections.Generic.Dictionary`2& newTypes, System.Collections.Generic.Dictionary`2& newFiles) [0x0013c] in /Users/builder/data/lanes/monodevelop-mac- 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.UpdateCliTypes (IProgressMonitor monitor, MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext context, System.Boolean& typesAdded) [0x00039] in /Users/builder/data/lanes/monodevelop-mac- 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges (IProgressMonitor monitor) [0x0004c] in /Users/builder/data/lanes/monodevelop-mac-