Bug 3077 - Error clicking 'source' in main.axml
Summary: Error clicking 'source' in main.axml
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 2.8 beta 3
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-01-25 18:12 UTC by Nat Friedman
Modified: 2012-01-27 12:51 UTC (History)
0 users

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 Nat Friedman 2012-01-25 18:12:18 UTC
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.AspNet.AspNetToolboxNode.IsCompatibleWith (MonoDevelop.Ide.Gui.Document document) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet/AspNetToolboxNode.cs:163 
  at MonoDevelop.SourceEditor.SourceEditorView.MonoDevelop.DesignerSupport.Toolbox.ICustomFilteringToolboxConsumer.SupportsItem (MonoDevelop.DesignerSupport.Toolbox.ItemToolboxNode item) [0x0000f] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1821 
  at MonoDevelop.DesignerSupport.ToolboxService.IsSupported (MonoDevelop.DesignerSupport.Toolbox.ItemToolboxNode node, IToolboxConsumer consumer) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:485 
  at MonoDevelop.DesignerSupport.ToolboxService.GetToolboxItems (IToolboxConsumer consumer) [0x0003b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:304 
  at MonoDevelop.DesignerSupport.ToolboxService.GetCurrentToolboxItems () [0x00000] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:282 
  at MonoDevelop.DesignerSupport.Toolbox.Toolbox.Refresh () [0x00042] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs:243 
  at MonoDevelop.DesignerSupport.Toolbox.Toolbox+<Toolbox>c__AnonStorey6.<>m__5 (System.Object , MonoDevelop.DesignerSupport.ToolboxConsumerChangedEventArgs ) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/Toolbox.cs:134 
  at MonoDevelop.DesignerSupport.ToolboxService.OnToolboxConsumerChanged (IToolboxConsumer consumer) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:458 
  at MonoDevelop.DesignerSupport.ToolboxService.set_CurrentConsumer (IToolboxConsumer value) [0x00007] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:343 
  at MonoDevelop.DesignerSupport.ToolboxService.OnViewChanged (System.Object sender, System.EventArgs args) [0x00057] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/ToolboxService.cs:421 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.Gui.Document.OnViewChanged (System.EventArgs args) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:534 
  at MonoDevelop.Ide.Gui.Document.OnActiveViewContentChanged (System.Object s, System.EventArgs args) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:522 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ActiveViewContentEventArgs (object,MonoDevelop.Ide.Gui.ActiveViewContentEventArgs)
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow.OnActiveViewContentChanged (MonoDevelop.Ide.Gui.ActiveViewContentEventArgs e) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:660 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow.SetCurrentView (Int32 newIndex) [0x000e5] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:592 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow+<AddButton>c__AnonStorey9E.<>m__13E (System.Object sender, System.EventArgs e) [0x00033] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:487 
  at MonoDevelop.Components.Tab.OnActivated (System.EventArgs e) [0x0000d] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:396 
  at MonoDevelop.Components.Tab.set_Active (Boolean value) [0x00012] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:225 
  at MonoDevelop.Components.Tabstrip.set_ActiveTab (Int32 value) [0x0002b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:58 
  at MonoDevelop.Components.Tabstrip.OnButtonPressEvent (Gdk.EventButton evnt) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-designer/074024c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/Tabstrip.cs:149 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 1 Lluis Sanchez 2012-01-26 04:47:18 UTC
Can you reliably reproduce this? it works fine here. A screencast might help.
Comment 2 Nat Friedman 2012-01-26 21:17:16 UTC
This happens when the android sdk path is wrong.
Comment 3 Lluis Sanchez 2012-01-27 12:51:54 UTC
Ok, so looks like this is already fixed.