Unhandled Exception - Win10
Geowil opened this issue · 11 comments
Getting this occasionally while the widget is running after several hours. Will happen multiple times even after closing the widget, reopening, and reconnecting to Spotify.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Spotify_Stream_Widget.Viewer.VB$StateMachine_42__spotify_OnAccessTokenExpired.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
Hi! Thank your the info. Can you upload your log file? You can find it in in the application folder under /Logs/
2022-09-15.log
Here you go.
Yes, it is still happening. The errors are different now that they are being handled and say what the logs say now; the auth token has expired.
Could you send me the new log file?
Could you try out this beta release? https://github.com/MarcoPNS/Spotify-Stream-Widget/raw/main/Release/Spot_Widget_1_5_0_1.zip
The errors have stopped, however the issue still happens occasionally. When it does, the widget stops updating. Here is yesterday's log.
2022-09-20.log
This is actually very interesting! The timer fails and there is no refresh. The app doesn't even try.
Thank you! I'll try to prepare a second beta. I think it should be fixed then.
The new beta should work! https://github.com/MarcoPNS/Spotify-Stream-Widget/raw/main/Release/Spot_Widget_1_5_0_2.zip
Still getting auth issues. If the auth is lost and after attempting to reconnect the widget to Spotify, the widget crashes if auth access is lost again.