Bug 1472 - Unhandled Exception in HighlightingUsagesExtension
Summary: Unhandled Exception in HighlightingUsagesExtension
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-10-13 06:17 UTC by Marek Safar
Modified: 2011-10-27 05:49 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 Marek Safar 2011-10-13 06:17:55 UTC
Unhandled Exception in HighlightingUsagesExtension
System.ArgumentNullException: Argument cannot be null.
Parameter name: editor
  at MonoDevelop.CSharp.Resolver.NRefactoryResolver..ctor (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, ICompilationUnit unit, SupportedLanguage lang, Mono.TextEditor.TextEditorData editor, System.String fileName) [0x00065] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Resolver/NRefactoryResolver.cs:135 
  at MonoDevelop.CSharp.Parser.McsParser.CreateResolver (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, System.Object editor, System.String fileName) [0x00007] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Parser/McsParser.cs:52 
  at MonoDevelop.CSharp.Resolver.TextEditorResolverProvider.GetLanguageItem (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, Mono.TextEditor.TextEditorData data, Int32 offset, System.String expression) [0x0002e] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Resolver/TextEditorResolverProvider.cs:206 
  at MonoDevelop.SourceEditor.ExtensibleTextEditor.GetLanguageItem (Int32 offset, System.String expression) [0x00012] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:528 
  at MonoDevelop.SourceEditor.SourceEditorView.GetLanguageItem (Int32 offset, System.String expression) [0x00000] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1867 
  at MonoDevelop.CSharp.Highlighting.HighlightUsagesExtension.DelayedTooltipShow () [0x00103] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Highlighting/HighlightUsagesExtension.cs:139
Comment 1 Mike Krüger 2011-10-27 05:49:20 UTC
fixed.