Skip to content

Conversation

@tonyhallett
Copy link
Collaborator

@FortuneN

My laptop is in for repair and I am running visual studio on an Azure VM. Unfortunately when debugging I am getting the following error ( one that probably does not occur outside the vm )

Fine Code Coverage : System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.IVsAppId'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{1EAA526A-0898-11D3-B868-00C04F79F802}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.PlatformUI.EnvironmentOptions.GeneralOptionsPage.ReadAppIdThemeOption(IVsColorThemes colorThemes)
at Microsoft.VisualStudio.PlatformUI.EnvironmentOptions.GeneralOptionsPage.CalculateCurrentTheme(String themeProperty, IVsColorThemes colorThemes, Boolean shouldUseHighContrast, Boolean& success, Boolean& needSubscribeToThemeSettingEvents, ISettingsManager& settingsManager)
at Microsoft.VisualStudio.Platform.WindowManagement.ColorThemeService.CalculateCurrentTheme(String themeProperty, IVsColorTheme& theme)
at Microsoft.VisualStudio.Platform.WindowManagement.ColorThemeService.get_CurrentTheme()
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at FineCodeCoverage.Engine.FCCEngine.get_CurrentTheme() in C:\Users\tonyhallett\Source\Repos\FineCodeCoverage\FineCodeCoverage\Core\FCCEngine.cs:line 25
at FineCodeCoverage.Engine.FCCEngine.d__45.MoveNext() in C:\Users\tonyhallett\Source\Repos\FineCodeCoverage\FineCodeCoverage\Core\FCCEngine.cs:line 165
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at FineCodeCoverage.Engine.FCCEngine.<>c__DisplayClass49_0.<b__0>d.MoveNext() in C:\Users\tonyhallett\Source\Repos\FineCodeCoverage\FineCodeCoverage\Core\FCCEngine.cs:line 267

Please can you check that this does not occur when FCC is run normally.
Note that the change in this pr is javascript only - for issue - #160

@tonyhallett tonyhallett marked this pull request as ready for review July 8, 2021 11:14
@tonyhallett
Copy link
Collaborator Author

@FortuneN
merging as the exception is not due to code changes

@tonyhallett tonyhallett merged commit 10f3c1f into FortuneN:master Jul 8, 2021
@tonyhallett tonyhallett deleted the fix-missing-msg-no-hotspots branch August 17, 2021 13:07
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

Successfully merging this pull request may close these issues.

1 participant