Bug:ACG-Player[2.6.5.8] App crashed when I tried to go-back from the trash can.

in #utopian-io5 years ago

Project Information

Describe the bug

When I access the playlist and clicked on the Trash can, the app crashed when I tried to go back with both the app back button and the mobile back button.

To Reproduce

  1. Launch the app

  2. Click on Playlist

  3. Then click on the Trash can

  4. And click on the app or phone back button

Expected behavior

I expect to use the back button without any issue.

Screenshots

Smartphone

  • Device: [itel]

  • OS: [6.1]

  • Version [2.6.5.8]

Log

06-02 11:32:03.934 22980 22980 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common:musicService, PID: 22980
06-02 11:32:03.934 22980 22980 E AndroidRuntime: java.lang.RuntimeException: Unable to start service top.geek_studio.chenlongcould.musicplayer.MusicService@e683846 with null: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3028)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.app.ActivityThread.-wrap17(ActivityThread.java)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1443)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5452)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
06-02 11:32:03.934 22980 22980 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at top.geek_studio.chenlongcould.musicplayer.MusicService.onStartCommand(SourceFile:1)
06-02 11:32:03.934 22980 22980 E AndroidRuntime:    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3011)```
Sort:  

Hello, @darewealth. Thank you for your contribution. Glad to see that the issue got fixed. The LOG was indeed very helpful. Well done!
I look forward to your next report.

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, @knowledges! Keep up the good work!

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

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!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63724.53
ETH 3071.11
USDT 1.00
SBD 3.98