-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Microsoft.VisualStudio.Composition.CompositionFailedException #484
Comments
Seems related to #142 |
@cookston This looks to be the same as #461. So sorry you're getting this, it's a race condition introduced in 1.0.18.3 that wasn't getting triggered until very recently, for some reason 😢 We have a fix for it in version 2.0.14, which is due out today and is already available in our custom gallery feed (https://visualstudio.github.com/releases/feed.rss), from our releases page, or directly from https://ghfvs-installer.github.com/releases/stable/2.0.14.0/GitHub.VisualStudio.vsix Could you try it out and see if it fixes things for you? It fixes this on our testing, but the more confirmation the better. |
2.0.14.1 is live in the Visual Studio gallery with a fix for this. |
Great - thank you! So far it is working well. |
😢 There's a few more things I can think of doing to track this down, I'll get a patch going and link you to a new build in a bit. |
Does the Connect page start failing randomly after working for a while? Or does it only fail when you first go to it after starting VS? |
I suspect this got introduced in 1.0.18.3. If that's the case, then you can try downgrading to https://github.com/github/VisualStudio/releases/tag/v1.0.18.2 while we investigate. |
OK thanks - I have reverted. Will let you know if the problem occurs with v1.10.18.2 |
@cookston There is a new build, 2.0.14.2, which includes a potential fix to the issue you're seeing 🙏 You can download it from http://ghfvs-installer.github.com/releases/2.0.14.2/GitHub.VisualStudio.vsix or from the releases page. Please do let us know if this fixes things, we can't currently repro the issue so it's hard for us to be 100% confident that we've covered all the edge cases here. |
Should be fixed in 2.0.14.2 and above. |
Yes - thanks the issue has not returned since the upgrade. |
Is this really fixed!? I got exactly this error in Visual Studio last days. My installed version is 2.0.15.1. |
My installed version is 2.2.0.8 and I get: Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "GitHub.Services.VSGitServices". ---> System.NullReferenceException: Object reference not set to an instance of an object. |
Handle versioning using Nerdbank.GitVersioning
Issue occurs regularly, perhaps once or twice day, an exception is displayed in Team Explorer when launching Visual Studio.
Current workaround is to uninstall and re-install GitHub Extension (but currently having to do this often) Extension then works without problem for a few hours.
Visual Studio 14.0.254.25.01 Update 3
Git Hub Extension
1.0.18.6
Logs from:
%appdata%\Microsoft\VisualStudio\14.0\ActivityLog.xml
%localappdata%\temp\extension.log
%localappdata%\GitHubVisualStudio\extension.log
logs.zip
The text was updated successfully, but these errors were encountered: