Skip to content

multiple NullPointerException errors after playing for 1 hours #63

@lesar8

Description

@lesar8

Hi. After playing for 1 hours, i'm getting multiple [java.lang.NullPointerException] errors and the number keep increasing every seconds. Music still plays and the UI still respond, but the "Search" feature won't work and the "Errors" dialog won't open.

This always happens after 1 hours of listening session, maybe due to Spotify servers blocking the requests ?

Java

[java.lang.NullPointerException] com.spotifyxp.api.SpotifyAPI$1.run(SpotifyAPI.java:30) com.spotifyxp.events.Events$PrivateEvent.trigger(Events.java:26) com.spotifyxp.events.Events.triggerEvent(Events.java:124) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:308) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:126) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:141) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:315) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:126) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:141) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:315) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:126) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:141) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:315) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:126) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:141) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:315) com.spotifyxp.deps.se.michaelthelin.spotify.SpotifyHttpManager.get(SpotifyHttpManager.java:126) com.spotifyxp.deps.se.michaelthelin.spotify.requests.AbstractRequest.getJson(AbstractRequest.java:107) com.spotifyxp.deps.se.michaelthelin.spotify.requests.data.library.CheckUsersSavedTracksRequest.execute(CheckUsersSavedTracksRequest.java:33) com.spotifyxp.utils.TrackUtils.isTrackLiked(TrackUtils.java:193) com.spotifyxp.listeners.PlayerListener.onTrackChanged(PlayerListener.java:69) com.spotifyxp.deps.xyz.gianlu.librespot.player.Player$EventsDispatcher.lambda$trackChanged$8(Player.java:1125) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions