Bug 11103 - Error in text editor extension chain using F# on Xamarin Studio OSX 10.8.2
Summary: Error in text editor extension chain using F# on Xamarin Studio OSX 10.8.2
Status: RESOLVED UPSTREAM
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-13 05:38 UTC by Francesco Usai
Modified: 2013-03-13 08:54 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 UPSTREAM

Description Francesco Usai 2013-03-13 05:38:42 UTC
Hello i'm getting the error in summary.
I'm using F# and this happens like every time code completion fires. 


 with details : 
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.FSharp.TipFormatter.findMonoDocProviderForEntity[String] (System.String file, System.String key) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter.findDocForEntity (System.String file, System.String key) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter.buildFormatComment (Microsoft.FSharp.Compiler.XmlComment cmt) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter+buildFormatElement@238.Invoke (Int32 i, System.Tuple`2 tupledArg) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Tuple`2[System.String,Microsoft.FSharp.Compiler.SourceCodeServices+XmlComment]].InvokeFast[Unit] (Microsoft.FSharp.Core.FSharpFunc`2 func, Int32 arg1, System.Tuple`2 arg2) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.SeqModule.IterateIndexed[Tuple`2] (Microsoft.FSharp.Core.FSharpFunc`2 action, IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter.buildFormatElement (Boolean canAddHeader, Microsoft.FSharp.Compiler.DataTipElement el, System.Text.StringBuilder sb) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter.buildFormatTip (Boolean canAddHeader, Microsoft.FSharp.Compiler.DataTipText tip, System.Text.StringBuilder sb) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.TipFormatter.formatTip (Boolean canAddHeader, Microsoft.FSharp.Compiler.DataTipText tip) [0x00000] in <filename unknown>:0 
  at MonoDevelop.FSharp.ParameterDataProvider.CreateTooltipInformation (Int32 overload, Int32 currentParameter, Boolean smartWrap) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindow.ShowParameterInfo (MonoDevelop.Ide.CodeCompletion.ParameterDataProvider provider, Int32 overload, Int32 _currentParam, Int32 maxSize) [0x00053] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/ParameterInformationWindow.cs:125 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindowManager.UpdateWindow (MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension textEditorExtension, ICompletionWidget completionWidget) [0x00119] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/ParameterInformationWindowManager.cs:216 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindowManager.ShowWindow (MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension ext, ICompletionWidget widget, MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, MonoDevelop.Ide.CodeCompletion.ParameterDataProvider provider) [0x00039] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/ParameterInformationWindowManager.cs:142 
  at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00219] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:142 
  at MonoDevelop.FSharp.FSharpTextEditorCompletion.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/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_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109 
  at MonoDevelop.Debugger.ExceptionCaughtTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x0005f] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs:439 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00000] in /Users/builder/data/lanes/monodevelop_private-lion-bigsplash/4d204dd3/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:249
Comment 1 Francesco Usai 2013-03-13 05:45:17 UTC
I'm having this error most of the times on parameters insight.
Comment 2 Mike Krüger 2013-03-13 08:52:45 UTC
upstream bug.
Comment 3 Mike Krüger 2013-03-13 08:54:46 UTC
https://github.com/fsharp/fsharpbinding/issues/121