Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved IllegalArgumentException: Illegal Capacity thrown by Web IO

Joined
Dec 10, 2014
Messages
3,255
Code:
(05:22:43) java.lang.IllegalArgumentException: Illegal Capacity: -112
(05:22:43)     at java.util.ArrayList.<init>(ArrayList.java:156)
(05:22:43)     at com.runemate.game.api.hybrid.location.navigation.web.default_webs.FileWeb.fromByteArray(mfc:187)
Thrown by:
Code:
FileWeb temp = FileWeb.fromByteArray(bot.getWeb().toByteArray());

@Cloud
 
Split it up a bit more, seems like it's FileWeb.fromByteArray() that's throwing it.
 
@Cloud @Arbiter
 
Top