Project Information
Repository:
https://github.com/AugustToko/ACG-PlayerProject 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
Launch the app
Click on Playlist
Then click on the Add Recent
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 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)```