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

Exceptions thrown at VS statup #78

Open
tiborebner opened this issue May 22, 2018 · 3 comments
Open

Exceptions thrown at VS statup #78

tiborebner opened this issue May 22, 2018 · 3 comments

Comments

@tiborebner
Copy link

I can reliably reproduce this issue now and finally managed to capture the extension log as well. Somehow starting VS with the /log switch wouldn't create the log file at the default (AppData/Roaming/...) location even though the error dialog that popped up indicated exactly that. I had to specify the log file path explicitly for the logging to kick in. Anyhow, please find ActivityLog.xml attached. To reproduce the issue I have to start two VS instances. The second instance triggers a "Loading user settings (...)" dialog while starting up (and this is the root cause of the issue, I think), then the usual error dialog pops up saying that there may be problems with some extensions. Records 690, 691, and 693 contain the pertaining exceptions.

ActivityLog.zip

@justcla
Copy link
Owner

justcla commented May 22, 2018

Thanks for letting me know. And thanks for the detailed explanation.
Looking into the logs, the failure occurred while the GoToLastEditLocation listener was trying to GetCurrentFilePath.

User reports this happens reliably with multiple instances of VS open.
No report of this happening on a single instance.

@tiesmaster
Copy link
Contributor

I also get this repeatedly. Haven't tried to reproduce it, but did notice that it happens indeed with multiple instances of VS.

@justcla Any idea if you can fix this? Do you maybe need something to this going?

@N1h1l1sT
Copy link

N1h1l1sT commented Dec 2, 2018

I can confirm that this exception occurs every time when opening an R (Data Science) project.
I would also like to mention that it never occurs on other project types (that I've tried), for instance VB.NET projects

This is my activity log, which states that the exception happens on Editor or Editor Extension and is of type System.NullReferenceException at HotCommands.LastEditHandler.GetCurrentFilePath()

ActivityLog.zip

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

No branches or pull requests

4 participants