question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navigating back and forth between documents quickly NullRefs

See original GitHub issue

Version Used: Version 16.8.0 Preview 3.0 [30431.102.main]

Steps to Reproduce:

  1. 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidwengiercommented, Sep 6, 2020

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

0reactions
davidwengiercommented, Sep 17, 2020

Closing this as the internal PR linked above is complete.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found