Bug: ACG-Player[V, 2.6.5.8]App crashed when i clicked on add recent in playlist.
utopian-io·@darewealth·
0.000 HBDBug: ACG-Player[V, 2.6.5.8]App crashed when i clicked on add recent in playlist.
### Project Information
* Repository:
https://github.com/AugustToko/ACG-Player
* Project Name: ACG-Player
* The issue submitted on GitHub: https://github.com/AugustToko/ACG-Player/issues/53
* My github link: https://github.com/darewealth
### Describe the bug
When I access the playlist and clicked on add recent, the app crashed.
### To Reproduce
1. Launch the app
2. Click on Playlist
3. Then click on the Add Recent
4. And see error
### Expected behavior
I expected to access the add recent successfully
### Screenshots
https://youtu.be/66hN9NfN_wI
### Smartphone
- Device: [itel]
- OS: [6.1]
- Version [2.6.5.8]
### Log
```06-02 10:51:49.056 10564 10564 E AndroidRuntime: FATAL EXCEPTION: main
06-02 10:51:49.056 10564 10564 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 10564
06-02 10:51:49.056 10564 10564 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 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2477)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5452)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
06-02 10:51:49.056 10564 10564 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 10:51:49.056 10564 10564 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.Data.syncPlayOrderList(SourceFile:5)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.activity.ListViewActivity.onCreate(SourceFile:48)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6305)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
06-02 10:51:49.056 10564 10564 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2370)```👍 steeming-hot, zugs, supu, funtraveller, mehta, leir, stupid, laissez-faire, mightypanda, amosbastian, rufans, helo, jaff8, asaj, fego, adamada, buckydurddle, jinger, javicuesta, codingdefined, zcool, mcfarhat, haiyangdeperci, steemitag, loshcat, steem-plus, jjay, ryuna.siege, steem-ua, sargoon, utopian-io, tombstone, jga, cryptouno, dicetime, darewealth,