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

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception ... #662

Closed
sentry-io bot opened this issue May 23, 2021 · 1 comment
Assignees
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented May 23, 2021

Sentry Issue: SOUNDSWITCH-16

System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'NAudio.CoreAudioApi.Interfaces.IMMDevice'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D666063F-1587-4E43-81F1-B948E807363F}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).
  ?, in int IMMDevice.Activate(ref Guid id, ClsCtx clsCtx, IntPtr activationParams, out object interfacePointer)
  ?, in AudioClient MMDevice.GetAudioClient()
  ?, in new WasapiOut(MMDevice device, AudioClientShareMode shareMode, bool useEventSync, int latency)
  File "C:\Users\Antoine\source\repos\SoundSwitch\SoundSwitch\Framework\NotificationManager\Notification\NotificationCustom.cs", line 40, in void NotificationCustom.NotifyDefaultChanged(MMDevice audioDevice)+() => { }
...
(1 additional frame(s) were not displayed)

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to cast COM object of type 'System.__ComObject' to interface type 'NAudio.CoreAudioApi.Interfaces.IMMDevice'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D666063F-1587-4E43-81F1-B948E807363F}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).)
github-actions bot pushed a commit that referenced this issue Jun 30, 2021
### [5.10.1](v5.10.0...v5.10.1) (2021-06-30)

### Bug Fixes

* **Notification::Custom:** Fix issue where the custom sound wasn't played properly. ([4e23556](4e23556)), closes [#662](#662)
* **Notification::Sound:** Fix issue where sound wasn't played properly. ([08ca605](08ca605))
* **Update::Later:** Don't force the user to update when left clicking on the icon ([56199da](56199da))
* **Updater:** Use the right mode to open the installer file for update. ([dd5399f](dd5399f))
* **Updater::Postpone:** Clicking on the menu shouldn't force downloading the postponed release. ([352765b](352765b))

### Languages

* **Croatian:** Translated Update Download using Weblate ([9441f44](9441f44))
* **Danish:** Added Settings translation using Weblate ([3915858](3915858))
* **Hebrew:** Translated Tray Icon using Weblate ([bc35bc4](bc35bc4))
* **Hebrew:** Translated Update Download using Weblate ([7272781](7272781))
* **Korean:** Translated About using Weblate ([3add52d](3add52d))
* **Korean:** Translated Settings using Weblate ([35cd467](35cd467))
* **Korean:** Translated Tray Icon using Weblate ([648c162](648c162))
* **Korean:** Translated Update Download using Weblate ([e7054f6](e7054f6))
* **Russian:** Translated Settings using Weblate ([ec9884c](ec9884c))
* **Russian:** Translated Tray Icon using Weblate ([d214918](d214918))
* **Russian:** Translated Update Download using Weblate ([5d36dfa](5d36dfa))
* **Turkish:** Translated Settings using Weblate ([d3f8564](d3f8564))
* **Turkish:** Translated Tray Icon using Weblate ([55ba8f8](55ba8f8))

### Enhancements

* **Device::Switching:** Be sure the order of switching device follow the selection made by the user in the settings menu ([2956bc6](2956bc6))
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 5.10.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

1 participant