{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/97","labels_url":"https://api.github.com/repos/spotify/android-sdk/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/spotify/android-sdk/issues/97/comments","events_url":"https://api.github.com/repos/spotify/android-sdk/issues/97/events","html_url":"https://github.com/spotify/android-sdk/issues/97","id":65243067,"number":97,"title":"java.util.concurrent.RejectedExecutionException: Player is shut down","user":{"login":"Wolftein","id":1273705,"avatar_url":"https://avatars.githubusercontent.com/u/1273705?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolftein","html_url":"https://github.com/Wolftein","followers_url":"https://api.github.com/users/Wolftein/followers","following_url":"https://api.github.com/users/Wolftein/following{/other_user}","gists_url":"https://api.github.com/users/Wolftein/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolftein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolftein/subscriptions","organizations_url":"https://api.github.com/users/Wolftein/orgs","repos_url":"https://api.github.com/users/Wolftein/repos","events_url":"https://api.github.com/users/Wolftein/events{/privacy}","received_events_url":"https://api.github.com/users/Wolftein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spotify/android-sdk/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spotify/android-sdk/labels/next-release","name":"next-release","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-30T15:52:13Z","updated_at":"2015-05-18T16:18:26Z","closed_at":"2015-05-05T08:17:06Z","body":"This happend sometimes:\r\n\r\n```\r\njava.util.concurrent.RejectedExecutionException: Player is shut down\r\nat com.spotify.sdk.android.player.Player.checkForShutdown(UTone:585)\r\nat com.spotify.sdk.android.player.Player.submit(UTone:574)\r\nat com.spotify.sdk.android.player.Player.setPlaybackBitrate(UTone:1038)\r\nat me.siegenthaler.utone.sp.SpProviderAPI.onInitialized(UTone:368)\r\nat com.spotify.sdk.android.player.Player$2.run(UTone:398)\r\nat android.os.Handler.handleCallback(Handler.java:725)\r\nat android.os.Handler.dispatchMessage(Handler.java:92)\r\nat android.os.Looper.loop(Looper.java:137)\r\nat android.app.ActivityThread.main(ActivityThread.java:5099)\r\nat java.lang.reflect.Method.invokeNative(Native Method)\r\nat java.lang.reflect.Method.invoke(Method.java:511)\r\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:803)\r\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570)\r\nat dalvik.system.NativeStart.main(Native Method)\r\n```\r\n\r\nI'm calling setPlaybackBitrate(..) inside onInitialized callback.\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/comments/103117233","html_url":"https://github.com/spotify/android-sdk/issues/97#issuecomment-103117233","issue_url":"https://api.github.com/repos/spotify/android-sdk/issues/97","id":103117233,"user":{"login":"kaaes","id":202548,"avatar_url":"https://avatars.githubusercontent.com/u/202548?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaes","html_url":"https://github.com/kaaes","followers_url":"https://api.github.com/users/kaaes/followers","following_url":"https://api.github.com/users/kaaes/following{/other_user}","gists_url":"https://api.github.com/users/kaaes/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaes/subscriptions","organizations_url":"https://api.github.com/users/kaaes/orgs","repos_url":"https://api.github.com/users/kaaes/repos","events_url":"https://api.github.com/users/kaaes/events{/privacy}","received_events_url":"https://api.github.com/users/kaaes/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T16:18:26Z","updated_at":"2015-05-18T16:18:26Z","body":"@bimusiek this exception is only thrown when trying to invoke the command on the player that is shut down. Please check if you're not trying to call `play` after destroying the player (Maybe in a callback?)"}}