{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/3362","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/3362/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/3362/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/3362/events","html_url":"https://github.com/google/ExoPlayer/issues/3362","id":266059225,"number":3362,"title":"IndexOutOfBoundsException: SimpleExoPlayer.getDuration()","user":{"login":"Khang-NT","id":13332950,"avatar_url":"https://avatars1.githubusercontent.com/u/13332950?v=4","gravatar_id":"","url":"https://api.github.com/users/Khang-NT","html_url":"https://github.com/Khang-NT","followers_url":"https://api.github.com/users/Khang-NT/followers","following_url":"https://api.github.com/users/Khang-NT/following{/other_user}","gists_url":"https://api.github.com/users/Khang-NT/gists{/gist_id}","starred_url":"https://api.github.com/users/Khang-NT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khang-NT/subscriptions","organizations_url":"https://api.github.com/users/Khang-NT/orgs","repos_url":"https://api.github.com/users/Khang-NT/repos","events_url":"https://api.github.com/users/Khang-NT/events{/privacy}","received_events_url":"https://api.github.com/users/Khang-NT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-17T09:45:35Z","updated_at":"2017-10-17T09:51:12Z","closed_at":null,"author_association":"NONE","body":"### Issue description, Reproduction steps\r\nI have no idea why and how does it happen, just receive some crash logs from my crash reporting service (affected at lest 30 users, 20 different kind of devices).\r\nI post here to find if someone have same issue or has solution for it.\r\n\r\n### Link to test content\r\nN/A\r\n\r\n### Version of ExoPlayer being used\r\n`r2.5.3`\r\n\r\n### Device(s) and version(s) of Android being used\r\nVariety device and version.\r\n\r\n### A full bug report captured from the device\r\nCrash log:\r\n```\r\njava.lang.IndexOutOfBoundsException\r\n\tat com.google.android.exoplayer2.Timeline$1.getWindow(Timeline.java:522)\r\n\tat com.google.android.exoplayer2.Timeline.getWindow$28c22ef2(Timeline.java:618)\r\n\tat com.google.android.exoplayer2.Timeline.getWindow(Timeline.java:605)\r\n\tat com.google.android.exoplayer2.ExoPlayerImpl.getDuration(ExoPlayerImpl.java:313)\r\n\tat com.google.android.exoplayer2.SimpleExoPlayer.getDuration(SimpleExoPlayer.java:749)\r\n```"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/337179552","html_url":"https://github.com/google/ExoPlayer/issues/3362#issuecomment-337179552","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/3362","id":337179552,"user":{"login":"tonihei","id":26897506,"avatar_url":"https://avatars1.githubusercontent.com/u/26897506?v=4","gravatar_id":"","url":"https://api.github.com/users/tonihei","html_url":"https://github.com/tonihei","followers_url":"https://api.github.com/users/tonihei/followers","following_url":"https://api.github.com/users/tonihei/following{/other_user}","gists_url":"https://api.github.com/users/tonihei/gists{/gist_id}","starred_url":"https://api.github.com/users/tonihei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonihei/subscriptions","organizations_url":"https://api.github.com/users/tonihei/orgs","repos_url":"https://api.github.com/users/tonihei/repos","events_url":"https://api.github.com/users/tonihei/events{/privacy}","received_events_url":"https://api.github.com/users/tonihei/received_events","type":"User","site_admin":false},"created_at":"2017-10-17T09:51:12Z","updated_at":"2017-10-17T09:51:12Z","author_association":"CONTRIBUTOR","body":"Can you give us some more details about the media sources you use and the point in time when this exception occurs (e.g. does it happen after a seek, or in which method do you call player.getDuration())?"}}
{"actor":{"display_login":"tonihei"}}