{"action":"closed","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/1900","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/1900/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/1900/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/1900/events","html_url":"https://github.com/google/ExoPlayer/issues/1900","id":181237920,"number":1900,"title":"ArrayIndexOutOfBoundsException on HLS stream, ExoPlayer v2.x","user":{"login":"ChernyshovYuriy","id":931955,"avatar_url":"https://avatars.githubusercontent.com/u/931955?v=3","gravatar_id":"","url":"https://api.github.com/users/ChernyshovYuriy","html_url":"https://github.com/ChernyshovYuriy","followers_url":"https://api.github.com/users/ChernyshovYuriy/followers","following_url":"https://api.github.com/users/ChernyshovYuriy/following{/other_user}","gists_url":"https://api.github.com/users/ChernyshovYuriy/gists{/gist_id}","starred_url":"https://api.github.com/users/ChernyshovYuriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChernyshovYuriy/subscriptions","organizations_url":"https://api.github.com/users/ChernyshovYuriy/orgs","repos_url":"https://api.github.com/users/ChernyshovYuriy/repos","events_url":"https://api.github.com/users/ChernyshovYuriy/events{/privacy}","received_events_url":"https://api.github.com/users/ChernyshovYuriy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/ExoPlayer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ojw28","id":7881572,"avatar_url":"https://avatars.githubusercontent.com/u/7881572?v=3","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false},"assignees":[{"login":"ojw28","id":7881572,"avatar_url":"https://avatars.githubusercontent.com/u/7881572?v=3","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-05T19:00:14Z","updated_at":"2016-10-05T20:25:16Z","closed_at":"2016-10-05T20:25:16Z","body":"I had searched for the same exception but didn't found with the same scenario and root point of exception.\r\nReproduced on application assembled from dev-v2 (hash 89c43807), as well as assembled from release-v2.\r\nSteps:\r\n- launch application and select HLS -> \"Apple 16x9 basic stream\"\r\n- once started, select Text -> \"unknown\"\r\n- observe:\r\n\r\n```\r\n10-05 14:59:29.197 E: playerFailed [5.63]\r\n                      com.google.android.exoplayer2.ExoPlaybackException\r\n                          at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:315)\r\n                          at android.os.Handler.dispatchMessage(Handler.java:98)\r\n                          at android.os.Looper.loop(Looper.java:148)\r\n                          at android.os.HandlerThread.run(HandlerThread.java:61)\r\n                          at com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n                       Caused by: java.lang.ArrayIndexOutOfBoundsException: length=1; index=3\r\n                          at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.setTrackGroupEnabledState(HlsSampleStreamWrapper.java:611)\r\n                          at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.selectTracks(HlsSampleStreamWrapper.java:183)\r\n                          at com.google.android.exoplayer2.source.hls.HlsMediaPeriod.selectTracks(HlsMediaPeriod.java:167)\r\n                          at com.google.android.exoplayer2.ExoPlayerImplInternal$MediaPeriodHolder.updatePeriodTrackSelection(ExoPlayerImplInternal.java:1263)\r\n                          at com.google.android.exoplayer2.ExoPlayerImplInternal.reselectTracksInternal(ExoPlayerImplInternal.java:704)\r\n                          at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:293)\r\n                          at android.os.Handler.dispatchMessage(Handler.java:98) \r\n                          at android.os.Looper.loop(Looper.java:148) \r\n                          at android.os.HandlerThread.run(HandlerThread.java:61) \r\n                          at com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40) \r\n```"}}
{"actor":{"display_login":"ojw28"}}