Bug 6484 - Exception when trying to document Property
Summary: Exception when trying to document Property
Status: RESOLVED DUPLICATE of bug 5967
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 3.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-08-09 02:44 UTC by Michael Fink
Modified: 2012-08-10 03:55 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 DUPLICATE of bug 5967

Description Michael Fink 2012-08-09 02:44:04 UTC
I'm using MonoDevelop 3.0.3.5 with MonoDroid 4.2.4.167234518. When trying to document a .NET property, I get an exception. The exception occurs when I type the third slash (///). Example:

      //              <-- type the third shash here
      public static string LogFileFolder
      {
      }

The message box shows the following error: "Error in text editor extension chain".

Documenting works when it's not a property, but a method:

      ///             <-- works
      public static string LogFileFolder()
      {
      }

The exception details are this:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei MonoDevelop.DocFood.DocGenerator.Init(IEntity member)
   bei MonoDevelop.DocFood.DocGenerator.GenerateDoc(IEntity member)
   bei MonoDevelop.DocFood.DocumentBufferHandler.GenerateDocumentation(TextEditorData data, IEntity member, String indent, String prefix)
   bei MonoDevelop.DocFood.DocumentBufferHandler.GenerateDocumentation(TextEditorData data, IEntity member, String indent)
   bei MonoDevelop.DocFood.DocFoodTextEditorExtension.GenerateDocumentation(IEntity member, String indent)
   bei MonoDevelop.DocFood.DocFoodTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   bei MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress(Key key, UInt32 ch, ModifierType state)
Comment 1 Mike Krüger 2012-08-10 03:55:59 UTC
Already fixed

*** This bug has been marked as a duplicate of bug 5967 ***