[Blade Player][v1.4.0.1] The app crashes during the playlist creation process using Spotify

in utopian-io •  11 days ago

Project Information

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

  1. Open the app and choose a song.
  2. Click on ⋮ (Three dots/ Vertical ellipsis) at the right side of the song.
  3. Then click "Add to playlist".
  4. After that click on "New Playlist"
  5. Then tap on the "Local" to locate your playlist's path and select Spotify.
  6. Give a name and click ok.
  7. See error.
  • App version: v1.4.0.1
  • Operating system: Android 6.0.1

Recording Of The Bug

spotify

GitHub Account

https://github.com/sagorahmed

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)
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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!