mayerwin / vs-customize-window-title

Customize Visual Studio Window Title - Visual Studio Extension
https://marketplace.visualstudio.com/items?itemName=mayerwin.RenameVisualStudioWindowTitle
MIT License
108 stars 30 forks source link

NullReferenceException in Visual Studio 2015 on startup #29

Closed ScottHutchinson closed 5 years ago

ScottHutchinson commented 5 years ago

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe

ErwinMayerLabs.RenameVSWindowTitle.CustomizeVSWindowTitle.UpdateWindowTitleAsync(object, System.EventArgs)

An unhandled exception of type 'System.NullReferenceException' occurred in CustomizeVSWindowTitle.dll Object reference not set to an instance of an object.

This might be a conflict with the Clang Power Tools extension, which is also not loading correctly.

mayerwin commented 5 years ago

Thanks Scott, can you confirm if the issue occurs when the Clang Power Tools extension is disabled?

Also how did you find out about this exception? Was it logged? Normally all exceptions are caught (and logged) to ensure the extension does not crash.

ScottHutchinson commented 5 years ago

I found it by debugging VS2015 devenv using VS2017. But I just fixed it: I finally got VS2015 to launch (not quite sure how I did it).

Then Clang Power Tools updated itself to 4.3.2, and now VS is happy again. See https://github.com/Caphyon/clang-power-tools/blob/master/docs/CHANGELOG.md