Bug 12439 - Error from resolve command handler
Summary: Error from resolve command handler
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.0.9 (from master)
Assignee: Mike Krüger
: 12420 ()
Depends on:
Reported: 2013-05-28 18:29 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-06-24 16:18 UTC (History)
2 users (show)

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:

Description Mikayla Hutchinson [MSFT] 2013-05-28 18:29:33 UTC
ERROR [2013-05-28 18:19:01Z]: Error in analysis service
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Refactoring.ResolveCommandHandler+<GetPossibleNamespaces>c__Iterator4.MoveNext () [0x00101] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/ResolveCommandHandler.cs:269 
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator33`1[MonoDevelop.Refactoring.ResolveCommandHandler+PossibleNamespace].MoveNext () [0x0006f] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-/mcs/class/System.Core/System.Linq/Enumerable.cs:3120 
  at System.Collections.Generic.HashSet`1[MonoDevelop.Refactoring.ResolveCommandHandler+PossibleNamespace]..ctor (IEnumerable`1 collection, IEqualityComparer`1 comparer) [0x00048] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-/mcs/class/System.Core/System.Collections.Generic/HashSet.cs:122 
  at System.Collections.Generic.HashSet`1[MonoDevelop.Refactoring.ResolveCommandHandler+PossibleNamespace]..ctor (IEnumerable`1 collection) [0x00000] in /Users/michael/Mono/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-/mcs/class/System.Core/System.Collections.Generic/HashSet.cs:106 
  at MonoDevelop.Refactoring.ResolveCommandHandler.GetPossibleNamespaces (MonoDevelop.Ide.Gui.Document doc, ICSharpCode.NRefactory.CSharp.AstNode node, ICSharpCode.NRefactory.Semantics.ResolveResult& resolveResult) [0x00092] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/ResolveCommandHandler.cs:196 
  at MonoDevelop.CodeActions.CodeActionEditorExtension+<CursorPositionChanged>c__AnonStorey1E+<CursorPositionChanged>c__AnonStorey20.<>m__2F (System.Collections.Generic.List`1 fixes) [0x0005c] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/CodeActionEditorExtension.cs:151 
  at MonoDevelop.Refactoring.RefactoringService+<QueueQuickFixAnalysis>c__AnonStorey11.<>m__15 (System.Object ) [0x000f4] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs:243
Comment 1 Mike Krüger 2013-05-31 01:52:23 UTC
Should be fixed - without a use case it's hard to tell.
Comment 2 Mike Krüger 2013-05-31 03:14:10 UTC
*** Bug 12420 has been marked as a duplicate of this bug. ***
Comment 3 PJ 2013-06-24 16:18:43 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!