[Mono-osx] Error when running app with Custom Parameters in MonoDevelop

Peter Loron peterl at standingwave.org
Tue Oct 11 13:46:13 EDT 2011


Hello, folks. I'm running into an issue with MonoDevelop. I have a very simple app that runs fine when I do a normal Debug session. However, when I try to run it using Run With --> Custom Parameters, I get the exception shown below. My versions:

OS 10.7.1
MonoDevelop 2.8
Mono 2.10.5 (tarball Mon Aug 22 20:38:08 EDT 2011)

Any info? Thanks!



System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MacIntegration.MacExternalConsoleProcess.Escape (System.String str) [0x00000] in /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacExternalConsoleProcess.cs:119 
  at MonoDevelop.MacIntegration.MacExternalConsoleProcess..ctor (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00048] in /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacExternalConsoleProcess.cs:93 
  at MonoDevelop.MacIntegration.MacPlatformService.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00000] in /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacPlatform.cs:373 
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, IConsole console, System.EventHandler exited) [0x000e5] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs:211 
  at MonoDevelop.Core.Execution.NativePlatformExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x000a0] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/NativePlatformExecutionHandler.cs:64 
  at MonoDevelop.Core.Execution.MonoPlatformExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x00059] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/MonoPlatformExecutionHandler.cs:56 
  at MonoDevelop.Core.Execution.DotNetExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x00022] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/DotNetExecutionHandler.cs:43 
  at MonoDevelop.Core.Execution.DefaultExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x0000c] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/DefaultExecutionHandler.cs:43 
  at MonoDevelop.Ide.Execution.CustomExecutionMode.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console, Boolean allowPrompt, Boolean forcePrompt) [0x000ea] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionMode.cs:147 
  at MonoDevelop.Ide.Execution.CustomExecutionMode.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console, Boolean allowPrompt, Boolean forcePrompt) [0x0003f] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionMode.cs:133 
  at MonoDevelop.Ide.Execution.CustomExecutionMode.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionMode.cs:122 
  at MonoDevelop.Projects.DotNetProject.DoExecute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector configuration) [0x000b2] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1112 


More information about the Mono-osx mailing list