Skip to content
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

Audio download fails in test environment #83

Open
nya-elimu opened this issue Sep 2, 2021 · 0 comments
Open

Audio download fails in test environment #83

nya-elimu opened this issue Sep 2, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nya-elimu
Copy link
Member

Describe the bug
When downloading audios, the app fails:

2021-09-02 10:48:38.701 14416-14849/ai.elimu.content_provider.debug I/ai.elimu.content_provider.util.MultimediaDownloader: Downloading from http://hin.test.elimu.ai/audio/44_r1.mp3
2021-09-02 10:48:38.804 14416-14849/ai.elimu.content_provider.debug I/ai.elimu.content_provider.util.MultimediaDownloader: responseCode: 200
2021-09-02 10:48:38.829 14416-14849/ai.elimu.content_provider.debug E/AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1
    Process: ai.elimu.content_provider.debug, PID: 14416
    java.lang.NoSuchMethodError: No static method withInitial(Ljava/util/function/Supplier;)Ljava/lang/ThreadLocal; in class Ljava/lang/ThreadLocal; or its super classes (declaration of 'java.lang.ThreadLocal' appears in /system/framework/core-oj.jar)
        at org.apache.commons.io.IOUtils.<clinit>(IOUtils.java:183)
        at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:2400)
        at ai.elimu.content_provider.util.MultimediaDownloader.downloadFileBytes(MultimediaDownloader.java:35)

To Reproduce
Install the debug or qa_test build variant of the app, and select Hindi as the preferred language.

Steps to reproduce the behavior:

  1. Go to the menu drawer
  2. Click on "Audios"
  3. See error in the app's log output

Expected behavior
Audios should download. However, the app crashes.

Screenshots
device-2021-09-02-110300

Device information (please complete the following information):

  • Device type: Tablet
  • Device brand: Huawei
  • Android version: 7.0
@nya-elimu nya-elimu added bug Something isn't working good first issue Good for newcomers labels Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant