ANIME WATCHER crash when click "watch" if in the episode option we type 0 number #5

in #utopian-io5 years ago



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


  • 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


this application will display an error dialog if the user incorrectly wrote the episodes number

device : oppo neo7
os : android 6.0



Process: com.stuffbox.webscraper, PID: 29335
java.lang.ArrayIndexOutOfBoundsException: length=135; index=-1
    at java.util.ArrayList.get(
    at com.stuffbox.webscraper.selectEpisode$3.onClick(
    at android.view.View.performClick(
    at android.view.View$
    at android.os.Handler.handleCallback(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(

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.


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!
Simply set as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.25
TRX 0.14
JST 0.034
BTC 50900.88
ETH 2931.93
USDT 1.00
SBD 4.24