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 NPE MinimapCoord contains

Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,770
Line 58 is
path = BresenhamPath.buildTo(destination);

destination has already been used to try and build regionpath and a webpath before this call is made so it shouldn't be the issue. @Cloud
Code:
java.lang.NullPointerException
 at com.runemate.game.api.hybrid.location.Coordinate$MinimapCoordinate.contains(fhc:7589)
 at nul.iiiiIIiIiIIi.move(smb:39)
 at com.runemate.game.api.hybrid.input.Mouse.move(dob:228)
 at com.runemate.game.api.hybrid.input.Mouse.click(dob:56)
 at com.runemate.game.api.hybrid.location.Coordinate$MinimapCoordinate.click(fhc:14127)
 at com.runemate.game.api.hybrid.location.navigation.basic.CoordinatePath.step(pzb:225)
 at com.runemate.api.Walking.walkTo(Walking.java:58)
 at com.runemate.api.Walking.walkTo(Walking.java:38)
 at com.runemate.maxibots.looping.cooker.MaxiCooker.bank(MaxiCooker.java:176)
 at com.runemate.maxibots.looping.cooker.MaxiCooker.onLoop(MaxiCooker.java:115)
 at com.runemate.api.framework.MaxiLoopingScript.run(MaxiLoopingScript.java:21)
 at com.runemate.game.api.script.framework.AbstractScript.start(bvb:1)
 at nul.iiiiiIiiIIii.run(dzb:225)
2.0.1.1 - OSRS
 
Nevermind, just read the changelogs and saw this is fixed in 2.0.2
 
Top