Description
I played a song under music, clicked the three dots
and clicked on show album
. After the album showed up, I clicked on the three dots to check more info and returned to the album by clicking the back arrow. When I then clicked on the song to make it start all over again, the app crashed.
Steps to reproduce the behavior
- Launch the app
- play any song
- Click on the three dots directly opposite the song played
- Click on
Show album
- Click on the three dots directly opposite the same song in the album
- Click
more info
- Click the back arrow
- Tap the song you are playing and note the crash
Expected behaviour
After checking the song info and clicking on the song, I expected the song to start over again with the app still open, but it crashed instead,
Reproducing the behaviour
Device used
- Device: [Tecno spark k7]
- OS: [Android 7.0]
- App version [v.2.6.2]
App repo: https://github.com/AugustToko/ACG-Player/issues/22
The bug was found in v.2.6.2, but it has been fixed in the latest version. Issue closed here
Logcat
05-25 16:42:16.616 23206 23206 E AndroidRuntime: Process: com.teocci.ytinbg, PID: 23206
05-25 16:42:16.616 23206 23206 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.teocci.ytinbg.adapters.VideosAdapter.clearYouTubeVideos()' on a null object reference
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.teocci.ytinbg.ui.fragments.SearchFragment.searchQuery(SearchFragment.java:190)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.teocci.ytinbg.ui.MainActivity.handleIntent(MainActivity.java:488)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.teocci.ytinbg.ui.MainActivity.access$300(MainActivity.java:69)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.teocci.ytinbg.ui.MainActivity$3.onSuggestionClick(MainActivity.java:360)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.support.v7.widget.SearchView.onItemClicked(SearchView.java:1387)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.support.v7.widget.SearchView$8.onItemClick(SearchView.java:1413)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AutoCompleteTextView.performCompletion(AutoCompleteTextView.java:1029)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AutoCompleteTextView.-wrap1(AutoCompleteTextView.java)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AutoCompleteTextView$DropDownItemClickListener.onItemClick(AutoCompleteTextView.java:1326)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:315)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1204)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3321)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.widget.AbsListView$4.run(AbsListView.java:4382)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:836)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:103)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6251)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-25 16:42:16.616 23206 23206 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)```
Hi @ckole, thanks for making this report.
Unfortunately, this cannot be reviewed. It is a duplicate of this issue - https://github.com/AugustToko/ACG-Player/issues/14
I look forward to more of your reports
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? Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the moderation @fego. Oh, I can see it's really similar. Nice find. I want to let you know that I don't argue bluntly. Each time I complain about my post, it's either the moderator really make a mistake or the post itself is controversial, which can bring about confusion. We are not all perfect, but I can say that the experience gathered as a contributor over the years spent on utopian has made me familiar with many things. I'm sorry about the word I used to express my feelings the other time. I meant no disrespect or whatsoever. Still my normal self. I gat no problem with you. I only had an issue with your comment, and that has been cleared. Thanks for the moderation. One love.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit