Bug 8119 - Error synchronizing changes from Xcode when switching projects
Summary: Error synchronizing changes from Xcode when switching projects
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-10-31 18:13 UTC by Frank A. Krueger
Modified: 2012-11-01 15:42 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 Frank A. Krueger 2012-10-31 18:13:18 UTC
When switching to a different project while Xcode is open:

"Error synchronizing changes from Xcode."

gdb report "SIGBUS". When I continue, I get:

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_private-lion-ui-refresh/ea0d2bc6/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/XcodeSyncing/XcodeSyncBackContext.cs:189 
  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_private-lion-ui-refresh/ea0d2bc6/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/XcodeSyncing/XcodeSyncBackContext.cs:118 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.UpdateCliTypes (IProgressMonitor monitor, MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext context, System.Boolean& typesAdded) [0x00039] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/ea0d2bc6/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:722 
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges (IProgressMonitor monitor) [0x00053] in /Users/builder/data/lanes/monodevelop_private-lion-ui-refresh/ea0d2bc6/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:498
Comment 1 Jeffrey Stedfast 2012-11-01 15:42:16 UTC
fixed in git master