Problem Entering Settings

anenganeng DEMember
edited April 2013 in Visual Studio

I´ve Update from Monodevelop to Xamarin Studio and i get the following error:

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.SourceEditor.SourceEditorDisplayBinding ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,Mono.TextEditor.Highlighting.IStreamProvider].set_Item (System.String key, IStreamProvider value) [0x00000] in :0
at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStylesAndModes (System.String path) [0x000b6] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SyntaxModeService.cs:425
at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.LoadCustomStylesAndModes () [0x00044] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorDisplayBinding.cs:75
at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.InitSourceEditor () [0x00020] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorDisplayBinding.cs:60
at MonoDevelop.SourceEditor.SourceEditorDisplayBinding..cctor () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorDisplayBinding.cs:48
--- End of inner exception stack trace ---
at MonoDevelop.SourceEditor.OptionPanels.HighlightingPanel..ctor () [0x00075] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs:48
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) [0x00000] in :0
--- 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) [0x00000] in :0
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0
at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x00017] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/RuntimeAddin.cs:431
at MonoDevelop.Ide.Extensions.OptionsPanelNode.CreatePanel () [0x00022] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Extensions/OptionsPanelNode.cs:102
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePage (TreeIter it, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00174] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:561
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x0005c] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:362
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddChildSections (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00028] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:375
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00053] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:359
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:346
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.FillTree () [0x00044] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:258
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject, System.String extensionPath, Boolean removeEmptySections) [0x00376] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:184
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject, System.String extensionPath) [0x00000] in :0
at MonoDevelop.Ide.Gui.Workbench.ShowGlobalPreferencesDialog (Gtk.Window parentWindow, System.String panelId) [0x00012] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:543
at MonoDevelop.Ide.Gui.Workbench.ShowGlobalPreferencesDialog (Gtk.Window parentWindow) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:532
at MonoDevelop.Ide.Commands.MonodevelopPreferencesHandler.Run () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs:80
at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object dataItem) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61
at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42
at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) [0x00076] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1097
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002d1] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1067

Posts

  • MikeKrgerMikeKrger DEXamarin Team, Beta Xamurai

    Can you remove the ~/Library/XamarinStudio-4.0/HighlightingSchemes folder and try it again ?

    This should be fixed with the next update.

  • anenganeng DEMember

    Thanks a lot, that works for me.

Sign In or Register to comment.