Bug 10977 - Error in source analysis
Summary: Error in source analysis
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-07 15:06 UTC by Jeffrey Stedfast
Modified: 2013-03-08 08: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 Jeffrey Stedfast 2013-03-07 15:06:46 UTC
ERROR [2013-03-07 14:59:42Z]: Error in analysis service
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.GtkCore.GuiBuilder.CombinedDesignView.GetContent (System.Type type) [0x00000] in /Users/fejj/src/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs:244 
  at MonoDevelop.Ide.Gui.Document.GetContent[ITextEditorDataProvider] () [0x00000] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:82 
  at MonoDevelop.Ide.Gui.Document.get_Editor () [0x0000b] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:299 
  at MonoDevelop.Refactoring.RefactoringService+<GetValidActions>c__AnonStoreyF.<>m__13 () [0x00006] in /Users/fejj/src/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs:200 
ERROR [2013-03-07 14:59:42Z]: Error in analysis service
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.GtkCore.GuiBuilder.CombinedDesignView.GetContent (System.Type type) [0x00000] in /Users/fejj/src/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CombinedDesignView.cs:244 
  at MonoDevelop.Ide.Gui.Document.GetContent[ITextEditorDataProvider] () [0x00000] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:82 
  at MonoDevelop.Ide.Gui.Document.get_Editor () [0x0000b] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:299 
  at MonoDevelop.Refactoring.RefactoringService+<GetValidActions>c__AnonStoreyF.<>m__13 () [0x00006] in /Users/fejj/src/monodevelop/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringService.cs:200 
-----------------Serialize stack trace:
   at System.Environment.get_StackTrace() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System/Environment.cs:line 252
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.SerializeObject(System.String path, System.Object obj) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 603
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.StoreProjectCache(MonoDevelop.Projects.Project project, MonoDevelop.Ide.TypeSystem.ProjectContentWrapper wrapper) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 684
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.UnloadProject(MonoDevelop.Projects.Project project) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 1396
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.<Unload>m__21F(MonoDevelop.Projects.Project project) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 1376
   at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey36`1[[MonoDevelop.Projects.Project, MonoDevelop.Core, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null]].<>m__34(MonoDevelop.Projects.Project e, System.Threading.Tasks.ParallelLoopState s, System.Object l) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Parallel.cs:line 425
   at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey35`2[[MonoDevelop.Projects.Project, MonoDevelop.Core, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<>m__32() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Parallel.cs:line 387
   at System.Threading.Tasks.TaskActionInvoker+ActionInvoke.Invoke(System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:line 70
   at System.Threading.Tasks.Task.InnerInvoke() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 487
   at System.Threading.Tasks.Task.ThreadStart() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 390
   at System.Threading.Tasks.Task.Execute() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 455
   at System.Threading.Tasks.TpScheduler.<QueueTask>m__59(System.Object l) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/TpScheduler.cs:line 43
   at System.Threading.Thread.StartInternal() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading/Thread.cs:line 711
ERROR [2013-03-07 14:59:42Z]: Error while writing type system cache. (object:MonoDevelop.Ide.TypeSystem.MonoDevelopProjectContent)
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2<object, int>.get_Item (object) [0x000a8] in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150
at ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext.WriteObjectID (object) [0x00000] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:226
at (wrapper dynamic-method) object.Write_CSharpUnresolvedTypeDefinition (ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext,object) <IL 0x00021, 0x0005b>
at ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext.Write () [0x0043a] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:327
at ICSharpCode.NRefactory.Utils.FastSerializer.Serialize (System.IO.BinaryWriter,object) [0x00027] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:777
at MonoDevelop.Ide.TypeSystem.TypeSystemService.SerializeObject (string,object) [0x00033] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:598

-----------------Serialize stack trace:
   at System.Environment.get_StackTrace() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System/Environment.cs:line 252
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.SerializeObject(System.String path, System.Object obj) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 603
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.StoreProjectCache(MonoDevelop.Projects.Project project, MonoDevelop.Ide.TypeSystem.ProjectContentWrapper wrapper) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 684
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.UnloadProject(MonoDevelop.Projects.Project project) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 1396
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.<Unload>m__21F(MonoDevelop.Projects.Project project) in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:line 1376
   at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey36`1[[MonoDevelop.Projects.Project, MonoDevelop.Core, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null]].<>m__34(MonoDevelop.Projects.Project e, System.Threading.Tasks.ParallelLoopState s, System.Object l) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Parallel.cs:line 425
   at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey35`2[[MonoDevelop.Projects.Project, MonoDevelop.Core, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<>m__32() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Parallel.cs:line 387
   at System.Threading.Tasks.TaskActionInvoker+ActionInvoke.Invoke(System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:line 70
   at System.Threading.Tasks.Task.InnerInvoke() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 487
   at System.Threading.Tasks.Task.ThreadStart() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 390
   at System.Threading.Tasks.Task.Execute() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 455
   at System.Threading.Tasks.TpScheduler.<QueueTask>m__59(System.Object l) in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading.Tasks/TpScheduler.cs:line 43
   at System.Threading.Thread.StartInternal() in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Threading/Thread.cs:line 711
ERROR [2013-03-07 14:59:42Z]: Error while writing type system cache. (object:MonoDevelop.Ide.TypeSystem.MonoDevelopProjectContent)
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2<object, int>.get_Item (object) [0x000a8] in /Users/fejj/src/bockbuild/profiles/monodevelop-mac-dev/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150
at ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext.WriteObjectID (object) [0x00000] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:226
at (wrapper dynamic-method) object.Write_DefaultUnresolvedProperty (ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext,object) <IL 0x00021, 0x0005b>
at ICSharpCode.NRefactory.Utils.FastSerializer/SerializationContext.Write () [0x0043a] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:327
at ICSharpCode.NRefactory.Utils.FastSerializer.Serialize (System.IO.BinaryWriter,object) [0x00027] in /Users/fejj/src/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/FastSerializer.cs:777
at MonoDevelop.Ide.TypeSystem.TypeSystemService.SerializeObject (string,object) [0x00033] in /Users/fejj/src/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:598
Comment 1 Mike Krüger 2013-03-08 01:33:31 UTC
btw. was a bug in stetic - I'm not sure how you got that. It's only possible if is called on a stetic window that has no text editor attached or something like that.
Comment 2 Jeffrey Stedfast 2013-03-08 08:38:34 UTC
Ah, I bet it was because I was trying to get the FSharp addins to work and was missing FSharp.Core on my system