Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unhandled Exception - Win10 #69

Closed
Geowil opened this issue Aug 28, 2022 · 11 comments
Closed

Unhandled Exception - Win10 #69

Geowil opened this issue Aug 28, 2022 · 11 comments

Comments

@Geowil
Copy link

Geowil commented Aug 28, 2022

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)

@MarcoPNS
Copy link
Owner

Hi! Thank your the info. Can you upload your log file? You can find it in in the application folder under /Logs/

MarcoPNS added a commit that referenced this issue Sep 18, 2022
- new option to change color of window and progressbar
- handling exception for issue #69 #59
- updated credits

Co-Authored-By: Dankyss <danky@devbeef.com>
@Geowil
Copy link
Author

Geowil commented Sep 18, 2022

2022-09-15.log
Here you go.

@MarcoPNS
Copy link
Owner

@Geowil Thank you! Could you update to 1.5 and see if it still happens?

@Geowil
Copy link
Author

Geowil commented Sep 19, 2022

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.

@MarcoPNS
Copy link
Owner

Could you send me the new log file?

@Geowil
Copy link
Author

Geowil commented Sep 19, 2022

@MarcoPNS
Copy link
Owner

@MarcoPNS MarcoPNS reopened this Sep 20, 2022
@Geowil
Copy link
Author

Geowil commented Sep 21, 2022

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

@MarcoPNS
Copy link
Owner

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.

@MarcoPNS
Copy link
Owner

The new beta should work! https://github.com/MarcoPNS/Spotify-Stream-Widget/raw/main/Release/Spot_Widget_1_5_0_2.zip

@Geowil
Copy link
Author

Geowil commented Sep 25, 2022

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.

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

No branches or pull requests

2 participants