LokiMidgard / Bes-Music

A Windows 10 (including Mobile) Music player that downloads your Music from OneDrive and Syncs your Playlists between devices.
MIT License
33 stars 2 forks source link

Unauthorized access exception #8

Open LokiMidgard opened 3 years ago

LokiMidgard commented 3 years ago

I see following in the dashboard

stowed_exception_system.unauthorizedaccessexception_80070005_musicplayer.exe!musicplayer::pages::shellpage::_app_erroroccured_d__11.movenext

unfortunatly I don't have a more detailed stacktrace. I thought this would happen to access an dependency object from the wrong thread, but everything in this should run in the UI thread...

LokiMidgard commented 3 years ago

I was able to reproduce it (by accident) on my device. But it can't be reproduced while Debugging.

We actually check where the error seems to occurs if we are in the correct thread, and redireict otherwise. Still It does not work sometimes...