You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes after authorizing Spotify, there is no track playing, resulting in a null object exception (Attempt to read from field 'long com.spotify.protocol.types.Track.duration' on a null object reference) in handleOnConnect -> ... -> Convert.toMap(Track track)
Not sure when it happens: it may be a slow device or network. Easiest way to replicate it:
clear Spotify storage via it's settings
use await SpotifyAuth.authorize(...) and await SpotifyRemote.connect(...)
login on Spotify
The text was updated successfully, but these errors were encountered:
Hi,
Sometimes after authorizing Spotify, there is no track playing, resulting in a null object exception (
Attempt to read from field 'long com.spotify.protocol.types.Track.duration' on a null object reference
) inhandleOnConnect
-> ... ->Convert.toMap(Track track)
Not sure when it happens: it may be a slow device or network. Easiest way to replicate it:
await SpotifyAuth.authorize(...)
andawait SpotifyRemote.connect(...)
The text was updated successfully, but these errors were encountered: