-
Notifications
You must be signed in to change notification settings - Fork 415
Open
Description
Describe the bug
Sometimes in Visual Studio 2022, I get a little banner at the top that says something like "A NullReferenceException occurred. This may be caused by an extension. Click here to open the log." In the log, I see some info about the nullref, with a stack attributing it to VsVim:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.get_LineHeight()
at Vim.UI.Wpf.Implementation.CharDisplay.CharDisplayTaggerSource.GetTagsCore(SnapshotSpan span)
at Vim.UI.Wpf.Implementation.CharDisplay.CharDisplayTaggerSource.GetTags(SnapshotSpan span)
at Vim.UI.Wpf.Implementation.CharDisplay.CharDisplayTaggerSource.Vim.IBasicTaggerSource<Microsoft.VisualStudio.Text.Editor.IntraTextAdornmentTag>.GetTags(SnapshotSpan span)
at Vim.BasicTagger`1.GetTags(NormalizedSnapshotSpanCollection col)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint[T,TArg](Object errorSource, Func`2 call, TArg arg, T valueOnThrow)
To Reproduce
Sorry; I haven't figured out what triggers this yet.
Expected behavior
No nullref. :D
Environment (please complete the following information):
- Visual Studio version: 17.14.5 Preview 1.0
- VsVim version: 2.10.0.6
- Programming Language: C++
- Check(Type 'x') any that are installed:
- ReSharper
- Visual Assist
Metadata
Metadata
Assignees
Labels
No labels