[Blade Player][v1.4.0.1] The app crashes during the playlist creation process using Spotify
Project Information
- Repository: https://github.com/Valou3433/blade-player
- Project Name: Blade Player
- The submitted issue is here
Expected behavior
The users should be able to create a new playlist by selecting Spotify without the app crashing.
Actual behavior
The app crashes when I use Spotify to create a new playlist.
How to reproduce
- Open the app and choose a song.
- Click on ⋮ (Three dots/ Vertical ellipsis) at the right side of the song.
- Then click "Add to playlist".
- After that click on "New Playlist"
- Then tap on the "Local" to locate your playlist's path and select Spotify.
- Give a name and click ok.
- See error.
- App version: v1.4.0.1
- Operating system: Android 6.0.1
Recording Of The Bug
GitHub Account
Logcat
04-04 23:03:51.211 20197 20263 E AndroidRuntime: FATAL EXCEPTION: Thread-3387
04-04 23:03:51.211 20197 20263 E AndroidRuntime: Process: v.blade, PID: 20197
04-04 23:03:51.211 20197 20263 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String kaaes.spotify.webapi.android.models.UserPublic.id' on a null object reference
04-04 23:03:51.211 20197 20263 E AndroidRuntime: at v.blade.library.sources.Spotify$6.run(Spotify.java:874)
Thanks for your contribution.
Using the steps provided this issue was extremely easy to replicate, nice work. Great to see this reported and that it has been acknowledged by a project owner, and I can see that a commit has been added that will resolve the issue by the project owner.
Once again, thanks for your contribution. Keep up the good work.
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]
Thank you for your review, @tobias-g! Keep up the good work!
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
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!