When the session expires and the user is browsing the list of albums/artists/playlists, the Server sends a response which contains a null data object and an error object, but the callback, which requires the parameters to be non-null, causes an assertion fail and the application crashes. The application should check if the data object received from the server in the Response is non-null, and in case it is, it should be able to catch the error and trigger a renewal of the session key.
When the session expires and the user is browsing the list of albums/artists/playlists, the Server sends a response which contains a null data object and an error object, but the callback, which requires the parameters to be non-null, causes an assertion fail and the application crashes. The application should check if the data object received from the server in the Response is non-null, and in case it is, it should be able to catch the error and trigger a renewal of the session key.