(ACG Player)The application crashes if I click on add play My Favorite

in #utopian-io6 years ago

Related Information:

https://github.com/AugustToko/ACG-Player

Expected behavior

The application should not crash when I click My Favorite.

Actual behavior:

The application is crash when I click My favorite option.

How to reproduce

  1. Install the apps and open the app
  2. Navigate to playlist
  3. click no Add Play List and
  4. Click My Favorite.
  5. See the error

Information

  • App version:v2.6.2
  • OS:Android 6.0.1
  • Device:Samsung j7

Recording Of The Bug

my github account:https://github.com/qbrave1

logcat

E/AndroidRuntime( 5296): FATAL EXCEPTION: main

E/AndroidRuntime( 5296): Process: top.geek_studio.chenlongcould.musicplayer.Common, PID: 5296

E/AndroidRuntime( 5296): java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3

E/AndroidRuntime( 5296): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)

E/AndroidRuntime( 5296): at java.util.ArrayList.get(ArrayList.java:308)

E/AndroidRuntime( 5296): at h.a.a.b.h.l.a(SourceFile:22)

E/AndroidRuntime( 5296): at h.a.a.b.h.e.onClick(lambda)

E/AndroidRuntime( 5296): at b.b.a.l.onItemClick(SourceFile:1)

E/AndroidRuntime( 5296): at android.widget.AdapterView.performItemClick(AdapterView.java:318)

E/AndroidRuntime( 5296): at android.widget.AbsListView.performItemClick(AbsListView.java:1166)

E/AndroidRuntime( 5296): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3136)

E/AndroidRuntime( 5296): at android.widget.AbsListView$3.run(AbsListView.java:3943)

E/AndroidRuntime( 5296): at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime( 5296): at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime( 5296): at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 5296): at android.app.ActivityThread.main(ActivityThread.java:5912)

E/AndroidRuntime( 5296): at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 5296): at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 5296): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime( 5296): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

Sort:  

Hello, @brave1. Thank you for your contribution. I am pleased to see that you included the log-cat in your report. However, I want to suggest that you improve the description section of your reports. It should be very detailed and clear.

I look forward to your next contribution.

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 @brave1!

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

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!

Congratulations @brave1! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 50 upvotes. Your next target is to reach 100 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Congratulations @brave1!
Your post was mentioned in the Steem Hit Parade for newcomers in the following category:

  • Pending payout - Ranked 2 with $ 9,63

I also upvoted your post to increase its reward
If you like my work to promote newcomers and give them more visibility on the Steem blockchain, consider to vote for my witness!