locked
Xamarin studio Loading solution problem RRS feed

  • Question

  • User555 posted

    I get this error when loading the project or trying to click at any menu options.

    System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Projects.Policies.PolicyService ---> System.NullReferenceException: Object reference not set to an instance of an object at MonoDevelop.Projects.Policies.PolicyService..cctor () [0x0008d] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:69 --- End of inner exception stack trace --- at MonoDevelop.Projects.Policies.PolicyContainer.GetDefaultPolicy[DotNetNamingPolicy] () [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:367 at MonoDevelop.Projects.Policies.PolicyContainer.Get[DotNetNamingPolicy] () [0x0004c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyContainer.cs:65 at MonoDevelop.Projects.DotNetProject.getResourceHandler () [0x0000b] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:268 at MonoDevelop.Projects.DotNetProject.SetItemHandler (ISolutionItemHandler handler) [0x00013] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/DotNetProject.cs:1011 at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load (IProgressMonitor monitor, MonoDevelop.Projects.Formats.MSBuild.MSBuildProject msproject) [0x00045] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:531 at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.Load (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, System.String language, System.Type itemClass) [0x001eb] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs:329 at MonoDevelop.Projects.Extensions.DotNetProjectNode.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, System.String itemGuid) [0x00016] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/DotNetProjectNode.cs:66 at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectService.LoadItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat expectedFormat, System.String typeGuid, System.String itemGuid) [0x00024] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs:90 at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat+cAnonStorey73.<>m4D (IProgressMonitor , System.String ) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:755 at MonoDevelop.Projects.DefaultProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectService.cs:672 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Autotools.MakefileProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs:69 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.CompiledAssemblyExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x0003e] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/CompiledAssemblyProject.cs:224 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName) [0x00000] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:103 at MonoDevelop.Projects.ProjectServiceExtension.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x0000c] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:94 at MonoDevelop.Projects.Extensions.ProjectExtensionUtil.LoadSolutionItem (IProgressMonitor monitor, System.String fileName, MonoDevelop.Projects.Extensions.ItemLoadCallback callback) [0x00016] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/ProjectExtensionUtil.cs:59 at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.LoadSolution (MonoDevelop.Projects.Solution sol, System.String fileName, MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat format, IProgressMonitor monitor) [0x004cb] in /Users/builder/data/lanes/monodevelopprivate-lion-bigsplash/a8219130/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/SlnFileFormat.cs:754

    Thursday, February 28, 2013 10:34 PM

All replies

  • User555 posted

    found the solution: change the MonoDevelopProperties.xml language back to en_US

    Thursday, February 28, 2013 10:45 PM