Bug 10554 - Crash on selection of snippet property
Summary: Crash on selection of snippet property
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-02-21 17:29 UTC by Mark Foley
Modified: 2013-02-24 03:42 UTC (History)
1 user (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 Mark Foley 2013-02-21 17:29:45 UTC
In this thread under c), (http://forums.xamarin.com/discussion/comment/5122#Comment_5122) mhutch mentions you can edit a code snippet by clicking in the property window while a snippet is selected in the toolbox.  I get a crash of Xamarin Studio when I:

a) Drag the 'properties' pane so it sits below the toolbox snippet list
b) select a custom created snippet
c) Click on the value column for the 'template' property.

The error is:

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.StartEditing (MonoDevelop.Components.PropertyGrid.TableRow row) [0x0002d] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:667 
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.OnButtonPressEvent (Gdk.EventButton evnt) [0x00177] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:492 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 1 Mike Krüger 2013-02-24 03:42:35 UTC
fixed