create account

[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name by sagorahmed

View this thread on: hive.blogpeakd.comecency.com
· @sagorahmed ·
$9.29
[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name
#### Project Information
* Repository: https://github.com/iamSahdeep/Bop
* Project Name: Bop Music Player
* The submitted issue is <a href="https://github.com/iamSahdeep/Bop/issues/46">here</a>
#### Expected behavior
The users should be able to create the playlist by giving previously deleted playlist name from the same directory.

#### Actual behavior
When I deleted a playlist and I tried to create a new one with the same name from the same directory of that deleted playlist's songs, then The app crashed.


#### How to reproduce
Steps to reproduce the behavior:

1. Go to the 'Files' menu.
2. Choose a folder of songs and open it (Remember the name of the folder).
3. Then click "PLAY ALL"
4. Click on โ‹ฎ (Three dots/ Vertical ellipsis) at the right side of the song's number and click "Save Playlist".
5. Give a name and click on the "CREATE" button (Your playlist will be saved as your given name, remember that name).
6. Then open the "Playlist" menu.
7. Click on โ‹ฎ (Three dots/ Vertical ellipsis) at the right side of your created playlist and delete it (Remember your playlist name).
8. Then try to create a new playlist by giving your deleted playlist name from your "step no: 2" folder.
9. See error.

* App version: v1.2.1
* Operating system: Android 6.0.1


#### Recording Of The Bug
https://www.youtube.com/watch?v=w8l5kT1OncY

#### GitHub Account
https://github.com/sagorahmed

#### Logcat
```
04-06 14:21:49.521 26582 26582 E AndroidRuntime: FATAL EXCEPTION: main

04-06 14:21:49.521 26582 26582 E AndroidRuntime: Process: com.sahdeepsingh.Bop, PID: 26582

04-06 14:21:49.521 26582 26582 E AndroidRuntime: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@d258238 is not valid; is your activity running?

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.view.ViewRootImpl.setView(ViewRootImpl.java:894)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:109)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.app.Dialog.show(Dialog.java:505)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at com.sahdeepsingh.Bop.f.a.c(Unknown Source)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at com.sahdeepsingh.Bop.Activities.PlayingNowList$5.onClick(Unknown Source)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.view.View.performClick(View.java:5714)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.widget.TextView.performClick(TextView.java:10932)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:22589)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:739)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7325)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)

04-06 14:21:49.521 26582 26582 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
```
๐Ÿ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 63 others
properties (23)
authorsagorahmed
permlinkbop-music-player-v1-2-1-the-app-crashed-when-i-tried-to-create-a-playlist-from-the-file-menu-by-giving-an-already-deleted
categoryutopian-io
json_metadata{"tags":["utopian-io","bug-hunting"],"image":["https://img.youtube.com/vi/w8l5kT1OncY/0.jpg"],"links":["https://github.com/iamSahdeep/Bop","https://github.com/iamSahdeep/Bop/issues/46","https://www.youtube.com/watch?v=w8l5kT1OncY","https://github.com/sagorahmed"],"app":"steemit/0.1","format":"markdown"}
created2019-04-15 09:03:06
last_update2019-04-15 09:03:06
depth0
children5
last_payout2019-04-22 09:03:06
cashout_time1969-12-31 23:59:59
total_payout_value7.149 HBD
curator_payout_value2.136 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,423
author_reputation18,152,120,975,978
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,128,398
net_rshares14,984,714,761,737
author_curate_reward""
vote details (127)
@steem-ua ·
#### 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)**
properties (22)
authorsteem-ua
permlinkre-bop-music-player-v1-2-1-the-app-crashed-when-i-tried-to-create-a-playlist-from-the-file-menu-by-giving-an-already-deleted-20190418t011121z
categoryutopian-io
json_metadata"{"app": "beem/0.20.19"}"
created2019-04-18 01:11:21
last_update2019-04-18 01:11:21
depth1
children0
last_payout2019-04-25 01:11:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length289
author_reputation23,214,230,978,060
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,290,572
net_rshares0
@steemitboard ·
Congratulations @sagorahmed! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@sagorahmed/payout.png?201904151000</td><td>You received more than 500 as payout for your posts. Your next target is to reach a total payout of 1000</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@sagorahmed) and compare to others on the [Steem Ranking](http://steemitboard.com/ranking/index.php?name=sagorahmed)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-sagorahmed-20190415t160059000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-04-15 16:01:00
last_update2019-04-15 16:01:00
depth1
children0
last_payout2019-04-22 16:01:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length915
author_reputation38,975,615,169,260
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,148,068
net_rshares0
@tobias-g ·
$11.17
Thanks for your contribution @sagorahmed

Apologies for the delay in review, great to see that this issue has been reported and acknowledged, great work. Overall the steps to recreate were good, however I don't believe this affect all users, but important to resolve the crash none the less. Great to see that it has been resolved by the project owner. 

Overall the steps were nicely detailed and it's great to see a log-cat, you can score more points by finding a resolution to the issue, however I realise that's not always possible. 

Once again, thanks for your contribution and look forward to more from you in the future. 

----

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-1-3-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
๐Ÿ‘  , , , , , , , , ,
properties (23)
authortobias-g
permlinkre-sagorahmed-bop-music-player-v1-2-1-the-app-crashed-when-i-tried-to-create-a-playlist-from-the-file-menu-by-giving-an-already-deleted-20190417t220630624z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["sagorahmed"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/5/3-1-1-2-1-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-04-17 22:06:30
last_update2019-04-17 22:06:30
depth1
children1
last_payout2019-04-24 22:06:30
cashout_time1969-12-31 23:59:59
total_payout_value8.472 HBD
curator_payout_value2.701 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,083
author_reputation101,057,581,296,921
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,282,716
net_rshares18,883,061,083,521
author_curate_reward""
vote details (10)
@utopian-io ·
Thank you for your review, @tobias-g! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-sagorahmed-bop-music-player-v1-2-1-the-app-crashed-when-i-tried-to-create-a-playlist-from-the-file-menu-by-giving-an-already-deleted-20190417t220630624z-20190420t041606z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-04-20 04:16:09
last_update2019-04-20 04:16:09
depth2
children0
last_payout2019-04-27 04:16:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation152,955,367,999,756
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,418,509
net_rshares0
@utopian-io ·
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>
properties (22)
authorutopian-io
permlinkre-bop-music-player-v1-2-1-the-app-crashed-when-i-tried-to-create-a-playlist-from-the-file-menu-by-giving-an-already-deleted-20190418t065850z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-04-18 06:58:51
last_update2019-04-18 06:58:51
depth1
children0
last_payout2019-04-25 06:58:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length592
author_reputation152,955,367,999,756
root_title"[Bop Music Player][v1.2.1]The app crashed when I tried to create a playlist from the File menu by giving an already deleted playlist's name"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,304,781
net_rshares0