Bug 2896 - When closing a MonoMac/MonoTouch project, I get an exception
Summary: When closing a MonoMac/MonoTouch project, I get an exception
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: unspecified
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2012-01-13 15:46 UTC by Miguel de Icaza [MSFT]
Modified: 2012-03-13 09:44 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 Miguel de Icaza [MSFT] 2012-01-13 15:46:57 UTC
The following was shown when I closed a MonoMac/MonoTouch project with the newresolver MonoDevelop:

Error synchronizing changes from Xcode. Object reference not set to an instance of an object.

Followed by this stack trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges (IProgressMonitor monitor) [0x00017] in /Users/builder/data/lanes/monodevelop-mac-newresolver/e937be08/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:345 

Screenshot with extra data:
Comment 1 Mike Krüger 2012-01-16 02:39:25 UTC
Alan: I think that method got called while syncing disabled (or not enabled).
Comment 2 Alan McGovern 2012-01-20 06:42:13 UTC
Could this be caused by a bad merge between master and newresolver? I cannot repro on master.
Comment 3 Alan McGovern 2012-03-13 09:44:48 UTC
This has not been reproducible so I'll assume it's been fixed.