{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/5078","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/5078/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/5078/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/5078/events","html_url":"https://github.com/google/ExoPlayer/issues/5078","id":378684548,"node_id":"MDU6SXNzdWUzNzg2ODQ1NDg=","number":5078,"title":"ANR on clear the player of PlayerView ","user":{"login":"nooooooooooob","id":15773583,"node_id":"MDQ6VXNlcjE1NzczNTgz","avatar_url":"https://avatars0.githubusercontent.com/u/15773583?v=4","gravatar_id":"","url":"https://api.github.com/users/nooooooooooob","html_url":"https://github.com/nooooooooooob","followers_url":"https://api.github.com/users/nooooooooooob/followers","following_url":"https://api.github.com/users/nooooooooooob/following{/other_user}","gists_url":"https://api.github.com/users/nooooooooooob/gists{/gist_id}","starred_url":"https://api.github.com/users/nooooooooooob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nooooooooooob/subscriptions","organizations_url":"https://api.github.com/users/nooooooooooob/orgs","repos_url":"https://api.github.com/users/nooooooooooob/repos","events_url":"https://api.github.com/users/nooooooooooob/events{/privacy}","received_events_url":"https://api.github.com/users/nooooooooooob/received_events","type":"User","site_admin":false},"labels":[{"id":214717009,"node_id":"MDU6TGFiZWwyMTQ3MTcwMDk=","url":"https://api.github.com/repos/google/ExoPlayer/labels/need%20more%20info","name":"need more info","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"AquilesCanta","id":8539544,"node_id":"MDQ6VXNlcjg1Mzk1NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8539544?v=4","gravatar_id":"","url":"https://api.github.com/users/AquilesCanta","html_url":"https://github.com/AquilesCanta","followers_url":"https://api.github.com/users/AquilesCanta/followers","following_url":"https://api.github.com/users/AquilesCanta/following{/other_user}","gists_url":"https://api.github.com/users/AquilesCanta/gists{/gist_id}","starred_url":"https://api.github.com/users/AquilesCanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AquilesCanta/subscriptions","organizations_url":"https://api.github.com/users/AquilesCanta/orgs","repos_url":"https://api.github.com/users/AquilesCanta/repos","events_url":"https://api.github.com/users/AquilesCanta/events{/privacy}","received_events_url":"https://api.github.com/users/AquilesCanta/received_events","type":"User","site_admin":false},"assignees":[{"login":"AquilesCanta","id":8539544,"node_id":"MDQ6VXNlcjg1Mzk1NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8539544?v=4","gravatar_id":"","url":"https://api.github.com/users/AquilesCanta","html_url":"https://github.com/AquilesCanta","followers_url":"https://api.github.com/users/AquilesCanta/followers","following_url":"https://api.github.com/users/AquilesCanta/following{/other_user}","gists_url":"https://api.github.com/users/AquilesCanta/gists{/gist_id}","starred_url":"https://api.github.com/users/AquilesCanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AquilesCanta/subscriptions","organizations_url":"https://api.github.com/users/AquilesCanta/orgs","repos_url":"https://api.github.com/users/AquilesCanta/repos","events_url":"https://api.github.com/users/AquilesCanta/events{/privacy}","received_events_url":"https://api.github.com/users/AquilesCanta/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-08T11:11:26Z","updated_at":"2018-11-09T01:47:20Z","closed_at":null,"author_association":"NONE","body":"here is ANR log\r\n————————————————————————————————————————\r\n\"main\" prio=5 tid=1 WAIT\r\n  | group=\"main\" sCount=1 dsCount=0 obj=0x41e3ae58 self=0x41e29850\r\n  | sysTid=7095 nice=0 sched=0/0 cgrp=apps handle=1074819412\r\n  | state=S schedstat=( 92592230727 45469543736 288528 ) utm=7999 stm=1260 core=0\r\n  at java.lang.Object.wait(Native Method)\r\n  - waiting on <0x42ebeaf8> (a com.google.android.exoplayer2.PlayerMessage)\r\n  at java.lang.Object.wait(Object.java:364)\r\n  at com.google.android.exoplayer2.PlayerMessage.blockUntilDelivered(PlayerMessage.java:282)\r\n  at com.google.android.exoplayer2.SimpleExoPlayer.setVideoSurfaceInternal(SimpleExoPlayer.java:962)\r\n  at com.google.android.exoplayer2.SimpleExoPlayer.setVideoTextureView(SimpleExoPlayer.java:285)\r\n  at com.google.android.exoplayer2.SimpleExoPlayer.clearVideoTextureView(SimpleExoPlayer.java:300)\r\n————————————————————————————————————————\r\n\r\n\r\nhere is my code which cause the ANR\r\n————————————————————————————————————————\r\nmPlayerView.setPlayer(null);\r\n————————————————————————————————————————\r\n \r\nexoplayer version:2.8.2\r\nAndroidVersion 4.4.4\r\n\r\n\r\nit happens when I release the player while the player is buffering "},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/437221322","html_url":"https://github.com/google/ExoPlayer/issues/5078#issuecomment-437221322","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/5078","id":437221322,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzIyMTMyMg==","user":{"login":"nooooooooooob","id":15773583,"node_id":"MDQ6VXNlcjE1NzczNTgz","avatar_url":"https://avatars0.githubusercontent.com/u/15773583?v=4","gravatar_id":"","url":"https://api.github.com/users/nooooooooooob","html_url":"https://github.com/nooooooooooob","followers_url":"https://api.github.com/users/nooooooooooob/followers","following_url":"https://api.github.com/users/nooooooooooob/following{/other_user}","gists_url":"https://api.github.com/users/nooooooooooob/gists{/gist_id}","starred_url":"https://api.github.com/users/nooooooooooob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nooooooooooob/subscriptions","organizations_url":"https://api.github.com/users/nooooooooooob/orgs","repos_url":"https://api.github.com/users/nooooooooooob/repos","events_url":"https://api.github.com/users/nooooooooooob/events{/privacy}","received_events_url":"https://api.github.com/users/nooooooooooob/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T01:47:20Z","updated_at":"2018-11-09T01:47:20Z","author_association":"NONE","body":"bugreport is sent by email"}}
{"actor":{"display_login":"nooooooooooob"}}