PROJECT INFORMATION
- REPOSITORIES :https://github.com/balvinderz/animewatcher
- APP NAME : ANIME WATCHER
- ISSUES : https://github.com/balvinderz/animewatcher/issues/5
- PUBLISHER : balvinderZ
DESCRIBE BUG
when a user wants to watch an episode of an anime, the user just needs to write the episodes number they want to watch, but if the user writes the number "0" and presses the watch button this application crashes
STEP TO REPRODUCE
- open the app
- click on dub or sub optiont
- click on search icon and search any anime you want to watch
- then chose an anime
- then in episode option type number"0" and click watch
- see error
EXPECTED BEHAVIOR
this application will display an error dialog if the user incorrectly wrote the episodes number
device : oppo neo7
os : android 6.0
BUG RECORDING
LOG CAT
Process: com.stuffbox.webscraper, PID: 29335
java.lang.ArrayIndexOutOfBoundsException: length=135; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at com.stuffbox.webscraper.selectEpisode$3.onClick(selectEpisode.java:116)
at android.view.View.performClick(View.java:4848)
at android.view.View$PerformClick.run(View.java:20299)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:218)
at android.app.ActivityThread.main(ActivityThread.java:5657)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)```
Hi @muhammadarif, thanks for making this contribution.
I see the PO has fixed this in the latest release version of the application. Thanks for providing a logcat. Although one could immediately tell the cause of the crash without a log. The zero input led to the crash
Thank again for the report. I look forward to more of your contributions.
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, @muhammadarif!
You just got a 0.06% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Hi @muhammadarif!
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, @muhammadarif!
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!