Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/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-monodevelop-4.1.10-branch/f8473b12/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Components/ComponentReferenceCommands.cs:80
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.2/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.2/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.2/mcs/class/corlib/System.Reflection/MethodBase.cs:114
at MonoDevelop.Components.Commands.DefaultCommandHandler.Run (System.Object target, MonoDevelop.Components.Commands.Command cmd) [0x00019] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:2094
at MonoDevelop.Components.Commands.CustomCommandTargetAttribute.Run (System.Object target, MonoDevelop.Components.Commands.Command cmd) [0x00009] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CustomCommandTargetAttribute.cs:101
at MonoDevelop.Ide.Gui.Components.NodeCommandHandler+TransactedNodeHandlerAttribute.Run (System.Object target, MonoDevelop.Components.Commands.Command cmd) [0x0002d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/NodeCommandHandler.cs:296
at MonoDevelop.Components.Commands.CustomCommandTargetAttribute.MonoDevelop.Components.Commands.ICommandTargetHandler.Run (System.Object target, MonoDevelop.Components.Commands.Command cmd) [0x00004] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CustomCommandTargetAttribute.cs:58
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (System.Object cmdTarget, MonoDevelop.Components.Commands.Command cmd) [0x00021] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1963
at MonoDevelop.Components.Commands.CommandManager+<DispatchCommand>c__AnonStorey81.<>m__CE () [0x0005f] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1054
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002b0] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.10-branch/f8473b12/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1071
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment