1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved IllegalArgumentException: Illegal Capacity thrown by Web IO

Discussion in 'Client & Site Support' started by SlashnHax, Oct 30, 2015.

  1. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    Code (Text):
    1. (05:22:43) java.lang.IllegalArgumentException: Illegal Capacity: -112
    2. (05:22:43)     at java.util.ArrayList.<init>(ArrayList.java:156)
    3. (05:22:43)     at com.runemate.game.api.hybrid.location.navigation.web.default_webs.FileWeb.fromByteArray(mfc:187)
    Thrown by:
    Code (Text):
    1. FileWeb temp = FileWeb.fromByteArray(bot.getWeb().toByteArray());
    @Cloud
    --- Double Post Merged, Oct 24, 2015, Original Post Date: Oct 24, 2015 ---
    Split it up a bit more, seems like it's FileWeb.fromByteArray() that's throwing it.
    --- Double Post Merged, Oct 30, 2015 ---
    @Cloud @Arbiter
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It seems like that file is corrupted.
     

Share This Page

Loading...