Navigating back and forth between documents quickly NullRefs
See original GitHub issueVersion Used: Version 16.8.0 Preview 3.0 [30431.102.main]
Steps to Reproduce:
- No repro, but it happens a few times a day when I quickly switch between documents using Back and Forth on my mouse
Expected Behavior:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.<GetSuggestedActionCategoriesAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.<CallExtensionPointAsync>d__36`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
--
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
12 better ways to move around a Word document
The only reliable way to jump between Word documents is Ctrl + F6 or Ctrl + Shift + F6 in reverse order. For...
Read more >4 Ways to Switch Between Open Documents in Word
Press CTRL-F6 on the keyboard to toggle between Word's open windows. Alt-Tab/Shift-Tab. Hold down the ALT key on the keyboard and tap the...
Read more >Use these shortcuts and features to quickly navigate a ...
To navigate the Ribbon, press Alt and then the right or left arrow key to move between the groups. Table A lists the...
Read more >6 Ways to Quickly Switch between Open Document Windows
Method 2: Change Windows inside Word · Firstly, click “View” tab. · Then click “Switch Windows” in “Window” group. · On the drop-down...
Read more >How to Quickly Go to a Certain Page, Line, or Section in ...
You can use the Go To feature in Microsoft Word to navigate long documents easily. Go to a page, section, line, or object...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve moved the internal bug to the editor team, as looking at the code it seems the editor owns the lifetime of these. Will leave this open for you to decide what to do @ryzngard as it would certainly be possible to work around the NRE, if you think the hits are high enough to warrant it.
Dump here if it helps: \\mlangfs1\public\dawengie\NullRefInSuggestedActionsSource.zip
Closing this as the internal PR linked above is complete.