Project Information
Repository:
https://github.com/AugustToko/ACG-PlayerProject Name: ACG-Player
The issue submitted on GitHub: https://github.com/AugustToko/ACG-Player/issues/40
My github link: https://github.com/darewealth
Describe the bug
When I play music on the app and I minimize and reopen, the app crashed.
To Reproduce
Launch the app
Play any music and minimize the app
Launch again
See error
Expected behavior
I expect to see the app working normally after relaunch.
Screenshots
Smartphone
Device: [Gionee X1]
OS: [7.0]
Version [2.6.5.3.20190530]
Log
05-30 14:49:07.770 24583 24583 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 24583
05-30 14:49:07.770 24583 24583 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.broadcast.ReceiverOnMusicPlay.playFromUri(SourceFile:2)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.activity.MainActivity.receivedIntentCheck(SourceFile:6)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.activity.MainActivity.onNewIntent(SourceFile:2)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1215)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1227)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:2546)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread.performNewIntents(ActivityThread.java:2558)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread.handleNewIntent(ActivityThread.java:2567)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5452)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
05-30 14:49:07.770 24583 24583 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)```
Hi @darewealth, thanks for making this report.
Thanks for providing a crash log. However, I am unable to get information detailing the cause of the crash from the trace. I see the PO has acknowledged the bug. Hopefully, a fix is in the works.
I look forward to more of your reports.
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]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @darewealth!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @darewealth!
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!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit