Bug 3956 - Nullreference error on intellisense
Summary: Nullreference error on intellisense
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8.6
Hardware: PC Linux
: High normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-03-18 06:39 UTC by Peter Hultqvist
Modified: 2012-03-19 05:09 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 Peter Hultqvist 2012-03-18 06:39:35 UTC
Version 2.8.6.3

Whenever the intellisens help dialogs are to appear a small "An error has occurred" dialog appears.

For some of my projects it never happen, and for some it always happen(repeatable every time).

When typing: MethodCall( <- crash here

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.CSharp.Completion.NRefactoryParameterDataProvider.GetMethodMarkup (Int32 overload, System.String[] parameterMarkup, Int32 currentParameter) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindow.ShowParameterInfo (IParameterDataProvider provider, Int32 overload, Int32 currentParam) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindowManager.UpdateWindow (ICompletionWidget widget) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.CodeCompletion.ParameterInformationWindowManager.ShowWindow (ICompletionWidget widget, MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, IParameterDataProvider provider) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.RunParameterCompletionCommand () [0x00000] in <filename unknown>:0 
  at MonoDevelop.CSharp.Completion.CSharpTextEditorCompletion.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) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.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) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.Content.TextEditorExtension.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) [0x00000] in <filename unknown>:0 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00000] in <filename unknown>:0
Comment 1 Mike Krüger 2012-03-19 05:09:32 UTC
fixed.