#### Project Information * Repository: https://github.com/Valou3433/blade-player * Project Name: Blade Player * The submitted issue is [here](https://github.com/Valou3433/blade-player/issues/34) #### Expected behavior I expected that after linking a song to another, the song will stop playing. But this is not weirder than crashing the app by clicking on the next/previous button. #### Actual behavior The app crashes after I linked a song to another from the Artist folder and clicked on the previous/next track changer button of that song. #### How to reproduce **1.** Open the app and go to "Artists" folder. **2.** Choose an artist and play a song from it. **3.** Click on โฎ (Three dots/ Vertical ellipsis) at the right side of the song. **4.** Then click "Link to" **5.** Select a song from your local library. (The song will be successfully added to your chosen song & The song will still be playing in your player). **6.** Open the current playing song page by tapping on its name. (At the downside of your display). **7.** At last Click on the next button and notice the bug. * App version: v1.4.0.1 * Operating system: Android 6.0.1 #### Recording Of The Bug ![bladebug](https://media.giphy.com/media/Y0yXzKuAYalCbXSYdm/giphy.gif) #### GitHub Account https://github.com/sagorahmed #### Logcat ``` 04-05 00:16:02.421 26140 26140 E AndroidRuntime: FATAL EXCEPTION: main 04-05 00:16:02.421 26140 26140 E AndroidRuntime: Process: v.blade, PID: 26140 04-05 00:16:02.421 26140 26140 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'v.blade.library.sources.Source v.blade.library.SongSources$SongSource.getSource()' on a null object reference 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at v.blade.player.PlayerMediaPlayer.playSong(PlayerMediaPlayer.java:252) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at v.blade.player.PlayerService$2.onSkipToNext(PlayerService.java:157) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.support.v4.media.session.MediaSessionCompat$Callback$StubApi21.onSkipToNext(MediaSessionCompat.java:1284) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.support.v4.media.session.MediaSessionCompatApi21$CallbackProxy.onSkipToNext(MediaSessionCompatApi21.java:219) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.media.session.MediaSession$CallbackMessageHandler.handleMessage(MediaSession.java:1228) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7325) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 04-05 00:16:02.421 26140 26140 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) ```
post_id | 73,087,090 | ||||||
---|---|---|---|---|---|---|---|
author | sagorahmed | ||||||
permlink | blade-player-v1-4-0-1-the-app-crashes-when-i-tried-to-change-the-song-after-linking-it-with-another-1555241602535 | ||||||
category | utopian-io | ||||||
json_metadata | {"app":"steeditor\/0.1.2","format":"markdown","image":["https:\/\/media.giphy.com\/media\/Y0yXzKuAYalCbXSYdm\/giphy.gif"],"tags":["utopian-io","bug-hunting"],"users":[],"links":["https:\/\/github.com\/Valou3433\/blade-player","https:\/\/github.com\/Valou3433\/blade-player\/issues\/34","https:\/\/github.com\/sagorahmed"]} | ||||||
created | 2019-04-14 11:33:24 | ||||||
last_update | 2019-04-14 11:33:24 | ||||||
depth | 0 | ||||||
children | 4 | ||||||
net_rshares | 20,501,884,790,299 | ||||||
last_payout | 2019-04-21 11:33:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 9.236 SBD | ||||||
curator_payout_value | 2.996 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 2,979 | ||||||
author_reputation | 18,150,512,355,968 | ||||||
root_title | "[Blade player][v1.4.0.1] The app crashes when I tried to change the song after linking it with another" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 100,000.000 SBD | ||||||
percent_steem_dollars | 10,000 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 2,011,327,509,957 | 8.3% | ||
daan | 0 | 14,743,231,482 | 5% | ||
rufans | 0 | 18,979,975,890 | 100% | ||
abh12345 | 0 | 5,347,700,739 | 1.03% | ||
techslut | 0 | 44,656,340,038 | 10% | ||
minersean | 0 | 7,966,068,353 | 75% | ||
erikaflynn | 0 | 13,273,634,285 | 35% | ||
jakipatryk | 0 | 15,020,991,850 | 50% | ||
jga | 0 | 1,369,349,432 | 10.38% | ||
helo | 0 | 42,484,957,955 | 18.79% | ||
lorenzor | 0 | 514,874,774 | 5.19% | ||
suesa | 0 | 119,537,013,601 | 25% | ||
codingdefined | 0 | 20,521,787,219 | 18.79% | ||
tsoldovieri | 0 | 725,252,994 | 5.19% | ||
tykee | 0 | 4,863,765,168 | 10.38% | ||
iamphysical | 0 | 15,080,486,964 | 90% | ||
masudrana | 0 | 469,717,115 | 100% | ||
felixrodriguez | 0 | 277,831,669 | 3.63% | ||
leir | 0 | 2,155,499,863 | 50% | ||
azulear | 0 | 451,120,213 | 100% | ||
silviu93 | 0 | 2,775,708,107 | 10.38% | ||
dakeshi | 0 | 431,862,188 | 10.38% | ||
crokkon | 0 | 75,728,886,338 | 50% | ||
eastmael | 0 | 3,861,885,736 | 20.76% | ||
espoem | 0 | 75,025,708,976 | 41.5% | ||
mcfarhat | 0 | 12,891,024,066 | 7.51% | ||
elear | 0 | 5,309,430,027 | 20.76% | ||
zoneboy | 0 | 22,582,709,423 | 100% | ||
carloserp-2000 | 0 | 31,465,373,834 | 100% | ||
carlos84 | 0 | 304,519,653 | 10.38% | ||
che-shyr | 0 | 1,061,306,192 | 50% | ||
utopian-io | 0 | 17,021,079,067,117 | 20.76% | ||
imisstheoldkanye | 0 | 1,571,616,955 | 1% | ||
jaff8 | 0 | 31,497,103,395 | 18.79% | ||
cheneats | 0 | 1,830,516,476 | 30% | ||
amestyj | 0 | 349,377,262 | 10.38% | ||
mcyusuf | 0 | 1,180,923,278 | 10.38% | ||
alexs1320 | 0 | 22,598,805,036 | 15% | ||
gentleshaid | 0 | 18,044,717,868 | 20.76% | ||
steemitag | 0 | 3,387,358,286 | 10% | ||
cpufronz | 0 | 1,300,301,442 | 50% | ||
ivymalifred | 0 | 139,875,176 | 5.19% | ||
aussieninja | 0 | 3,224,103,983 | 10.38% | ||
amosbastian | 0 | 48,139,587,372 | 18.79% | ||
eliaschess333 | 0 | 897,517,043 | 5.19% | ||
harry-heightz | 0 | 8,918,815,425 | 20.76% | ||
scienceangel | 0 | 51,011,969,156 | 50% | ||
jjay | 0 | 501,012,843 | 100% | ||
vanarchist | 0 | 2,666,807,774 | 100% | ||
sargoon | 0 | 816,468,393 | 10.38% | ||
darewealth | 0 | 4,086,781,026 | 20.76% | ||
tobias-g | 0 | 148,973,766,523 | 42% | ||
dongentle2 | 0 | 2,507,712,528 | 10.38% | ||
didic | 0 | 28,840,770,792 | 25% | ||
emiliomoron | 0 | 375,518,712 | 5.19% | ||
ulisesfl17 | 0 | 886,910,916 | 30% | ||
arac | 0 | 129,062,834 | 10% | ||
fego | 0 | 17,058,989,433 | 18.79% | ||
tomastonyperez | 0 | 1,077,919,070 | 5.19% | ||
elvigia | 0 | 936,813,430 | 5.19% | ||
jubreal | 0 | 3,019,934,582 | 20.76% | ||
adamada | 0 | 8,308,652,034 | 25% | ||
yu-stem | 0 | 10,801,645,050 | 25% | ||
luiscd8a | 0 | 1,309,550,331 | 80% | ||
eniolw | 0 | 7,422,013,910 | 100% | ||
josedelacruz | 0 | 477,227,416 | 5.19% | ||
joseangelvs | 0 | 143,110,320 | 10.38% | ||
viannis | 0 | 106,841,240 | 5.19% | ||
rollthedice | 0 | 2,246,824,798 | 20.76% | ||
flores39 | 0 | 376,774,113 | 100% | ||
erickyoussif | 0 | 184,411,360 | 10.38% | ||
ryuna.siege | 0 | 208,814,715 | 100% | ||
bogdasha | 0 | 2,263,873,372 | 8% | ||
yougotresteemed | 0 | 113,849,140 | 30% | ||
anaestrada12 | 0 | 1,874,944,759 | 10.38% | ||
jesusfl17 | 0 | 384,787,275 | 100% | ||
bflanagin | 0 | 1,854,349,050 | 10.38% | ||
ubaldonet | 0 | 4,100,375,651 | 65% | ||
dalz | 0 | 2,812,497,966 | 8.3% | ||
ulockblock | 0 | 26,845,535,023 | 8.35% | ||
amart29 | 0 | 131,132,675 | 1.55% | ||
jk6276 | 0 | 1,768,439,655 | 10.38% | ||
emma2it | 0 | 527,977,343 | 100% | ||
keyvendemac | 0 | 532,730,163 | 100% | ||
tidesdave | 0 | 546,054,378 | 100% | ||
stefvougacho | 0 | 534,510,257 | 100% | ||
uatinnehar | 0 | 551,907,414 | 100% | ||
nicole5lw | 0 | 551,794,679 | 100% | ||
dssdsds | 0 | 1,145,356,146 | 10.38% | ||
musiclove | 0 | 84,990,292 | 30% | ||
jayplayco | 0 | 39,843,619,735 | 10.38% | ||
cryptouno | 0 | 432,298,269 | 5% | ||
lupafilotaxia | 0 | 17,063,282,065 | 100% | ||
fran.frey | 0 | 127,885,113 | 5.19% | ||
alaiza | 0 | 451,314,491 | 100% | ||
mops2e | 0 | 482,312,939 | 33.2% | ||
emilykw | 0 | 539,848,301 | 100% | ||
kylieg0 | 0 | 551,420,640 | 100% | ||
stem-espanol | 0 | 5,957,635,207 | 10.38% | ||
lapp | 0 | 450,211,449 | 100% | ||
steemtpistia | 0 | 449,510,505 | 100% | ||
crassipes | 0 | 449,921,869 | 100% | ||
cribhatocons | 0 | 529,533,117 | 100% | ||
nafplamaro | 0 | 550,858,062 | 100% | ||
ciedustsouthti | 0 | 553,347,914 | 100% | ||
lingcullila | 0 | 539,409,609 | 100% | ||
trandisptivi | 0 | 549,856,809 | 100% | ||
minminlou | 0 | 73,966,998 | 1% | ||
agrovision | 0 | 450,242,547 | 100% | ||
steem-ua | 0 | 280,111,299,794 | 2.95% | ||
kaczynski | 0 | 131,010,499 | 100% | ||
alex-hm | 0 | 1,345,798,767 | 50% | ||
meulybnqcv | 0 | 539,443,222 | 100% | ||
diniglairqjh | 0 | 552,207,611 | 100% | ||
bluesniper | 0 | 9,430,522,917 | 3% | ||
primeradue | 0 | 10,108,786,740 | 15% | ||
mrsbozz | 0 | 639,144,174 | 25% | ||
ascorphat | 0 | 1,840,284,914 | 2.5% | ||
rewarding | 0 | 4,456,195,366 | 60.38% | ||
jk6276.mons | 0 | 247,856,458 | 20.76% | ||
jaxson2011 | 0 | 765,379,563 | 20.76% | ||
taloom | 0 | 516,281,116 | 100% | ||
ilyin | 0 | 516,331,087 | 100% | ||
tonde8 | 0 | 515,896,818 | 100% | ||
erara9 | 0 | 515,868,638 | 100% | ||
feapo | 0 | 515,781,441 | 100% | ||
muacpa | 0 | 515,765,537 | 100% | ||
dinese | 0 | 515,748,690 | 100% | ||
ectong | 0 | 515,757,843 | 100% | ||
sindist | 0 | 515,788,193 | 100% | ||
tusowea | 0 | 515,872,790 | 100% | ||
ikerse | 0 | 515,887,628 | 100% | ||
rongieti | 0 | 515,997,018 | 100% | ||
erede | 0 | 515,731,320 | 100% | ||
ayilior | 0 | 516,049,186 | 100% | ||
yomectal | 0 | 515,730,279 | 100% | ||
eresterar | 0 | 515,685,032 | 100% | ||
femou | 0 | 515,692,444 | 100% | ||
esores | 0 | 515,752,134 | 100% | ||
orsatome | 0 | 515,771,863 | 100% | ||
urisaton | 0 | 515,758,698 | 100% | ||
gitriof | 0 | 515,770,866 | 100% | ||
loowhusto | 0 | 515,988,888 | 100% | ||
sacetac | 0 | 515,678,331 | 100% | ||
utopian.trail | 0 | 8,168,362,045 | 20.76% | ||
zugs | 0 | 7,850,415,224 | 2% | ||
dicetime | 0 | 17,320,402,774 | 10.38% |
Thanks for your contribution @sagorahmed Once again, your steps were very clear and it was extremely easy to replicate, nice work. Overall I believe this issue will affect less users than the one previously mentioned, hence my view on severity, however this was great report and very easy to follow. I didn't mention before but it's great to see that you're both reporting and including log-cats, this is great. I can see from the comments that project owner has acknowledged and chosen a path forward surrounding this issue based on your report, good work. Once again, thanks for your contribution and look forward to seeing more from you soon. --- Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/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](https://review.utopian.io/result/5/3-1-1-2-2-3-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
post_id | 73,189,536 |
---|---|
author | tobias-g |
permlink | re-sagorahmed-blade-player-v1-4-0-1-the-app-crashes-when-i-tried-to-change-the-song-after-linking-it-with-another-1555241602535-20190416t072605077z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["sagorahmed"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/5\/3-1-1-2-2-3-","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"app":"steemit\/0.1"} |
created | 2019-04-16 07:26:06 |
last_update | 2019-04-16 07:26:06 |
depth | 1 |
children | 1 |
net_rshares | 10,760,550,029,191 |
last_payout | 2019-04-23 07:26:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.963 SBD |
curator_payout_value | 1.521 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,106 |
author_reputation | 78,222,795,638,600 |
root_title | "[Blade player][v1.4.0.1] The app crashes when I tried to change the song after linking it with another" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yuxi | 0 | 23,409,985,320 | 100% | ||
codingdefined | 0 | 40,146,211,267 | 31.96% | ||
buckydurddle | 0 | 13,957,188,915 | 31.96% | ||
espoem | 0 | 31,104,688,997 | 15% | ||
utopian-io | 0 | 10,353,551,660,409 | 11.28% | ||
jaff8 | 0 | 62,350,054,261 | 31.96% | ||
cheneats | 0 | 2,001,537,170 | 37.5% | ||
amosbastian | 0 | 95,983,470,590 | 31.96% | ||
organicgardener | 0 | 10,607,730,976 | 35% | ||
reazuliqbal | 0 | 15,222,103,178 | 8% | ||
mightypanda | 0 | 74,624,369,588 | 40% | ||
ulockblock | 0 | 30,747,742,556 | 9.19% | ||
fastandcurious | 0 | 283,168,929 | 100% | ||
curbot | 0 | 2,516,245,736 | 100% | ||
linknotfound | 0 | 221,716,553 | 100% | ||
ascorphat | 0 | 1,863,031,150 | 2.5% | ||
monster-inc | 0 | 1,959,123,596 | 100% |
Thank you for your review, @tobias-g! Keep up the good work!
post_id | 73,347,007 |
---|---|
author | utopian-io |
permlink | re-re-sagorahmed-blade-player-v1-4-0-1-the-app-crashes-when-i-tried-to-change-the-song-after-linking-it-with-another-1555241602535-20190416t072605077z-20190418t234538z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.17"} |
created | 2019-04-18 23:45:39 |
last_update | 2019-04-18 23:45:39 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-04-25 23:45:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 60 |
author_reputation | 152,913,012,544,965 |
root_title | "[Blade player][v1.4.0.1] The app crashes when I tried to change the song after linking it with another" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
#### 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](https://discord.gg/KpBNYGz)**
post_id | 73,189,805 |
---|---|
author | steem-ua |
permlink | re-blade-player-v1-4-0-1-the-app-crashes-when-i-tried-to-change-the-song-after-linking-it-with-another-1555241602535-20190416t073602z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.19"} |
created | 2019-04-16 07:36:03 |
last_update | 2019-04-16 07:36:03 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-04-23 07:36:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 289 |
author_reputation | 23,203,609,903,979 |
root_title | "[Blade player][v1.4.0.1] The app crashes when I tried to change the song after linking it with another" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
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](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)). **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
post_id | 73,215,322 |
---|---|
author | utopian-io |
permlink | re-blade-player-v1-4-0-1-the-app-crashes-when-i-tried-to-change-the-song-after-linking-it-with-another-1555241602535-20190416t174117z |
category | utopian-io |
json_metadata | {"app":"beem\/0.20.17"} |
created | 2019-04-16 17:41:18 |
last_update | 2019-04-16 17:41:18 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2019-04-23 17:41:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 592 |
author_reputation | 152,913,012,544,965 |
root_title | "[Blade player][v1.4.0.1] The app crashes when I tried to change the song after linking it with another" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |