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: Negative Position

Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Code:
java.lang.IllegalArgumentException: Negative position
 at sun.nio.ch.FileChannelImpl.read(Unknown Source)
 at app.Lk.catch(web:148)
 at app.Lk.catch(web:175)
 at app.li.catch(ycb:148)
 at app.bI.catch(mhb:236)
 at app.Jk.catch(qeb:222)
 at app.bI.catch(mhb:273)
 at app.Qj.catch(kgb:231)
 at app.Jj.catch(hgb:259)
 at com.runemate.game.api.hybrid.entities.definitions.ItemDefinition.get(zjb:139)
 at com.runemate.game.api.hybrid.local.hud.interfaces.SpriteItem.getDefinition(ipb:106)
 at com.runemate.game.api.hybrid.queries.SpriteItemQueryBuilder.accepts(lvb:66)
 at com.runemate.game.api.hybrid.queries.SpriteItemQueryBuilder.accepts(lvb:141)
 at com.runemate.game.api.hybrid.queries.QueryBuilder.results(hrb:40)
 at productions.celestial.fisher.Fisher.canLoop(Fisher.java:95)
 at productions.celestial.api.framework.STaskScript$PreLoopTask.validate(STaskScript.java:88)
 at com.runemate.game.api.script.framework.task.TaskScript.onLoop(qxb:232)
 at com.runemate.game.api.script.framework.LoopingScript.run(htb:239)
 at com.runemate.game.api.script.framework.AbstractScript.start(jnb:156)
 at app.bj.run(ukb:214)

Got that error several times. Happens when I make an inventory query and filter it with .names(pattern), nothing else.

@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
This error is usually caused by having a cache that is incomplete in a very specific way. Stay in game for a while and let it download the cache, and then restart the client. That should resolve the issue while I investigate it further.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
This error is usually caused by having a cache that is incomplete in a very specific way. Stay in game for a while and let it download the cache, and then restart the client. That should resolve the issue while I investigate it further.
It's not me getting the error, it gets listed in the exception log.
 
Top