Bug 12438 - Standalone Razor files cause exceptions
Summary: Standalone Razor files cause exceptions
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.0.9 (from master)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-05-28 18:29 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-06-24 16:18 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 Mikayla Hutchinson [MSFT] 2013-05-28 18:29:09 UTC
ERROR [2013-05-28 18:19:02Z]: An unhandled exception has occured. Terminating MonoDevelop? False
System.ArgumentNullException: Argument cannot be null.
Parameter name: source
  at System.Linq.Check.Source (System.Object source) [0x00006] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-/mcs/class/System.Core/System.Linq/Check.cs:38 
  at System.Linq.Enumerable.ToList[Span] (IEnumerable`1 source) [0x00000] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-/mcs/class/System.Core/System.Linq/Enumerable.cs:2949 
  at MonoDevelop.AspNet.Mvc.RazorSyntaxMode.HandleDocumentParsed (System.Object sender, System.EventArgs e) [0x00018] in /Users/michael/Mono/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.Mvc/RazorSyntaxMode.cs:184 
  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) [0x0000e] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:854 
  at MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey45+<StartReparseThread>c__AnonStorey46+<StartReparseThread>c__AnonStorey47.<>m__54 (System.Object , System.EventArgs ) [0x00031] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:818 
  at Gtk.Application+InvokeCB.Invoke () [0x00001] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/gtk-sharp-2-12-branch/gtk/Application.cs:202 
  at GLib.Timeout+TimeoutProxy.Handler () [0x0000e] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/gtk-sharp-2-12-branch/glib/Timeout.cs:70
Comment 1 Mikayla Hutchinson [MSFT] 2013-05-28 19:18:29 UTC
Fixed.
Comment 2 PJ 2013-06-24 16:18:40 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!