Bug 3292 - Error in analysis service
Summary: Error in analysis service
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-02-09 05:17 UTC by Marek Safar
Modified: 2012-02-10 03:38 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 Marek Safar 2012-02-09 05:17:00 UTC
While navigation through /mono/mcs/class/corlib/System.Globalization/DateTimeFormatInfo.cs

Error in analysis service
System.NullReferenceException: Object reference not set to an instance of an object
  at ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore.ScanGetter (ICSharpCode.NRefactory.CSharp.Refactoring.RefactoringContext context, ICSharpCode.NRefactory.CSharp.PropertyDeclaration propertyDeclaration) [0x0003e] in /home/marek/git/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Refactoring/ContextAction/RemoveBackingStore.cs:103 
  at ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore.GetBackingField (ICSharpCode.NRefactory.CSharp.Refactoring.RefactoringContext context) [0x00094] in /home/marek/git/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Refactoring/ContextAction/RemoveBackingStore.cs:86 
  at ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore.IsValid (ICSharpCode.NRefactory.CSharp.Refactoring.RefactoringContext context) [0x00001] in /home/marek/git/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Refactoring/ContextAction/RemoveBackingStore.cs:38 
  at MonoDevelop.CSharp.ContextAction.ContextActionWrapper`1[ICSharpCode.NRefactory.CSharp.Refactoring.RemoveBackingStore].IsValid (MonoDevelop.CSharp.ContextAction.MDRefactoringContext context) [0x00001] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.ContextAction/ContextActionWrappers.cs:37 
  at MonoDevelop.CSharp.ContextAction.MDRefactoringContextAction.IsValid (MonoDevelop.Ide.Gui.Document document, TextLocation loc) [0x0001b] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.ContextAction/MDRefactoringContextAction.cs:64 
  at MonoDevelop.Refactoring.RefactoringService+<QueueQuickFixAnalysis>c__AnonStorey2B+<QueueQuickFixAnalysis>c__AnonStorey2C.<>m__32 (MonoDevelop.ContextAction.ContextActionAddinNode fix) [0x00001] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs:183 
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator2A`1[MonoDevelop.ContextAction.ContextActionAddinNode].MoveNext () [0x00059] in /home/marek/git/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:3030 
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator1C`2[MonoDevelop.ContextAction.ContextActionAddinNode,MonoDevelop.ContextAction.ContextAction].MoveNext () [0x00086] in /home/marek/git/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:2228 
  at System.Collections.Generic.List`1[T].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[T]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Refactoring.RefactoringService+<QueueQuickFixAnalysis>c__AnonStorey2B.<>m__31 (System.Object ) [0x0004a] in /home/marek/git/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs:183
Comment 1 Mike Krüger 2012-02-10 03:38:25 UTC
fixed.