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

QueryWithFilters crashes the app in Android 11 on latest release. #23

Closed
shaan-mephobic opened this issue Aug 24, 2021 · 0 comments
Closed
Labels
P: Android Only android platform PRI: High Needs to be resolved sooner than other issues (Critical to plugin function) T: Bug Something isn't working

Comments

@shaan-mephobic
Copy link

Works fine on on_audio_query: 1.x.x but crashes app on on_audio_query: 2.x.x.
Here's the log,

E/AndroidRuntime(19991): FATAL EXCEPTION: main
E/AndroidRuntime(19991): Process: com.Phoenix.project, PID: 19991
E/AndroidRuntime(19991): java.lang.NumberFormatException: For input string: "kotlin.Unit"
E/AndroidRuntime(19991):        at java.lang.Long.parseLong(Long.java:594)
E/AndroidRuntime(19991):        at java.lang.Long.parseLong(Long.java:636)
E/AndroidRuntime(19991):        at com.lucasjosino.on_audio_query.query.helper.OnAudioHelper.loadSongExtraInfo(OnAudioHelper.kt:24)
E/AndroidRuntime(19991):        at com.lucasjosino.on_audio_query.query.OnWithFiltersQuery$loadWithFilters$2.invokeSuspend(OnWithFiltersQuery.kt:107)
E/AndroidRuntime(19991):        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
E/AndroidRuntime(19991):        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
E/AndroidRuntime(19991):        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
E/AndroidRuntime(19991):        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
E/AndroidRuntime(19991):        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
E/AndroidRuntime(19991):        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
@LucJosin LucJosin added P: Android Only android platform PRI: High Needs to be resolved sooner than other issues (Critical to plugin function) T: Bug Something isn't working S: Fixing This issue will be fixed soon labels Aug 24, 2021
LucJosin pushed a commit that referenced this issue Aug 24, 2021
@LucJosin LucJosin added S: Fixed and removed S: Fixing This issue will be fixed soon labels Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Android Only android platform PRI: High Needs to be resolved sooner than other issues (Critical to plugin function) T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants