Bug 3042 - Build failed. Object reference not set to an instance of an object
Summary: Build failed. Object reference not set to an instance of an object
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.6
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-01-24 13:59 UTC by dj_technohead
Modified: 2012-02-01 07:37 UTC (History)
2 users (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 dj_technohead 2012-01-24 13:59:22 UTC
Description of Problem:

After upgrading to the latest version of the Mono framework, MonoTouch (5.2) and MonoDevelop (2.8.5), some projects do not compile and throw the above error.

Steps to reproduce the problem:
1. Right click on each sub project in a solution 
2. Select Rebuild

After downgrading MonoDevelop to 2.8.2, I am now able to compile all projects again.
Comment 1 dj_technohead 2012-01-24 14:43:02 UTC
I just checked the version of MonoDevelop that I have installed and it is 2.8.6.3.
I'm not sure if 2.8.5 is showing this error or not.
Comment 2 dj_technohead 2012-01-24 14:47:47 UTC
I've just installed MD 2.8.5 and I am able to build. So it appears to be just a problem with 2.8.6.3.
Comment 3 Jeffrey Stedfast 2012-01-26 16:53:05 UTC
Useful info from the mailing-list:

I am not sure if it is related but I started getting the following error
after the latest upgrade.

Error - 7:34:24 PM - System.NullReferenceException: Object reference not set
to an instance of an object
 at
MonoDevelop.IPhone.PlistEditor.IPhoneManifestExtensions.GetMinimumOSVersion
(MonoDevelop.MacDev.PlistEditor.PDictionary dict) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IPhoneManifestExtensions.cs:146
 at MonoDevelop.IPhone.IPhoneBuildExtension.CompileIBFiles
(IProgressMonitor monitor, MonoDevelop.IPhone.IPhoneProject project,
MonoDevelop.IPhone.IPhoneProjectConfiguration cfg, IEnumerable`1 items,
System.String outputRoot) [0x00292] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneBuildExtension.cs:1846
 at MonoDevelop.IPhone.IPhoneBuildExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x000aa] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneBuildExtension.cs:915
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:299
 at MonoDevelop.MonoMac.MonoMacBuildExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/extras/MonoDevelop.MonoMac/MonoDevelop.MonoMac/MonoMacBuildExtension.cs:216
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:299
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:299
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:299
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:299
 at MonoDevelop.Projects.ProjectServiceExtension.Compile (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x0000d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:290
 at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.Compile
(IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.BuildData buildData,
MonoDevelop.Projects.Extensions.ItemCompileCallback callback) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:65
 at MonoDevelop.Projects.Formats.MD1.MD1DotNetProjectHandler.OnBuild
(IProgressMonitor monitor, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0044f] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MD1/MD1DotNetProjectHandler.cs:152
 at MonoDevelop.Projects.Extensions.SolutionItemHandler.RunTarget
(IProgressMonitor monitor, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x0005b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemHandler.cs:57
 at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.RunTarget
(IProgressMonitor monitor, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00130] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:212
 at MonoDevelop.Projects.Project.DoBuild (IProgressMonitor monitor,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:620
 at MonoDevelop.Projects.Project.OnBuild (IProgressMonitor monitor,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x000b2] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/Project.cs:422
 at MonoDevelop.IPhone.IPhoneProject.OnBuild (IProgressMonitor monitor,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00011] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneProject.cs:432
 at MonoDevelop.Projects.SolutionItem.OnRunTarget (IProgressMonitor
monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:910
 at MonoDevelop.Projects.SolutionEntityItem.OnRunTarget (IProgressMonitor
monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0008d] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionEntityItem.cs:301
 at MonoDevelop.Projects.DefaultProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x0002b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:687
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Autotools.MakefileProjectServiceExtension.Build
(IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x0004e] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:156
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.IPhone.IPhoneBuildExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00018] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Project/IPhoneBuildExtension.cs:60
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.MonoMac.MonoMacBuildExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00018] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/extras/MonoDevelop.MonoMac/MonoDevelop.MonoMac/MonoMacBuildExtension.cs:52
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161
 at MonoDevelop.Projects.CustomCommandExtension.Build (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem entry,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00039] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CustomCommandExtension.cs:47
 at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor
monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x0000b] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153
 at MonoDevelop.Projects.ProjectServiceExtension.RunTarget
(IProgressMonitor monitor, IBuildTarget item, System.String target,
MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113
 at MonoDevelop.Projects.SolutionItem.RunTarget (IProgressMonitor monitor,
System.String target, MonoDevelop.Projects.ConfigurationSelector
configuration) [0x00000] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:448
 at MonoDevelop.Projects.SolutionItem.Build (IProgressMonitor monitor,
MonoDevelop.Projects.ConfigurationSelector solutionConfiguration, Boolean
buildReferences) [0x00090] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:521
 at MonoDevelop.Projects.SolutionItem.Build (IProgressMonitor monitor,
MonoDevelop.Projects.ConfigurationSelector solutionConfiguration, Boolean
buildReferences) [0x0012a] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:544
 at MonoDevelop.Ide.ProjectOperations.BuildSolutionItemAsync (IBuildTarget
entry, IProgressMonitor monitor, ITimeTracker tt) [0x00077] in
/Users/builder/data/lanes/monodevelop-mac-2.8.6.3/f4289daf/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:1131
Comment 4 Jeffrey Stedfast 2012-01-26 16:55:42 UTC
The problem is that if you try to compile a Library project (for example), there is no plist file and so project.GetInfoPlistDocument() returns null, which was then getting dereferenced.

Simple fix: make sure we have a plist before dereferencing it to get a MinOSVersion.
Comment 5 kenny80 2012-02-01 07:37:38 UTC
I'm getting same error in MonoDevelop 2.8.6.3/2.8.6.4 and it's a console program, compiles fine in Visual Studio 2010 but i get the error in MonoDevelop.