Bug 1599 - Crash when loading the attached file AND displaying document outline .
Summary: Crash when loading the attached file AND displaying document outline .
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 2.8
Hardware: PC Windows
: Lowest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-20 07:00 UTC by Christian Baune
Modified: 2012-04-04 21:31 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Page Source code that crash MonoDevlop when document outline is displayed (892 bytes, application/octet-stream)
2011-10-20 07:00 UTC, Christian Baune
Details


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 Christian Baune 2011-10-20 07:00:20 UTC
Created attachment 732 [details]
Page Source code that crash MonoDevlop when document outline is displayed

Open Monodevelop, load the attached document and open the outline view.
Comment 1 Alan McGovern 2011-11-15 15:20:15 UTC
The exception created is this:


ERROR [2011-11-15 15:18:12Z]: System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Parser.MemberListVisitor.Visit (MonoDevelop.AspNet.Parser.Dom.TagNode node) [0x00000] in <filename unknown>:0 
  at MonoDevelop.AspNet.Parser.Dom.TagNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/TagNode.cs:61 
  at MonoDevelop.AspNet.Parser.Dom.TagNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/TagNode.cs:65 
  at MonoDevelop.AspNet.Parser.Dom.TagNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/TagNode.cs:65 
  at MonoDevelop.AspNet.Parser.Dom.TagNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/TagNode.cs:65 
  at MonoDevelop.AspNet.Parser.Dom.TagNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/TagNode.cs:65 
  at MonoDevelop.AspNet.Parser.Dom.RootNode.AcceptVisit (MonoDevelop.AspNet.Parser.Dom.Visitor visitor) [0x00030] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Parser.Dom/RootNode.cs:61 
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.CreateCodeBesideClass (MonoDevelop.AspNet.Gui.DocumentInfo info, MonoDevelop.AspNet.Parser.DocumentReferenceManager refman) [0x0000d] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:107 
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.OnParsedDocumentUpdated () [0x00108] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:97 
  at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.OnParseInformationChanged (System.Object sender, MonoDevelop.Projects.Dom.ParsedDocumentEventArgs args) [0x00032] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.Gui/BaseXmlEditorExtension.cs:93 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ParsedDocumentEventArgs (object,MonoDevelop.Projects.Dom.ParsedDocumentEventArgs)
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.OnParsedDocumentUpdated (MonoDevelop.Projects.Dom.ParsedDocumentEventArgs args) [0x0000a] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:1165 
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.DoParseFile (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, System.String fileName, System.String fileContent) [0x00093] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:979 
  at MonoDevelop.Projects.Dom.Parser.ProjectDomService.UpdateFile (MonoDevelop.Projects.Project[] projects, System.String fileName, System.Func`1 getContent) [0x00091] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom.Parser/ProjectDomService.cs:903 
ERROR [2011-11-15 15:19:30Z]: Unhandled Exception
System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.outlineTreeDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:929 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
ERROR [2011-11-15 15:19:30Z]: Unhandled Exception
System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.outlineTreeDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:929 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
ERROR [2011-11-15 15:19:30Z]: Unhandled Exception
System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.outlineTreeDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:929 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
ERROR [2011-11-15 15:19:30Z]: Unhandled Exception
System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.outlineTreeDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:929 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
ERROR [2011-11-15 15:19:30Z]: Unhandled Exception
System.NullReferenceException: A null value was found where an object instance was required.
  at MonoDevelop.AspNet.Gui.AspNetEditorExtension.outlineTreeDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x00031] in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet/MonoDevelop.AspNet.Gui/AspNetEditorExtension.cs:929 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0
Comment 2 Mikayla Hutchinson [MSFT] 2012-04-04 21:31:48 UTC
Fixed the crash in master.