Bug 11015 - InvalidOperationException: This PolicyContainer can't be modified
Summary: InvalidOperationException: This PolicyContainer can't be modified
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-09 05:03 UTC by Andres G. Aragoneses
Modified: 2013-03-12 15:24 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot (159.20 KB, image/png)
2013-03-09 05:06 UTC, Andres G. Aragoneses
Details


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 Andres G. Aragoneses 2013-03-09 05:03:25 UTC
Not sure I will be able to reproduce this again, but here is the stacktrace that MD left in the console:

ERROR [2013-03-09 10:00:52Z]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy ---> System.InvalidOperationException: This PolicyContainer can't be modified
  at MonoDevelop.Projects.Policies.PolicyContainer.CheckReadOnly () [0x00017] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:384 
  at MonoDevelop.Projects.Policies.PolicyContainer.Set[CSharpFormattingPolicy] (MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy value, System.String scope) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:103 
  at MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy..cctor () [0x00010] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormattingPolicy.cs:66 
  --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000b9] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:524 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000cb] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:530 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:542 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000c7] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:327 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:220 
  at System.Activator.CreateInstance[CSharpFormattingPolicy] () [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:215 
  at MonoDevelop.Projects.Policies.PolicyService.GetDefaultPolicy[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:1024 
  at MonoDevelop.Projects.Policies.PolicyContainer.GetDefaultPolicy[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:372 
  at MonoDevelop.Projects.Policies.PolicyContainer.Get[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00077] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:93 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.get_Policy () [0x00048] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:61 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.Initialize () [0x0002f] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:222 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.Initialize (MonoDevelop.Ide.Gui.Document document) [0x0001e] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:50 
  at MonoDevelop.Ide.Gui.Document.InitializeExtensionChain () [0x000ae] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:625 
  at MonoDevelop.Ide.Gui.Document.InitializeEditor (IExtensibleTextEditor editor) [0x0008d] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:669 
  at MonoDevelop.Ide.Gui.Document.OnDocumentAttached () [0x0000f] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:676 
  at MonoDevelop.Ide.Gui.Workbench.WrapDocument (IWorkbenchWindow window) [0x0005a] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:659 
  at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor (IWorkbenchWindow window) [0x00015] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:49 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, MonoDevelop.Ide.Gui.DockNotebook tabControl, IDockNotebookTab tabLabel) [0x00174] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:107 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x000dd] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:395 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x001ef] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1203 
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (IProgressMonitor monitor, MonoDevelop.Ide.Gui.FileOpenInformation openFileInfo) [0x00285] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:831 
ERROR [2013-03-09 10:00:52Z]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy ---> System.InvalidOperationException: This PolicyContainer can't be modified
  at MonoDevelop.Projects.Policies.PolicyContainer.CheckReadOnly () [0x00017] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:384 
  at MonoDevelop.Projects.Policies.PolicyContainer.Set[CSharpFormattingPolicy] (MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy value, System.String scope) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:103 
  at MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy..cctor () [0x00010] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormattingPolicy.cs:66 
  --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000b9] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:524 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000cb] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:530 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:542 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000c7] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:327 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:220 
  at System.Activator.CreateInstance[CSharpFormattingPolicy] () [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:215 
  at MonoDevelop.Projects.Policies.PolicyService.GetDefaultPolicy[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:1024 
  at MonoDevelop.Projects.Policies.PolicyContainer.GetDefaultPolicy[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:372 
  at MonoDevelop.Projects.Policies.PolicyContainer.Get[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00077] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:93 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.get_Policy () [0x00048] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:61 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.Initialize () [0x0002f] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:222 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.Initialize (MonoDevelop.Ide.Gui.Document document) [0x0001e] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:50 
  at MonoDevelop.Ide.Gui.Document.InitializeExtensionChain () [0x000ae] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:625 
  at MonoDevelop.Ide.Gui.Document.InitializeEditor (IExtensibleTextEditor editor) [0x0008d] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:669 
  at MonoDevelop.Ide.Gui.Document.OnDocumentAttached () [0x0000f] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:676 
  at MonoDevelop.Ide.Gui.Workbench.WrapDocument (IWorkbenchWindow window) [0x0005a] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:659 
  at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor (IWorkbenchWindow window) [0x00015] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:49 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, MonoDevelop.Ide.Gui.DockNotebook tabControl, IDockNotebookTab tabLabel) [0x00174] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:107 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x000dd] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:395 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x001ef] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1203 
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (IProgressMonitor monitor, MonoDevelop.Ide.Gui.FileOpenInformation openFileInfo) [0x00285] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:831 
ERROR [2013-03-09 10:00:52Z]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy ---> System.InvalidOperationException: This PolicyContainer can't be modified
  at MonoDevelop.Projects.Policies.PolicyContainer.CheckReadOnly () [0x00017] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:384 
  at MonoDevelop.Projects.Policies.PolicyContainer.Set[CSharpFormattingPolicy] (MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy value, System.String scope) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:103 
  at MonoDevelop.CSharp.Formatting.CSharpFormattingPolicy..cctor () [0x00010] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormattingPolicy.cs:66 
  --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000b9] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:524 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000cb] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:530 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:542 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000c7] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:327 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:220 
  at System.Activator.CreateInstance[CSharpFormattingPolicy] () [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Activator.cs:215 
  at MonoDevelop.Projects.Policies.PolicyService.GetDefaultPolicy[CSharpFormattingPolicy] (IEnumerable`1 scopes) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:1024 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.get_Policy () [0x00053] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:63 
  at MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.Initialize () [0x0002f] in /home/andres1210/Code/system_mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpTextEditorIndentation.cs:222 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.Initialize (MonoDevelop.Ide.Gui.Document document) [0x0001e] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:50 
  at MonoDevelop.Ide.Gui.Document.InitializeExtensionChain () [0x000ae] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:625 
  at MonoDevelop.Ide.Gui.Document.InitializeEditor (IExtensibleTextEditor editor) [0x0008d] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:669 
  at MonoDevelop.Ide.Gui.Document.OnDocumentAttached () [0x0000f] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:676 
  at MonoDevelop.Ide.Gui.Workbench.WrapDocument (IWorkbenchWindow window) [0x0005a] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:659 
  at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor (IWorkbenchWindow window) [0x00015] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:49 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, MonoDevelop.Ide.Gui.DockNotebook tabControl, IDockNotebookTab tabLabel) [0x00174] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:107 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x000dd] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:395 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x001ef] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1203 
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (IProgressMonitor monitor, MonoDevelop.Ide.Gui.FileOpenInformation openFileInfo) [0x00285] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:831
Comment 1 Andres G. Aragoneses 2013-03-09 05:04:37 UTC
Given that it happens in CSharpFormattingPolicy class, I'll change the component to C# Binding.
Comment 2 Andres G. Aragoneses 2013-03-09 05:06:30 UTC
Created attachment 3564 [details]
Screenshot

And here is the screenshot of what happens in MD when loading the solution throws this exception:
Comment 3 Mike Krüger 2013-03-12 15:24:46 UTC
Should be fixed - but your line numbers are off a bit - maybe you just had an unlucky revision. I couldn't repro that.