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 @ rm.Mb.do(tc:29)

Joined
Dec 10, 2014
Messages
3,255
Code:
java.lang.NullPointerException
at rm.Mb.do(tc:29)
at rm.Mb.catch(tc:6)
at rm.vA.render(pc:121)
at rm.vA.onPaint(pc:190)
at com.runemate.game.api.script.framework.core.EventDispatcher.process(yyb:278)
at app.Zm.byte(bsb:1047)
at app.Zm.paint(bsb:1570)
at javax.swing.RepaintManager$4.run(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$1300(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Reported to be caused by unminimizing the Client
 
Joined
Dec 17, 2014
Messages
139
Again when unminimizing the client.

Code:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Width is 0, but width must be greater than 0.
    at com.runemate.game.api.script.Execution.delayUntil(rqb:227)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:276)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:183)
    at rm.Aux.catch(m:139)
    at rm.CON.onLoop(w:107)
    at com.runemate.game.api.script.framework.LoopingScript.run(gwb:208)
    at com.runemate.game.api.script.framework.AbstractScript.start(asb:73)
    at app.CN.run(drb:3)
Caused by: java.lang.IllegalArgumentException: Width is 0, but width must be greater than 0.
    at com.runemate.game.api.hybrid.local.hud.InteractableRectangle.<init>(wdc:123)
    at com.runemate.game.api.hybrid.local.Screen.getBounds(ozb:152)
    at app.MN.byte(lbc:277)
    at app.MN.byte(lbc:208)
    at com.runemate.game.api.hybrid.input.Mouse$PathGenerator.hop(dp:664)
    at app.do.byte(afc:234)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:137)
    at app.do.move(afc:266)
    at com.runemate.game.api.hybrid.input.Mouse.move(dp:210)
    at com.runemate.game.api.hybrid.input.Mouse.move(dp:63)
    at app.Zo.hover(inb:96)
    at rm.Aux.catch(m:87)
    at rm.Aux$$Lambda$1165/26791693.call(Unknown Source)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:61)
    ... 7 more
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Code:
java.lang.NullPointerException
at rm.Mb.do(tc:29)
at rm.Mb.catch(tc:6)
at rm.vA.render(pc:121)
at rm.vA.onPaint(pc:190)
at com.runemate.game.api.script.framework.core.EventDispatcher.process(yyb:278)
at app.Zm.byte(bsb:1047)
at app.Zm.paint(bsb:1570)
at javax.swing.RepaintManager$4.run(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$1300(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Reported to be caused by unminimizing the Client
That's a bug in your code. RuneMate uses the app package, bots use the rm package.
 
Again when unminimizing the client.

Code:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Width is 0, but width must be greater than 0.
    at com.runemate.game.api.script.Execution.delayUntil(rqb:227)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:276)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:183)
    at rm.Aux.catch(m:139)
    at rm.CON.onLoop(w:107)
    at com.runemate.game.api.script.framework.LoopingScript.run(gwb:208)
    at com.runemate.game.api.script.framework.AbstractScript.start(asb:73)
    at app.CN.run(drb:3)
Caused by: java.lang.IllegalArgumentException: Width is 0, but width must be greater than 0.
    at com.runemate.game.api.hybrid.local.hud.InteractableRectangle.<init>(wdc:123)
    at com.runemate.game.api.hybrid.local.Screen.getBounds(ozb:152)
    at app.MN.byte(lbc:277)
    at app.MN.byte(lbc:208)
    at com.runemate.game.api.hybrid.input.Mouse$PathGenerator.hop(dp:664)
    at app.do.byte(afc:234)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:205)
    at app.do.byte(afc:137)
    at app.do.move(afc:266)
    at com.runemate.game.api.hybrid.input.Mouse.move(dp:210)
    at com.runemate.game.api.hybrid.input.Mouse.move(dp:63)
    at app.Zo.hover(inb:96)
    at rm.Aux.catch(m:87)
    at rm.Aux$$Lambda$1165/26791693.call(Unknown Source)
    at com.runemate.game.api.script.Execution.delayUntil(rqb:61)
    ... 7 more
Fixed that one for the next build.
 
Joined
Dec 17, 2014
Messages
139
Same as the first one I believe?

Code:
java.lang.NullPointerException
    at rm.Mb.goto(tc:98)
    at rm.Mb.catch(tc:224)
    at rm.JA.render(hc:29)
    at rm.Mb.catch(tc:196)
    at rm.NA.render(yc:182)
    at rm.Mb.catch(tc:196)
    at rm.vA.render(pc:121)
    at rm.vA.onPaint(pc:190)
    at com.runemate.game.api.script.framework.core.EventDispatcher.process(yyb:278)
    at app.Zm.byte(bsb:1047)
    at app.Zm.paint(bsb:1570)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at javax.swing.RepaintManager$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.access$1300(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
 
Top