[Mono-bugs] [Bug 556824] New: Build failed. Object reference not set to an instance of an object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 19 03:59:23 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=556824

http://bugzilla.novell.com/show_bug.cgi?id=556824#c0


           Summary: Build failed. Object reference not set to an instance
                    of an object
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

Somehow MonoDevelop no longer likes my MonoTouch solution. When I try to build
the MonoTouch project I get "Build failed. Object reference not set to an
instance of an object".

When I try to clean it, I get this error message (I assume the errors are
related):

System.NullReferenceException: Object reference not set to an instance of an
object
  at MonoDevelop.IPhone.IPhoneBuildExtension.Clean (IProgressMonitor monitor,
MonoDevelop.Projects.SolutionEntityItem item, System.String configuration)
[0x0002f] in
/Users/michael/Mono/md-release/extras/MonoDevelop.IPhone/MonoDevelop.IPhone/IPhoneBuildExtension.cs:345 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, IBuildTarget item, System.String configuration) [0x0000b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:104 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor
monitor, IBuildTarget item, System.String target, System.String configuration)
[0x0002b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:94 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item, System.String
configuration) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Moonlight.MoonlightBuildExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item, System.String
configuration) [0x0001c] in
/Users/michael/Mono/md-release/main/src/addins/MonoDevelop.Moonlight/MonoDevelop.Moonlight/MoonlightBuildExtension.cs:200 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, IBuildTarget item, System.String configuration) [0x0000b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:104 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor
monitor, IBuildTarget item, System.String target, System.String configuration)
[0x0002b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:94 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item, System.String
configuration) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, IBuildTarget item, System.String configuration) [0x0000b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:104 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor
monitor, IBuildTarget item, System.String target, System.String configuration)
[0x0002b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:94 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item, System.String
configuration) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, IBuildTarget item, System.String configuration) [0x0000b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:104 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor
monitor, IBuildTarget item, System.String target, System.String configuration)
[0x0002b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:94 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem item, System.String
configuration) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Projects.CustomCommandExtension.Clean (IProgressMonitor
monitor, MonoDevelop.Projects.SolutionEntityItem entry, System.String
configuration) [0x00029] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/CustomCommandExtension.cs:64 
  at MonoDevelop.Projects.ProjectServiceExtension.Clean (IProgressMonitor
monitor, IBuildTarget item, System.String configuration) [0x0000b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:104 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor
monitor, IBuildTarget item, System.String target, System.String configuration)
[0x0002b] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/ProjectServiceExtension.cs:94 
  at MonoDevelop.Projects.SolutionItem.RunTarget (IProgressMonitor monitor,
System.String target, System.String solutionConfiguration) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/SolutionItem.cs:222 
  at MonoDevelop.Projects.DotNetProject.RunTarget (IProgressMonitor monitor,
System.String target, System.String configuration) [0x00039] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects/DotNetProject.cs:425 
  at MonoDevelop.Ide.Gui.ProjectOperations.Clean (IBuildTarget entry) [0x00000]
in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs:862 
  at MonoDevelop.Ide.Commands.CleanHandler.Run () [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs:408 
  at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object
dataItem) [0x00000] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandHandler.cs:41 
  at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand
(System.Object dataItem) [0x0002e] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/ActionCommand.cs:89 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
(System.Object commandId, System.Object dataItem, System.Object initialTarget)
[0x00285] in
/Users/michael/Mono/md-release/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:565 



Steps to reproduce the problem:
1. 
2. 


Actual Results:


Expected Results:


How often does this happen? 


Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list