ACG-Player [v.2.6.3.6] clicking on ARTIST, and scrolling makes the app to crash

in utopian-io •  5 years ago 

Describe the bug
Each time i click on ARTIST, some of the song in the list disappears, and if i tried to scroll, the app crashes

To Reproduce

  • Launch the app
  • click on ARTIST, You will notice some abnormalities. I.e, some songs will disappear
  • scroll up or down and note the crash

Expected behavior
I expected the songs under ARTIST to be listed and intact and also be able to scroll without the app crashing.

Screenshots

**Smartphone

Logcat

05-24 21:45:57.991  7125  7125 E AndroidRuntime: Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 7125
05-24 21:45:57.991  7125  7125 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{top.geek_studio.chenlongcould.musicplayer.Common/top.geek_studio.chenlongcould.musicplayer.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'h.a.a.b.b.Ea h.a.a.b.d.kb.getAdapter()' on a null object reference
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2724)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6251)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'h.a.a.b.b.Ea h.a.a.b.d.kb.getAdapter()' on a null object reference
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.activity.MainActivity.W(SourceFile:6)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at top.geek_studio.chenlongcould.musicplayer.activity.MainActivity.a(SourceFile:2)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at h.a.a.b.a.yb.onQueryTextChange(SourceFile:1)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at com.miguelcatalan.materialsearchview.MaterialSearchView.onTextChanged(SourceFile:9)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at com.miguelcatalan.materialsearchview.MaterialSearchView.c(SourceFile:2)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at c.e.a.b.onTextChanged(SourceFile:3)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.TextView.sendOnTextChanged(TextView.java:8526)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.TextView.setText(TextView.java:4526)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.TextView.setText(TextView.java:4380)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.EditText.setText(EditText.java:95)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.TextView.setText(TextView.java:4355)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.widget.TextView.onRestoreInstanceState(TextView.java:4246)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.View.dispatchRestoreInstanceState(View.java:16399)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3438)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.view.View.restoreHierarchyState(View.java:16377)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2161)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.Activity.onRestoreInstanceState(Activity.java:1053)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.Activity.performRestoreInstanceState(Activity.java:1008)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1174)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2697)
05-24 21:45:57.991  7125  7125 E AndroidRuntime: ... 9 more```
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello, @ckole. Thank you for your contribution. The app did crash on my device as well. Great job for noticing and reporting this behavior to the PO. 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]

Thanks for the review

Thank you for your review, @knowledges! Keep up the good work!

Hi @ckole!

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, @ckole!

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!