Bug 6343 - Every action while editing XML file results in error message.
Summary: Every action while editing XML file results in error message.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 3.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-31 15:44 UTC by Attila Tamás Zimler
Modified: 2013-08-11 16:57 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 Attila Tamás Zimler 2012-07-31 15:44:43 UTC
When you enter an XML tag or attribute, after selecting error window comes up. This error makes impossible to use the editor for editing XML files. See screencast of the error at: http://screencast.com/t/Sv6KguQzJiN .
Comment 1 Mikayla Hutchinson [MSFT] 2012-07-31 16:32:55 UTC
The screencast does not work. Can you please include the error text?
Comment 2 Attila Tamás Zimler 2012-07-31 16:47:55 UTC
The text of the error message is:

<-- error message -->
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.SourceEditor.SourceEditorView.SetCompletionText (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, System.String partial_word, System.String complete_word, Int32 wordOffset) [0x00025] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1564 
  at MonoDevelop.SourceEditor.SourceEditorView.SetCompletionText (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, System.String partial_word, System.String complete_word) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1498 
  at MonoDevelop.Ide.CodeCompletion.CompletionData.InsertCompletionText (MonoDevelop.Ide.CodeCompletion.CompletionListWindow window, MonoDevelop.Ide.CodeCompletion.KeyActions& ka, Key closeChar, Char keyChar, ModifierType modifier) [0x00007] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs:91 
  at MonoDevelop.Ide.CodeCompletion.CompletionListWindow.CompleteWord (MonoDevelop.Ide.CodeCompletion.KeyActions& ka, Key closeChar, Char keyChar, ModifierType modifier) [0x00039] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionListWindow.cs:381 
  at MonoDevelop.Ide.CodeCompletion.CompletionListWindow.PostProcessKeyEvent (Key key, Char keyChar, ModifierType modifier) [0x0006e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionListWindow.cs:134 
  at MonoDevelop.Ide.CodeCompletion.CompletionWindowManager.PostProcessKeyEvent (Key key, Char keyChar, ModifierType modifier) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionWindowManager.cs:147 
  at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00060] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:105 
  at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00109] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.Gui/BaseXmlEditorExtension.cs:193 
  at MonoDevelop.XmlEditor.XmlTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00048] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor/XmlTextEditorExtension.cs:477 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.3-branch/3d53e136/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:236 
<-- end of error message -->
Comment 3 Mikayla Hutchinson [MSFT] 2013-08-11 16:57:37 UTC
Fixed.