{"action":"created","issue":{"url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/170","labels_url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/170/comments","events_url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/170/events","html_url":"https://github.com/PaulWoitaschek/MaterialAudiobookPlayer/issues/170","id":70926686,"number":170,"title":"Crash on 2.1.3","user":{"login":"dalb8","id":726844,"avatar_url":"https://avatars.githubusercontent.com/u/726844?v=3","gravatar_id":"","url":"https://api.github.com/users/dalb8","html_url":"https://github.com/dalb8","followers_url":"https://api.github.com/users/dalb8/followers","following_url":"https://api.github.com/users/dalb8/following{/other_user}","gists_url":"https://api.github.com/users/dalb8/gists{/gist_id}","starred_url":"https://api.github.com/users/dalb8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalb8/subscriptions","organizations_url":"https://api.github.com/users/dalb8/orgs","repos_url":"https://api.github.com/users/dalb8/repos","events_url":"https://api.github.com/users/dalb8/events{/privacy}","received_events_url":"https://api.github.com/users/dalb8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-25T15:31:31Z","updated_at":"2016-01-28T18:47:10Z","closed_at":"2015-04-27T17:23:35Z","body":"After updating from 2.0.3 I get a crash on startup. OS is OmniROM 4.4.4 on a500.\r\n\r\n```\r\nI/ActivityManager(  395): Displayed de.ph1b.audiobook/.activity.BookActivity: +4s930ms\r\nE/ACRA    (22461): ACRA is disabled for de.ph1b.audiobook - forwarding uncaught Exception on to default ExceptionHandler\r\nE/AndroidRuntime(22461): FATAL EXCEPTION: main\r\nE/AndroidRuntime(22461): Process: de.ph1b.audiobook, PID: 22461\r\nE/AndroidRuntime(22461): java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{64a18148 position=3 id=3, oldPos=2, pLpos:2 scrap tmpDetached no parent}\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:3887)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4018)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3999)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1892)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:419)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1301)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:534)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:156)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2365)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView.resumeRequestLayout(RecyclerView.java:1391)\r\nE/AndroidRuntime(22461): \tat android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:265)\r\nE/AndroidRuntime(22461): \tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)\r\nE/AndroidRuntime(22461): \tat android.view.Choreographer.doCallbacks(Choreographer.java:574)\r\nE/AndroidRuntime(22461): \tat android.view.Choreographer.doFrame(Choreographer.java:543)\r\nE/AndroidRuntime(22461): \tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)\r\nE/AndroidRuntime(22461): \tat android.os.Handler.handleCallback(Handler.java:733)\r\nE/AndroidRuntime(22461): \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\nE/AndroidRuntime(22461): \tat android.os.Looper.loop(Looper.java:136)\r\nE/AndroidRuntime(22461): \tat android.app.ActivityThread.main(ActivityThread.java:5001)\r\nE/AndroidRuntime(22461): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime(22461): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\nE/AndroidRuntime(22461): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\nW/ActivityManager(  395):   Force finishing activity de.ph1b.audiobook/.activity.BookActivity\r\nW/ActivityManager(  395): Activity pause timeout for ActivityRecord{64918330 u0 de.ph1b.audiobook/.activity.BookActivity t31 f}\r\nI/ActivityManager(  395): Killing 19467:com.android.deskclock/u0a29 (adj 15): empty #17\r\nW/ActivityManager(  395): Activity destroy timeout for ActivityRecord{64918330 u0 de.ph1b.audiobook/.activity.BookActivity t31 f}\r\nI/Process (22461): Sending signal. PID: 22461 SIG: 9\r\nI/WindowState(  395): WIN DEATH: Window{64b90d78 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.BookActivity}\r\nI/ActivityManager(  395): Process de.ph1b.audiobook (pid 22461) has died.\r\nI/art     (19304): Heap trim of managed (duration=273us, advised=72KB) and native (duration=1.606ms, advised=4KB) heaps. Managed heap utilization of 42%.\r\n```"},"comment":{"url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/comments/176333742","html_url":"https://github.com/PaulWoitaschek/MaterialAudiobookPlayer/issues/170#issuecomment-176333742","issue_url":"https://api.github.com/repos/PaulWoitaschek/MaterialAudiobookPlayer/issues/170","id":176333742,"user":{"login":"floriangosse","id":3819038,"avatar_url":"https://avatars.githubusercontent.com/u/3819038?v=3","gravatar_id":"","url":"https://api.github.com/users/floriangosse","html_url":"https://github.com/floriangosse","followers_url":"https://api.github.com/users/floriangosse/followers","following_url":"https://api.github.com/users/floriangosse/following{/other_user}","gists_url":"https://api.github.com/users/floriangosse/gists{/gist_id}","starred_url":"https://api.github.com/users/floriangosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floriangosse/subscriptions","organizations_url":"https://api.github.com/users/floriangosse/orgs","repos_url":"https://api.github.com/users/floriangosse/repos","events_url":"https://api.github.com/users/floriangosse/events{/privacy}","received_events_url":"https://api.github.com/users/floriangosse/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T18:47:10Z","updated_at":"2016-01-28T18:47:10Z","body":"If I revoke the storage permissons and start the player again than I get the dialog which inform about the storage access and after this the permisson prompt. If I accept the permission request the app works. But if I stop the and try to restart the app it crashs again."}}