Bug 882 - Unhandled Exception
Summary: Unhandled Exception
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.6
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-09-18 06:22 UTC by Benjamin Zhao
Modified: 2013-01-14 09:41 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 Benjamin Zhao 2011-09-18 06:22:46 UTC
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.

Parameter name: path

   at System.IO.Path.GetFullPathInternal(String path)

   at System.IO.Path.GetFullPath(String path)

   at MonoDevelop.Core.FilePath.get_CanonicalPath()

   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFolder..ctor(FilePath absolutePath, IWorkspaceObject parentWorkspaceObject, Object parent)

   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFolder.get_Parent()

   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectFolderNodeBuilder.GetParentObject(Object dataObject)

   at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.GetNodeAtObject(Object dataObject, Boolean createTreeBranch)

   at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.GetNodeAtObject(Object dataObject, Boolean createTreeBranch)

   at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.GetNodeAtObject(Object dataObject, Boolean createTreeBranch)

   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectSolutionPad.SelectActiveFile()

   at MonoDevelop.Ide.DispatchService.GuiDispatch(MessageHandler cb)

   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectSolutionPad.OnWindowChanged(Object ob, EventArgs args)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at MonoDevelop.Ide.Gui.Workbench.OnDocumentChanged(Object s, EventArgs a)

   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnActiveWindowChanged(Object sender, EventArgs e)

   at MonoDevelop.Ide.Gui.DefaultWorkbench.RemoveTab(Int32 pageNum)

   at MonoDevelop.Ide.Gui.SdiWorkspaceWindow.CloseWindow(Boolean force, Boolean fromMenu, Int32 pageNum)

   at MonoDevelop.Ide.Gui.DefaultWorkbench.closeClicked(Object o, EventArgs e)

   at MonoDevelop.Components.TabLabel.ButtonClicked(Object o, EventArgs eventArgs)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Delegate.DynamicInvokeImpl(Object[] args)

   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)

   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)

   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
Comment 1 Jeffrey Stedfast 2011-11-15 14:49:56 UTC
Hi Benjamin,

Can you reproduce this bug reliably? And if so, how?
Comment 2 Alan McGovern 2013-01-14 09:41:57 UTC
I believe this has been fixed. I patched some cases of this at least 6 months ago and have not seen the issue since.