Bug 12097 - Tried to delete references from a PCL project and got an exception
Summary: Tried to delete references from a PCL project and got an exception
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-05-03 14:49 UTC by TotallyEvil Devs
Modified: 2016-10-18 15:00 UTC (History)
4 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 NORESPONSE

Description TotallyEvil Devs 2013-05-03 14:49:03 UTC
Highlighted a bunch of references under References, where one was 'opened' by clicking on the little spinner triangle. All of these references are highlighted in red because they were not found. Used the delete key on the keyboard and got this exception:

ystem.ArgumentNullException: Argument cannot be null.
Parameter name: s
  at System.IO.StringReader..ctor (System.String s) [0x00031] 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.IO/StringReader.cs:53 
  at (wrapper remoting-invoke-with-check) System.IO.StringReader:.ctor (string)
  at Mono.Xml2.XmlTextReader..ctor (System.String xmlFragment, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader..ctor (System.String xmlFragment, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00006] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:132 
  at System.Xml.XmlElement.set_InnerXml (System.String value) [0x0006f] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/System.XML/System.Xml/XmlElement.cs:156 
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProperty.set_Value (System.String value) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs:437 
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.SetIfPresentOrNotDefaultValue (MSBuildPropertySet propGroup, System.String name, System.String value, System.String defaultValue) [0x0000e] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:1158 
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.SaveItem (IProgressMonitor monitor) [0x00c1c] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:1115 
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildHandler.Save (IProgressMonitor monitor) [0x0007e] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildHandler.cs:128 
  at MonoDevelop.Projects.SolutionEntityItem.OnSave (IProgressMonitor monitor) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionEntityItem.cs:306 
  at MonoDevelop.Projects.DotNetProject.OnSave (IProgressMonitor monitor) [0x00027] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:726 
  at MonoDevelop.Projects.DefaultProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:647 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:101 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.CompiledAssemblyExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:231 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.ProjectServiceExtension.Save (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:67 
  at MonoDevelop.Projects.SolutionEntityItem.Save (IProgressMonitor monitor) [0x0002b] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/SolutionEntityItem.cs:253 
  at MonoDevelop.Ide.ProjectOperations.Save (MonoDevelop.Projects.SolutionEntityItem entry) [0x0004b] in /Users/builder/data/lanes/monodevelop-lion-evolve_fixed/a8bf58d3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:362
Comment 2 iain 2016-10-18 15:00:37 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks