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 Equipment Interaction NPE

Joined
Dec 10, 2014
Messages
3,255
Code:
interacted = (ring = Equipment.newQuery().names(ROD_PATTERN).results().first()) != null && ring.interact(location.actionString);
Code:
(02:50:47) java.lang.NullPointerException
(02:50:47)     at com.runemate.game.api.hybrid.local.hud.interfaces.SpriteItem.for(gcc:245)
(02:50:47)     at com.runemate.game.api.hybrid.local.hud.interfaces.SpriteItem.interact(gcc:116)
(02:50:47)     at com.runemate.game.api.hybrid.entities.details.Interactable.interact(kl:157)
(02:50:47)     at com.runemate.game.api.hybrid.entities.details.Interactable.interact(kl:30)
(02:50:47)     at com.alpha.api.framework.bot.tasks.generic.navigation.teleports.RingOfDuellingTeleport.execute(RingOfDuellingTeleport.java:69)
(02:50:47)     at com.alpha.api.framework.bot.AlphaBot.onLoop(AlphaBot.java:105)
(02:50:47)     at com.runemate.game.api.script.framework.LoopingScript.run(brb:38)
(02:50:47)     at com.runemate.game.api.script.framework.AbstractScript.start(fqb:54)
(02:50:47)     at app.Nm.run(hnb:127)
It opens the tab, goes to move the mouse to the slot then crashes.
@Cloud
 
Top