[Music Player GO][v3.5.2.5] The app crashed when I tried to change a song from notification panel after closing it

in #utopian-io5 years ago (edited)

Related Information

Expected behavior

The users should be able to change songs from notification panel after exiting from the app.

Actual behavior

When I tried to change the song from notification panel after closing/exiting the app, then within seconds the app crashes.

How to reproduce

1. Open the app.
2. Play a song.
3. Then exit from the app.
4. Pull down the notification panel of your phone.
5. Then try to change the song by pressing the next/previous button.
6. At last, pull up the notification panel and notice the error.

  • App version: v3.5.2.5
  • Operating system: Android 6.0.1

Recording Of The Bug

musicgo

LogCat

04-17 19:48:50.793 22796 22796 E AndroidRuntime: FATAL EXCEPTION: main

04-17 19:48:50.793 22796 22796 E AndroidRuntime: Process: com.iven.musicplayergo, PID: 22796

04-17 19:48:50.793 22796 22796 E AndroidRuntime: java.lang.IllegalStateException: Fragment a{b1192b3 (caf01c10-e2a5-4296-8dc1-95f783348c73)} not attached to a context.

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at androidx.fragment.app.d.n(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at androidx.fragment.app.d.a(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.iven.musicplayergo.a.a(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.iven.musicplayergo.a.c(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.iven.musicplayergo.c.b.a(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.iven.musicplayergo.c.b.onPrepared(Unknown Source)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:3712)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7325)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

04-17 19:48:50.793 22796 22796 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

04-17 19:48:50.823  2671 23060 E android.os.Debug: ro.product_ship = true

04-17 19:48:50.823  2671 23060 E android.os.Debug: ro.debug_level = 0x4f4c

04-17 19:48:50.823  2671 23060 E android.os.Debug: sys.mobilecare.preload = false
Sort:  

Thanks for your contribution.

I can see that the project owner has acknowledged the issue which is great. I don't believe this issue affects all users as during my testing this wasn't replicable on all devices, however none the less something that should be resolved as it will very annoying for users it does affect.

Great to see a log-cat as always, and your steps were clear good work.

Not sure if you know Kotlin, but would be good to see a potential resolution to some of these issues from time to time.

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


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!

🎁 Dear @tobias-g,

SteemBet Seed round SPT sale is about to start in 2 days!

When our started the development of SteemBet Dice game, we couldn’t imagine that our game would go so viral and that SteemBet would become one of the pioneers in this field.

In order to give back to our beloved community, we’ll distribute 4000 STEEM to SPT holders immediately after Seed sale. Plus, investors in this earliest round will be given 60% more tokens as reward and overall Return on Investment is estimated at 300%!

Join the whitelist on SteemBet webiste now and start investing! Feel free to ask us anything on Discord https://discord.gg/tNWJEAD

spt-sale-2-day.jpg

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!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 62702.02
ETH 2572.25
USDT 1.00
SBD 2.75