Bug:ACG-Player [V,2.6.5.8]App crashed when i clicked on favorites in playlist

in #utopian-io5 years ago

Project Information

Describe the bug

When I access the playlist and clicked on Favorites, the app crashed.

To Reproduce

  1. Launch the app

  2. Click on Playlist

  3. Then click on the favorites

  4. And see error

Expected behavior

I expected to access the add recent successfully

Screenshots

Smartphone

  • Device: [itel]

  • OS: [6.1]

  • Version [2.6.5.8]

Log

06-02 11:19:37.234 19277 19277 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 19277
06-02 11:19:37.234 19277 19277 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{top.geek_studio.chenlongcould.musicplayer.Common/top.geek_studio.chenlongcould.musicplayer.activity.ListViewActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void top.geek_studio.chenlongcould.musicplayer.IMuiscService.addToOrderList(top.geek_studio.chenlongcould.musicplayer.model.MusicItem)' on a null object reference
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2477)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread.-wrap11(ActivityThread.java)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5452)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
06-02 11:19:37.234 19277 19277 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void top.geek_studio.chenlongcould.musicplayer.IMuiscService.addToOrderList(top.geek_studio.chenlongcould.musicplayer.model.MusicItem)' on a null object reference
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at top.geek_studio.chenlongcould.musicplayer.Data.syncPlayOrderList(SourceFile:5)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at top.geek_studio.chenlongcould.musicplayer.activity.ListViewActivity.onCreate(SourceFile:48)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:6305)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
06-02 11:19:37.234 19277 19277 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2370)```
Sort:  

Hi @darewealth, thanks for making this report

I see the PO has acknowledged and closed the issue. The crash log must have been helpful in locating the root cause.

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]

Thank you for your review, @fego! 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.30
TRX 0.12
JST 0.034
BTC 63960.62
ETH 3142.95
USDT 1.00
SBD 3.95