Project Information
- Repository: https://github.com/Valou3433/blade-player
- Project Name: Blade player
- Submitted Issue: here
Expected behavior
The users should be able to delete the playlist successfully without the crashing.
Actual behavior
The application crashes when I try to delete the newly created playlist.
How to reproduce
- Open the app and go to the "Songs" menu.
- Choose a song and click on ⋮ (Three dots/ Vertical ellipsis) at the side of the song.
- Then click on "Add to playlist".
- After that click on the"New Playlist" to create a new playlist.
- Give a name and click ok. (Your playlist will successfully be created)
- Then delete your newly created playlist.
- See error.
- App version: v1.4.0.1
- Device: Samsung A5
- Operating system: Android 6.0.1
Recording Of The Bug
GitHub Account
Logcat
D AndroidRuntime: Shutting down VM
04-03 14:53:04.258 30746 30746 E AndroidRuntime: FATAL EXCEPTION: main
04-03 14:53:04.258 30746 30746 E AndroidRuntime: Process: v.blade, PID: 30746
04-03 14:53:04.258 30746 30746 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at v.blade.library.sources.Source$1.removePlaylist(Source.java:462)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at v.blade.ui.MainActivity$4$1$2.onClick(MainActivity.java:316)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7325)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
04-03 14:53:04.258 30746 30746 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Hi @sagorahmed, thanks for making this report.
I was able to reproduce the behavior just like you described. Deleting a newly created playlist results in a crash. I see the PO has also acknowledged the crash.
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
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
Hello @fego, thanks for reviewing my contribution.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @sagorahmed!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @sagorahmed!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit