haacked / Encourage

A bit of encouragment added to Visual Studio
75 stars 32 forks source link

Intermittent Exception While Working #12

Closed tamimsalem closed 7 years ago

tamimsalem commented 10 years ago

While working I get a random error, so far I couldn't figure out a scenario, here is the error window I get:

encourage error

The log has the following entry for the error:

801 Error Editor or Editor Extension System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection.get_Item(Int32 index) at Microsoft.VisualStudio.Language.Intellisense.Implementation.Helpers.GetEncapsulatingSpan(ITextView textView, ITrackingSpan span1, ITrackingSpan span2) at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultSignatureHelpPresenter.ComputePresentationSpan() at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultSignatureHelpPresenter.OnSessionSignaturesChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ReadOnlyObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs args) at System.Collections.ObjectModel.ReadOnlyObservableCollection`1.HandleCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Microsoft.VisualStudio.Language.Intellisense.BulkObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index) at Microsoft.VisualStudio.Language.Intellisense.BulkObservableCollection`1.RemoveItem(Int32 index) at System.Collections.ObjectModel.Collection`1.Remove(T item) at Microsoft.VisualStudio.Language.Intellisense.Implementation.SignatureHelpSession.OnCaretPositionChanged(Object sender, CaretPositionChangedEventArgs e) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)

I hope this is enough to figure out the problem.

haacked commented 10 years ago

Weird, I don't see us in the stack trace there. @jaredpar any ideas?

jaredpar commented 10 years ago

Do u have any other extensions installed?

haacked commented 7 years ago

I don't think this is due to Encourage. Going to close this.