Bug 9958 - A fatal error has occurred
Summary: A fatal error has occurred
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-01-31 16:15 UTC by Daniel Voicu
Modified: 2013-02-01 01:39 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 Daniel Voicu 2013-01-31 16:15:57 UTC
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.InvalidOperationException: Could not find a resolver state for any parent of the specified node. Are you trying to resolve a node that is not a descendant of the CSharpAstResolver's root node?
   at ICSharpCode.NRefactory.CSharp.Resolver.ResolveVisitor.GetPreviouslyScannedContext(AstNode node, AstNode& parent)
   at ICSharpCode.NRefactory.CSharp.Resolver.ResolveVisitor.GetResolveResult(AstNode node)
   at ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver.Resolve(AstNode node, CancellationToken cancellationToken)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitIdentifierExpression(IdentifierExpression identifierExpression)
   at ICSharpCode.NRefactory.CSharp.IdentifierExpression.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitInvocationExpression(InvocationExpression invocationExpression)
   at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitExpressionStatement(ExpressionStatement expressionStatement)
   at ICSharpCode.NRefactory.CSharp.ExpressionStatement.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitBlockStatement(BlockStatement blockStatement)
   at ICSharpCode.NRefactory.CSharp.BlockStatement.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitMethodDeclaration(MethodDeclaration methodDeclaration)
   at ICSharpCode.NRefactory.CSharp.MethodDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitTypeDeclaration(TypeDeclaration typeDeclaration)
   at ICSharpCode.NRefactory.CSharp.TypeDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration)
   at ICSharpCode.NRefactory.CSharp.NamespaceDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitCompilationUnit(CompilationUnit unit)
   at ICSharpCode.NRefactory.CSharp.CompilationUnit.AcceptVisitor(IAstVisitor visitor)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.<>c__DisplayClass4.<HandleDocumentParsed>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskExceptionHolder.Finalize()
---> (Inner Exception #0) System.InvalidOperationException: Could not find a resolver state for any parent of the specified node. Are you trying to resolve a node that is not a descendant of the CSharpAstResolver's root node?
   at ICSharpCode.NRefactory.CSharp.Resolver.ResolveVisitor.GetPreviouslyScannedContext(AstNode node, AstNode& parent)
   at ICSharpCode.NRefactory.CSharp.Resolver.ResolveVisitor.GetResolveResult(AstNode node)
   at ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver.Resolve(AstNode node, CancellationToken cancellationToken)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitIdentifierExpression(IdentifierExpression identifierExpression)
   at ICSharpCode.NRefactory.CSharp.IdentifierExpression.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitInvocationExpression(InvocationExpression invocationExpression)
   at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitExpressionStatement(ExpressionStatement expressionStatement)
   at ICSharpCode.NRefactory.CSharp.ExpressionStatement.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitBlockStatement(BlockStatement blockStatement)
   at ICSharpCode.NRefactory.CSharp.BlockStatement.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitMethodDeclaration(MethodDeclaration methodDeclaration)
   at ICSharpCode.NRefactory.CSharp.MethodDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitTypeDeclaration(TypeDeclaration typeDeclaration)
   at ICSharpCode.NRefactory.CSharp.TypeDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration)
   at ICSharpCode.NRefactory.CSharp.NamespaceDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren(AstNode node)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.QuickTaskVisitor.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitCompilationUnit(CompilationUnit unit)
   at ICSharpCode.NRefactory.CSharp.CompilationUnit.AcceptVisitor(IAstVisitor visitor)
   at MonoDevelop.CSharp.Highlighting.CSharpSyntaxMode.<>c__DisplayClass4.<HandleDocumentParsed>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---
Comment 1 Mike Krüger 2013-02-01 01:39:30 UTC
should be fixed