Bug 13895 - Razor editor spews NREs
Summary: Razor editor spews NREs
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-08-09 16:21 UTC by Bojan Rajkovic [MSFT]
Modified: 2013-08-12 01:32 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 Bojan Rajkovic [MSFT] 2013-08-09 16:21:42 UTC
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.AspNet.Mvc.Gui.RazorCSharpEditorExtension.OnParsedDocumentUpdated () [0x0003e] in /Users/brajkovic/Code/Xamarin/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.Mvc/Gui/RazorCSharpEditorExtension.cs:142 
  at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.<Initialize>m__B (System.Object , System.EventArgs ) [0x00011] in /Users/brajkovic/Code/Xamarin/monodevelop/main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.Gui/BaseXmlEditorExtension.cs:76 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.Gui.Document.OnDocumentParsed (System.EventArgs e) [0x00011] in /Users/brajkovic/Code/Xamarin/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:875 
  at MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey47+<StartReparseThread>c__AnonStorey48+<StartReparseThread>c__AnonStorey49.<>m__57 (System.Object , System.EventArgs ) [0x00041] in /Users/brajkovic/Code/Xamarin/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:839 
  at Gtk.Application+InvokeCB.Invoke () [0x00000] in <filename unknown>:0 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0 

Happens to me frequently loading .cshtml files from the component store.
Comment 1 Mike Krüger 2013-08-12 01:32:26 UTC
Should be fixed - but I couldn't repro it.

If that happens again attach one of the .cshtml files - that makes it easier to fix the issue.