{"action":"created","issue":{"url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/2","labels_url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/2/comments","events_url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/2/events","html_url":"https://github.com/AntennaPod/AntennaPod-AudioPlayer/issues/2","id":125122052,"number":2,"title":"NPE: getCurrentPosition","user":{"login":"PaulWoitaschek","id":743462,"avatar_url":"https://avatars.githubusercontent.com/u/743462?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulWoitaschek","html_url":"https://github.com/PaulWoitaschek","followers_url":"https://api.github.com/users/PaulWoitaschek/followers","following_url":"https://api.github.com/users/PaulWoitaschek/following{/other_user}","gists_url":"https://api.github.com/users/PaulWoitaschek/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulWoitaschek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulWoitaschek/subscriptions","organizations_url":"https://api.github.com/users/PaulWoitaschek/orgs","repos_url":"https://api.github.com/users/PaulWoitaschek/repos","events_url":"https://api.github.com/users/PaulWoitaschek/events{/privacy}","received_events_url":"https://api.github.com/users/PaulWoitaschek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T06:39:00Z","updated_at":"2016-01-06T08:43:10Z","closed_at":null,"body":"> Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long android.media.MediaExtractor.getSampleTime()' on a null object reference\r\nat org.antennapod.audio.SonicAudioPlayer.getCurrentPosition(SonicAudioPlayer.java:125)\r\nat org.antennapod.audio.MediaPlayer.getCurrentPosition(MediaPlayer.java:690)"},"comment":{"url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/comments/169267923","html_url":"https://github.com/AntennaPod/AntennaPod-AudioPlayer/issues/2#issuecomment-169267923","issue_url":"https://api.github.com/repos/AntennaPod/AntennaPod-AudioPlayer/issues/2","id":169267923,"user":{"login":"mfietz","id":6860662,"avatar_url":"https://avatars.githubusercontent.com/u/6860662?v=3","gravatar_id":"","url":"https://api.github.com/users/mfietz","html_url":"https://github.com/mfietz","followers_url":"https://api.github.com/users/mfietz/followers","following_url":"https://api.github.com/users/mfietz/following{/other_user}","gists_url":"https://api.github.com/users/mfietz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfietz/subscriptions","organizations_url":"https://api.github.com/users/mfietz/orgs","repos_url":"https://api.github.com/users/mfietz/repos","events_url":"https://api.github.com/users/mfietz/events{/privacy}","received_events_url":"https://api.github.com/users/mfietz/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T08:43:10Z","updated_at":"2016-01-06T08:43:10Z","body":"> According to the documentation the only invalid state for getCurrentPosition is ERROR.\r\n\r\nDon't understand. Are you reading that from the \"Valid and invalid states\" table, \"Invalid states\" column? ;)\r\n\r\nThis is not a state problem, btw. The MediaExtractor ``getCurrentPosition()`` is called on is null."}}