Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mono-d crashing on windows #605

Open
extrawurst opened this issue Apr 25, 2015 · 5 comments
Open

mono-d crashing on windows #605

extrawurst opened this issue Apr 25, 2015 · 5 comments
Labels

Comments

@extrawurst
Copy link

log says:

Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Error while executing action System.Action`1[Mono.TextEditor.TextEditorData] :System.ArgumentOutOfRangeException: [DocumentLocation: Line=1, Column=0] is out of range.
Parametername: lead
   bei Mono.TextEditor.Selection..ctor(DocumentLocation anchor, DocumentLocation lead, SelectionMode selectionMode)
   bei Mono.TextEditor.Selection.WithLead(DocumentLocation newLead)
   bei Mono.TextEditor.TextEditorData.ExtendSelectionTo(DocumentLocation location)
   bei Mono.TextEditor.SelectionActions.PositionChangedHandler.DataCaretPositionChanged(Object sender, DocumentLocationEventArgs e)
   bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   bei Mono.TextEditor.Caret.OnPositionChanged(DocumentLocationEventArgs args)
   bei Mono.TextEditor.Caret.SetToOffsetWithDesiredColumn(Int32 desiredOffset)
   bei Mono.TextEditor.CaretMoveActions.Down(TextEditorData data)
   bei Mono.TextEditor.SelectionActions.Select(TextEditorData data, Action`1 caretMoveAction)
   bei Mono.TextEditor.SelectionActions.MoveDown(TextEditorData data)
   bei Mono.TextEditor.EditMode.RunAction(Action`1 action)
Error while executing action System.Action`1[Mono.TextEditor.TextEditorData] :System.ArgumentOutOfRangeException: [DocumentLocation: Line=1, Column=0] is out of range.
Parametername: anchor
   bei Mono.TextEditor.Selection..ctor(DocumentLocation anchor, DocumentLocation lead, SelectionMode selectionMode)
   bei Mono.TextEditor.SelectionActions.StartSelection(TextEditorData data)
   bei Mono.TextEditor.SelectionActions.Select(TextEditorData data, Action`1 caretMoveAction)
   bei Mono.TextEditor.SelectionActions.MoveDown(TextEditorData data)
   bei Mono.TextEditor.EditMode.RunAction(Action`1 action)
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Error while executing action System.Action`1[Mono.TextEditor.TextEditorData] :System.ArgumentOutOfRangeException: must be > 0, was: -1
Parametername: offset
   bei Mono.TextEditor.TextDocument.Replace(Int32 offset, Int32 count, String value, AnchorMovementType anchorMovementType)
   bei Mono.TextEditor.TextDocument.Replace(Int32 offset, Int32 count, String value)
   bei Mono.TextEditor.TextEditorData.Replace(Int32 offset, Int32 count, String value)
   bei Mono.TextEditor.TextEditorData.Remove(Int32 offset, Int32 count)
   bei Mono.TextEditor.TextEditorData.DeleteSelection(Selection selection)
   bei Mono.TextEditor.TextEditorData.DeleteSelectedText(Boolean clearSelection)
   bei Mono.TextEditor.DeleteActions.Backspace(TextEditorData data, Action`1 removeCharBeforeCaret)
   bei Mono.TextEditor.DeleteActions.Backspace(TextEditorData data)
   bei MonoDevelop.SourceEditor.EditActions.RemoveCharBeforCaret(TextEditorData data)
   bei MonoDevelop.SourceEditor.EditActions.AdvancedBackspace(TextEditorData data)
   bei Mono.TextEditor.EditMode.RunAction(Action`1 action)
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
Exception in tooltip provider MonoDevelop.D.Gui.DToolTipProvider GetItem:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei D_Parser.Resolver.LooseResolution.LookupIdRawly(ParseCacheView parseCache, ISyntaxRegion o, DModule oContext)
   bei D_Parser.Resolver.LooseResolution.<ResolveTypeLoosely>c__AnonStorey0.<>m__0()
   bei D_Parser.Completion.CodeCompletion.DoTimeoutableCompletionTask(ICompletionDataGenerator cdgen, ResolutionContext ctxt, Action ac, Int32 timeout)
   bei D_Parser.Resolver.LooseResolution.ResolveTypeLoosely(IEditorData editor, ISyntaxRegion o, NodeResolutionAttempt& resolutionAttempt)
   bei MonoDevelop.D.Gui.DToolTipProvider.GetItem(TextEditor editor, Int32 offset)
   bei Mono.TextEditor.TextArea.TooltipTimer()
@extrawurst
Copy link
Author

For repro, I had this project open: https://github.com/Extrawurst/DerelictSteamworks

@extrawurst
Copy link
Author

but it happens randomly without me doing anything in particular..

@aBothe aBothe added the Bug label Apr 25, 2015
@extrawurst
Copy link
Author

Ok the repro is hovering a method, something particular after all.

aBothe pushed a commit to aBothe/D_Parser that referenced this issue Apr 26, 2015
aBothe pushed a commit that referenced this issue Apr 26, 2015
@aBothe
Copy link
Owner

aBothe commented Apr 26, 2015

Let's see whether it works now.

@aBothe
Copy link
Owner

aBothe commented May 9, 2015

I'm really struggling to find a place in the D_Parser.Resolver.LooseResolution.LookupIdRawly method where it's crashing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants