8000 RadioBrowserApi BugFix by mastermichi · Pull Request #371 · firebirdberlin/nightdream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RadioBrowserApi BugFix #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mastermichi
Copy link
Contributor

Bugfix for:

Exception 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.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt (Random.java:388)
at com.firebirdberlin.radiostreamapi.RadioBrowserApi.getRandomServer (RadioBrowserApi.java)
at com.firebirdberlin.radiostreamapi.RadioBrowserApi.getPathBuilder (RadioBrowserApi.java)
at com.firebirdberlin.radiostreamapi.RadioBrowserApi.getCountriesPath (RadioBrowserApi.java)
at com.firebirdberlin.radiostreamapi.RadioBrowserApi.fetchCountries (RadioBrowserApi.java)
at com.firebirdberlin.radiostreamapi.CountryRequestTask.doInBackground (CountryRequestTask.java)
at android.os.AsyncTask$3.call (AsyncTask.java:394)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)

@mastermichi mastermichi force-pushed the RadioBrowserAPI_Bugfix branch from 9376dd4 to d763052 Compare March 16, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0