Closed cimtico closed 5 months ago
You don't point the storage to the songs directory (OpenSong/Songs), but the main OpenSong/ directory. Are you installing this from the Google play store? If so what device and version of android are you using? I can have a look at the play store crash logs for any matching crashes.
On Fri, 16 Feb 2024, 23:34 cimtico, @.***> wrote:
Unfortunately, after v6. The app seems to just crash as soon as I open it. If I uninstall and point it to the directory with the songs, it seems to work, until I load a set and reach the last song. And then it goes into a crash every time I re-open the song.
— Reply to this email directly, view it on GitHub https://github.com/thebigg73/OpenSongTablet/issues/255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3X52UQC5E3OTRDTSDYBJTYT7UGTAVCNFSM6AAAAABDMZMZQOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTSNRTGM3TMMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes, you are correct, I mentioned the songs directory, but I point it to the opensong directory. I'm on a Samsung Galaxy Tab A 2017, Running Android 9, Kernel 3.18.120 with One UI 1.1
Was this helpful by any chance? Let me know if I can provide anything else. I had to revert to the previous version for now.
Unfortunately not! I have only one crash listed for this device (there are 8 other crashes with the same cause for different devices though). The crash log usually points to a line of my code and identifies the issue, however, this log only points to a crash in one of Android's widgets (RecyclerView) which is used in my song menu, set menu, stage mode and anywhere else there is a list of items.
Is this crash repeatable everytime for you with the same actions and the same results? Could you perhaps email me a backup of all of your songs and a backup of your sets and let me know which set/song causes the issue?
Crash log below:
Exception java.lang.IndexOutOfBoundsException:
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline (RecyclerView.java:6821)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6757)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition (RecyclerView.java:6753)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next (LinearLayoutManager.java:2362)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1662)
at androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1622)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:687)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4645)
at androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4348)
at androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4919)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:374)
at android.widget.FrameLayout.onLayout (FrameLayout.java:312)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutHorizontal (LinearLayout.java:1818)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1584)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.RelativeLayout.onLayout (RelativeLayout.java:1103)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at androidx.coordinatorlayout.widget.CoordinatorLayout.layoutChild (CoordinatorLayout.java:1213)
at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayoutChild (CoordinatorLayout.java:899)
at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout (CoordinatorLayout.java:919)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:374)
at android.widget.FrameLayout.onLayout (FrameLayout.java:312)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at androidx.recyclerview.widget.RecyclerView$LayoutManager.layoutDecoratedWithMargins (RecyclerView.java:10407)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk (LinearLayoutManager.java:1720)
at androidx.recyclerview.widget.LinearLayoutManager.fill (LinearLayoutManager.java:1622)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren (LinearLayoutManager.java:687)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2 (RecyclerView.java:4645)
at androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4348)
at androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4919)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at androidx.viewpager2.widget.ViewPager2.onLayout (ViewPager2.java:535)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at androidx.drawerlayout.widget.DrawerLayout.onLayout (DrawerLayout.java:1287)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:374)
at android.widget.FrameLayout.onLayout (FrameLayout.java:312)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:374)
at android.widget.FrameLayout.onLayout (FrameLayout.java:312)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.LinearLayout.setChildFrame (LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical (LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout (LinearLayout.java:1582)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.widget.FrameLayout.layoutChildren (FrameLayout.java:374)
at android.widget.FrameLayout.onLayout (FrameLayout.java:312)
at com.android.internal.policy.DecorView.onLayout (DecorView.java:1331)
at android.view.View.layout (View.java:24461)
at android.view.ViewGroup.layout (ViewGroup.java:7412)
at android.view.ViewRootImpl.performLayout (ViewRootImpl.java:4609)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:4031)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2919)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:10491)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1108)
at android.view.Choreographer.doCallbacks (Choreographer.java:866)
at android.view.Choreographer.doFrame (Choreographer.java:797)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1092)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8669)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Unfortunately, after v6. The app seems to just crash as soon as I open it. If I uninstall and point it to the directory with the songs, it seems to work, until I load a set and reach the last song. And then it goes into a crash every time I re-open the song.