Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

IllegalStateException when trying to open Folders view #544

@lostmsu

Description

@lostmsu

Shuttle version:

v2.0.17

Device, OS:

Galaxy Fold3
Android 12
OneUI 4.1.1

Description of bug:

Simply clicking "Folders" on the left sidebar crashes the app.

Steps to reproduce:

This reproduces every time. My only actions that might be special here is that upon the fresh installation I went to settings and

  1. Turned on "Remember shuffling mode"
  2. Went to Excluded, and clicked "Clear" + confirmed

After doing this I tried to click "Folders" in order to set which folders I need music from.

Observations/Actual Result:

App crashes shortly after clicking on Folders. This is what I see in Logcat:

java.lang.RuntimeException: An error occurred while executing doInBackground()
	at android.os.AsyncTask$4.done(AsyncTask.java:415)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:920)
Caused by: java.lang.IllegalStateException
	at android.media.MediaPlayer._prepare(Native Method)
	at android.media.MediaPlayer.prepare(MediaPlayer.java:1434)
	at android.media.MediaPlayer.create(MediaPlayer.java:979)
	at android.media.MediaPlayer.create(MediaPlayer.java:952)
	at android.media.MediaPlayer.create(MediaPlayer.java:931)
	at com.simplecity.amp_library.utils.i5.e(SourceFile:3)
	at com.simplecity.amp_library.m.c1.c(SourceFile:2)
	at com.simplecity.amp_library.ui.modelviews.FolderView$b.a(SourceFile:1)
	at com.simplecity.amp_library.ui.modelviews.FolderView$b.doInBackground(SourceFile:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions