Bug 14908 - Exception when trying to use "Components" solution tree node
Summary: Exception when trying to use "Components" solution tree node
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-09-21 19:52 UTC by Jérémie Laval
Modified: 2014-01-22 06:56 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 Jérémie Laval 2013-09-21 19:52:47 UTC
Exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Xwt.InvalidConstructorInvocation: Subclasses of Xwt.Button can only invoke the default constructor
  at Xwt.XwtComponent.VerifyConstructorCall[Button] (Xwt.Button t) [0x0002b] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/external/xwt/Xwt/Xwt/XwtComponent.cs:72 
  at Xwt.Button..ctor (System.String label) [0x00025] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/external/xwt/Xwt/Xwt/Button.cs:70 
  at Xamarin.Components.Ide.GetMoreComponentsButton..ctor (System.String label) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/Components/ComponentManager/GetMoreComponentsButton.cs:40 
  at (wrapper remoting-invoke-with-check) Xamarin.Components.Ide.GetMoreComponentsButton:.ctor (string)
  at Xamarin.Components.Ide.ComponentManagerWidget.CreateHeader () [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/Components/ComponentManager/ComponentManagerWidget.cs:67 
  at Xamarin.Components.Ide.ComponentManagerWidget..ctor (IComponentReferencingProjectAdaptor project, IComponentStoreBrowserFactory factory) [0x0007b] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Components.Ide/Components/ComponentManager/ComponentManagerWidget.cs:43 
  at (wrapper remoting-invoke-with-check) Xamarin.Components.Ide.ComponentManagerWidget:.ctor (Xamarin.Components.Ide.IComponentReferencingProjectAdaptor,Xamarin.Components.Ide.IComponentStoreBrowserFactory)
  at Xamarin.Ide.Components.ComponentManagerViewContent.get_Control () [0x00024] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Components/ComponentManagerViewContent.cs:36 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, MonoDevelop.Ide.Gui.DockNotebook tabControl, IDockNotebookTab tabLabel) [0x0008a] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:80 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x000e6] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:396 
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (IViewContent content, Boolean bringToFront) [0x00009] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:487 
  at Xamarin.Ide.Components.ComponentManagerViewContent.Open (MonoDevelop.Projects.DotNetProject project) [0x0007e] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Components/ComponentManagerViewContent.cs:111 
  at Xamarin.Ide.Components.ComponentReferenceFolderCommandHandler.ShowManager () [0x00018] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Components/ComponentReferenceCommands.cs:80 
  at Xamarin.Ide.Components.ComponentReferenceFolderCommandHandler.ActivateItem () [0x00002] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Components/ComponentReferenceCommands.cs:66 
  at MonoDevelop.Ide.Gui.Components.NodeCommandHandler.ActivateMultipleItems () [0x00010] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/NodeCommandHandler.cs:104 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.ActivateCurrentItem () [0x0005a] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:865 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.OnNodeActivated (System.Object sender, Gtk.RowActivatedArgs args) [0x00002] in /Users/builder/data/lanes/monodevelop-lion-master/df750340/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:1945 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:230 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00069] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:238 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.Reflection/MethodBase.cs:114 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000d5] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Delegate.cs:424 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/MulticastDelegate.cs:72 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Delegate.cs:398 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 

Build:

=== Xamarin Studio ===

Version 4.1.7 (build 963)
Installation UUID: 9f043368-f776-409e-8ffd-efbda48219aa
Runtime:
	Mono 3.2.1 ((no/f3f789e)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (2.12.0.0)
	Package version: 302010001

=== Apple Developer Tools ===

Not Found

=== Xamarin.iOS ===

Version: 6.9.6.0
Hash: d46e8f2
Branch: 
Build date: 2013-19-08 09:52:00-0400

=== Xamarin.Android ===

Version: 4.8.2 (Business Edition)
Android SDK: /Users/jeremie/mono/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: 1.2.36

=== Build Information ===

Release ID: 401070963
Git revision: df75034088ae454bbd03000518f8e1abc3b9ff6a
Build date: 2013-09-03 09:12:21+0000
Xamarin addins: 46ea96c02a095840b026d955b667849b8fceae02

=== Operating System ===

Mac OS X 10.8.5
Darwin phoenix 12.5.0 Darwin Kernel Version 12.5.0
    Mon Jul 29 16:33:49 PDT 2013
    root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64
Comment 1 Jérémie Laval 2013-09-21 19:58:07 UTC
Already fixed in more recent versions
Comment 2 Nischal 2014-01-22 06:56:30 UTC
Hi Jeremie,

Could you please provide us some test steps/directions to verify this issue?

Thanks