Skip to content

Instantly share code, notes, and snippets.

@extrawurst
Created February 9, 2014 17:51
Show Gist options
  • Save extrawurst/8902985 to your computer and use it in GitHub Desktop.
Save extrawurst/8902985 to your computer and use it in GitHub Desktop.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanSingleStatement(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanStatementHierarchy(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.IterateThroughScopeLayers(CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.TypeResolution.TypeDeclarationResolver.ResolveIdentifier(Int32 idHash, ResolutionContext ctxt, ISyntaxRegion idObject, Boolean ModuleScope)
at D_Parser.Resolver.ExpressionSemantics.ExpressionTypeEvaluation.GetOverloads(IdentifierExpression id, ResolutionContext ctxt, IEnumerable`1 resultBases, Boolean deduceParameters)
at D_Parser.Resolver.TypeResolution.DResolver.ResolveTypeLoosely(IEditorData editor, NodeResolutionAttempt& resolutionAttempt, ResolutionContext ctxt)
at MonoDevelop.D.Resolver.DResolverWrapper.ResolveHoveredCodeLoosely(ResolutionContext& ctxt, IEditorData& ed, NodeResolutionAttempt& resolutionAttempt, Document doc)
at MonoDevelop.D.Refactoring.RefactoringCommandCapsule.Update(Document doc)
at MonoDevelop.D.Refactoring.RefactoringCommandsExtension.Update()
at MonoDevelop.D.Refactoring.RefactoringCommandsExtension.GotoDeclaration()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd)
at MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.<DispatchCommand>b__2()
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment