Rey-MusicPlayer (Boom player) is crashing by press back button
Project Information
- Repository: https://github.com/reyanshmishra/Rey-MusicPlayer
- Project Name: Rey-MusicPlayer (Boom)
- The submitted issue is here
Expected behavior
I expected that this app works smoothly when I want to back on the main page.
Actual behavior
The app has crashed when I trying to back to the main page from some specific page.
How to reproduce
- Install the app from here
- Open the app and play a song.
- Tap on three dots button.
- Then tap on
Go to
And after thenGo to this artist
. Your song's artist folder would come up. - Then press back button two or three times and notice the crash.
- App version: 3.4.31
- Operating system: Android 6.0.1
- Device: Samsung Galaxy A5 (2016)
Recording Of The Bug
GitHub Account
Logcat
05-31 18:28:39.401 1292 1292 E AndroidRuntime: FATAL EXCEPTION: main
05-31 18:28:39.401 1292 1292 E AndroidRuntime: Process: com.reyansh.audio.audioplayer.free, PID: 1292
05-31 18:28:39.401 1292 1292 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:310)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at com.reyansh.audio.audioplayer.free.NowPlaying.NowPlayingActivity.onBackPressed(Unknown Source)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.app.Activity.onKeyUp(Activity.java:2727)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.KeyEvent.dispatch(KeyEvent.java:3290)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.app.Activity.dispatchKeyEvent(Activity.java:2997)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(Unknown Source)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.support.v7.view.i.dispatchKeyEvent(Unknown Source)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(Unknown Source)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.support.v7.view.i.dispatchKeyEvent(Unknown Source)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at com.android.internal.policy.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2732)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:5326)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5279)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4725)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4778)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4744)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4885)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4752)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4942)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4725)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4778)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4744)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4752)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4725)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4778)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4744)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4918)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:5163)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2907)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:2479)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:2470)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2884)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:323)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7325)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-31 18:28:39.401 1292 1292 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Thank you for contributing to Utopian!
I was able to reproduce the bug on my devices.
The report was short, concise, included a crash report (even though it didn't crash on my end, only restarted, but it's a valid bug none the less).
Please refrain from attaching unrelated images to the report again, like the "bug hunting" illustration at the top of your post.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Hey @sagorahmed
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!