Bug 11117 - deleting a top-level solution folder crashes XS
Summary: deleting a top-level solution folder crashes XS
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: 4.0.2
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-13 10:40 UTC by Zambiorix
Modified: 2015-11-20 07:03 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 Zambiorix 2013-03-13 10:40:02 UTC
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Projects.SolutionFolder.GetDefaultBaseDirectory () [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionFolder.cs:111 
  at MonoDevelop.Projects.SolutionItem.get_BaseDirectory () [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionItem.cs:224 
  at MonoDevelop.DesignerSupport.Projects.SolutionItemDescriptor.get_RootDirectory () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/SolutionItemDescriptor.cs:73 
  at (wrapper delegate-invoke) <Module>:invoke_string__this___SolutionItemDescriptor (MonoDevelop.DesignerSupport.Projects.SolutionItemDescriptor)
  at System.Reflection.MonoProperty.GetterAdapterFrame[SolutionItemDescriptor,String] (System.Reflection.Getter`2 getter, System.Object obj) [0x00000] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MonoProperty.cs:246 
  at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00083] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MonoProperty.cs:314 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00096] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MonoProperty.cs:316 
  at System.ComponentModel.ReflectionPropertyDescriptor.GetValue (System.Object component) [0x00014] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System/System.ComponentModel/ReflectionPropertyDescriptor.cs:149 
  at MonoDevelop.Components.PropertyGrid.PropertyEditorCell.GetValueText () [0x00011] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyEditorCell.cs:90 
  at MonoDevelop.Components.PropertyGrid.PropertyEditorCell.Initialize () [0x00024] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyEditorCell.cs:127 
  at MonoDevelop.Components.PropertyGrid.PropertyEditorCell.Initialize (Gtk.Widget container, MonoDevelop.Components.PropertyGrid.EditorManager editorManager, System.ComponentModel.PropertyDescriptor property, System.Object obj) [0x00057] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyEditorCell.cs:76 
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.GetCell (MonoDevelop.Components.PropertyGrid.TableRow row) [0x00012] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:246 
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.Draw (Cairo.Context ctx, System.Collections.Generic.List`1 rowList, Int32 dividerX, Int32 x, System.Int32& y) [0x0024c] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:401 
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.Draw (Cairo.Context ctx, System.Collections.Generic.List`1 rowList, Int32 dividerX, Int32 x, System.Int32& y) [0x00397] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:427 
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.OnExposeEvent (Gdk.EventExpose evnt) [0x0011a] in /Users/builder/data/lanes/monodevelop-lion-bs1/2be11af9/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:352 
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 1 Danish Akhtar 2015-11-20 07:03:59 UTC
Hi Zambiorix,

I have tried to reproduce this issue with latest C6 builds but not able to reproduce it. I am successfully able to delete solution folder in XS. Here is the screencast for the same: http://www.screencast.com/t/NnCIe4A1

As of now I am closing this issue. Please feel free to reopen it, if uou will get this issue again.

Thanks!

Environment info:
=== Xamarin Studio ===

Version 5.10 (build 871)
Installation UUID: 449f40dd-b3f1-4028-9a6b-cca0d1a2307d
Runtime:
 Mono 4.2.1 (explicit/54ce6bd)
 GTK+ 2.24.23 (Raleigh theme)

 Package version: 402010073

=== Xamarin.Profiler ===

Version: 0.24.286.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.1 (9079)
Build 7B91b

=== Xamarin.iOS ===

Version: 9.2.0.93 (Enterprise Edition)
Hash: 1a6b88f
Branch: master
Build date: 2015-10-14 16:16:18-0400

=== Xamarin.Android ===

Version: 6.0.0.20 (Enterprise Edition)
Android SDK: /Users/360logicaxamarinmacmini/Library/Developer/Xamarin/android-sdk-mac_x86
 Supported Android versions:
  2.3    (API level 10)
  4.0.3  (API level 15)
  4.2    (API level 17)
  4.3    (API level 18)
  4.4    (API level 19)
  4.4.87 (API level 20)
  5.0    (API level 21)
  5.1    (API level 22)

SDK Tools Version: 24.3.4
SDK Platform Tools Version: 23
SDK Build Tools Version: 21.1.2

Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.2
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.109 (Enterprise Edition)

=== Build Information ===

Release ID: 510000871
Git revision: 4e9c5abb5ffdae12ba02ac49da83f8b2011dbb88
Build date: 2015-11-12 06:02:54-05
Xamarin addins: 55007ed0e56436f385d8e26394a45be563abc7e8
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.10.5
Darwin 360LogicasMacmini.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64