Bug 10998 - ASP.NET Argument Null
Summary: ASP.NET Argument Null
Status: RESOLVED DUPLICATE of bug 5516
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 4.0.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-08 11:15 UTC by Matt G
Modified: 2013-03-12 18:58 UTC (History)
3 users (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 DUPLICATE of bug 5516

Description Matt G 2013-03-08 11:15:04 UTC
When writing html in the aspx file every time I open a tag (i.e. <) this error pops up:

System.ArgumentNullException: Value cannot be null.
Parameter name: project
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.GetProjectContext(Project project)
   at MonoDevelop.Ide.TypeSystem.TypeSystemServiceExt.GetProjectContent(IType type)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.<GetAttributes>d__25.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.AreChildrenAsProperties(IType type, String& defaultProperty)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.GetElementCompletions(CompletionDataList list)
   at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.HandleCodeCompletion(CodeCompletionContext completionContext, Boolean forced, Int32& triggerWordLength)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.HandleCodeCompletion(CodeCompletionContext completionContext, Boolean forced, Int32& triggerWordLength)
   at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.HandleCodeCompletion(CodeCompletionContext completionContext, Char completionChar, Int32& triggerWordLength)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.HandleCodeCompletion(CodeCompletionContext completionContext, Char completionChar, Int32& triggerWordLength)
   at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.XmlEditor.Gui.BaseXmlEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.AspNet.Gui.AspNetEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Debugger.ExceptionCaughtTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
   at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress(Key key, UInt32 ch, ModifierType state)
Comment 1 Mikayla Hutchinson [MSFT] 2013-03-08 15:57:42 UTC
What version of MonoDevelop?
Comment 2 Matt G 2013-03-09 00:13:05 UTC
4.0.1
Comment 3 Mikayla Hutchinson [MSFT] 2013-03-09 16:14:04 UTC
Is this with all projects or just one?
Comment 4 Matt G 2013-03-11 11:06:12 UTC
This seems to occur with any of my ASP.NET projects that have either had some work done on them in VS 2012 and then re-opened in MonoDevelop or created in VS 2012 and then opened in MonoDevelop.

Thanks.
Comment 5 Mikayla Hutchinson [MSFT] 2013-03-11 13:45:01 UTC
Can you please attach a small testcase project?
Comment 7 Mikayla Hutchinson [MSFT] 2013-03-12 18:58:28 UTC
Look like a dup of  bug 5516.

*** This bug has been marked as a duplicate of bug 5516 ***