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 a.sm.interact npe

Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,770
Code:
java.lang.NullPointerException
    at a.SM.interact(orb:106)
    at com.runemate.maxiscripts.looping.bananapicker.MaxiBananaPicker.pickBananasFromTree(MaxiBananaPicker.java:307)
    at com.runemate.maxiscripts.looping.bananapicker.MaxiBananaPicker.onLoop(MaxiBananaPicker.java:160)
    at com.runemate.game.api.script.framework.LoopingScript.run(avb:130)
    at com.runemate.game.api.script.framework.AbstractScript.start(htb:69)
    at a.ZJ.run(cbb:144)
Occurs at this line tree.interact("Pick");
tree has been null checked. Would a valid check prevent this?
@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Code:
java.lang.NullPointerException
    at a.SM.interact(orb:106)
    at com.runemate.maxiscripts.looping.bananapicker.MaxiBananaPicker.pickBananasFromTree(MaxiBananaPicker.java:307)
    at com.runemate.maxiscripts.looping.bananapicker.MaxiBananaPicker.onLoop(MaxiBananaPicker.java:160)
    at com.runemate.game.api.script.framework.LoopingScript.run(avb:130)
    at com.runemate.game.api.script.framework.AbstractScript.start(htb:69)
    at a.ZJ.run(cbb:144)
Occurs at this line tree.interact("Pick");
tree has been null checked. Would a valid check prevent this?
@Cloud
Likely no, but I need to look into it further.
 
Top