Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Resolved [RS3] NPE running any script

Joined
Jun 21, 2014
Messages
350
Whenever I start any script I get this error or something similar:

Code:
(03:20:10) java.lang.NullPointerException
(03:20:10)      at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)

(03:20:10)      at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)

(03:20:10)      at java.lang.reflect.Field.get(Unknown Source)
(03:20:10)      at a.ai.super(ghb:669)
(03:20:10)      at a.ai.if(ghb:94)
(03:20:10)      at a.ai.new(ghb:171)
(03:20:10)      at a.jM.super(mpb:208)
(03:20:10)      at a.jM.super(mpb:77)
(03:20:10)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etItems(itb:6)
(03:20:10)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etItems(itb:121)
(03:20:10)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etRandomItem(itb:163)
(03:20:10)      at a.Oj.else(ycb:163)
(03:20:10)      at a.Oj.super(ycb:228)
(03:20:10)      at a.dk.do(ycb:222)
(03:20:10)      at a.PM.super(fdb:144)
(03:20:10)      at com.runemate.game.api.script.framework.LoopingScript.run(ucb:
102)
(03:20:10)      at com.runemate.game.api.script.framework.AbstractScript.start(h
jb:170)
(03:20:10)      at a.gj.run(bjb:12)
(03:20:10) An exception has occurred in Unexpected Item Handler while checking f
or active rs events
(03:20:15) java.lang.NullPointerException
(03:20:15)      at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)

(03:20:15)      at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)

(03:20:15)      at java.lang.reflect.Field.get(Unknown Source)
(03:20:15)      at a.ai.super(ghb:669)
(03:20:15)      at a.ai.if(ghb:94)
(03:20:15)      at a.ai.new(ghb:171)
(03:20:15)      at a.jM.super(mpb:208)
(03:20:15)      at a.jM.super(mpb:77)
(03:20:15)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etItems(itb:6)
(03:20:15)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etItems(itb:121)
(03:20:15)      at com.runemate.game.api.hybrid.local.hud.interfaces.Inventory.g
etRandomItem(itb:163)
(03:20:15)      at a.Oj.else(ycb:163)
(03:20:15)      at a.Oj.super(ycb:228)
(03:20:15)      at a.dk.do(ycb:222)
(03:20:15)      at a.PM.super(fdb:144)
(03:20:15)      at com.runemate.game.api.script.framework.LoopingScript.run(ucb:
102)
(03:20:15)      at com.runemate.game.api.script.framework.AbstractScript.start(h
jb:170)
(03:20:15)      at a.gj.run(bjb:12)
(03:20:15) An exception has occurred in Unexpected Item Handler while checking f
or active rs events
(03:20:19) java.lang.NullPointerException
(03:20:19)      at com.runemate.game.api.rs3.local.CombatMode.getCurrent(tmb:147
)
(03:20:19)      at com.runemate.game.api.rs3.local.CombatMode.isCurrent(tmb:80)
(03:20:19)      at a.bN.super(qpb:670)
(03:20:19)      at a.UL.super(qpb:64)
(03:20:19)      at com.runemate.game.api.hybrid.Projection.getViewport(hub:121)
(03:20:19)      at com.runemate.game.api.hybrid.location.Coordinate.getBounds(vr
b:375)
(03:20:19)      at com.runemate.game.api.hybrid.location.Coordinate.render(vrb:1
012)
(03:20:19)      at jgraniteminer.Graniteminer.onPaint(Graniteminer.java:118)
(03:20:19)      at com.runemate.game.api.script.framework.core.EventDispatcher.p
rocess(rdb:84)
(03:20:19)      at a.fj.paintComponent(obb:913)
(03:20:19)      at javax.swing.JComponent.paint(Unknown Source)
(03:20:19)      at javax.swing.JComponent.paintChildren(Unknown Source)
(03:20:19)      at javax.swing.JComponent.paint(Unknown Source)
(03:20:19)      at javax.swing.JLayeredPane.paint(Unknown Source)
(03:20:19)      at javax.swing.JComponent.paintChildren(Unknown Source)
(03:20:19)      at javax.swing.JComponent.paintToOffscreen(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager.paint(Unknown Source)
(03:20:19)      at javax.swing.JComponent.paint(Unknown Source)
(03:20:19)      at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
(03:20:19)      at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
(03:20:19)      at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
(03:20:19)      at java.awt.Container.paint(Unknown Source)
(03:20:19)      at java.awt.Window.paint(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager$4.run(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager$4.run(Unknown Source)
(03:20:19)      at java.security.AccessController.doPrivileged(Native Method)
(03:20:19)      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unkn
own Source)
(03:20:19)      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Sourc
e)
(03:20:19)      at javax.swing.RepaintManager.access$1300(Unknown Source)
(03:20:19)      at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Sou
rce)
(03:20:19)      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
(03:20:19)      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
(03:20:19)      at java.awt.EventQueue.access$400(Unknown Source)
(03:20:19)      at java.awt.EventQueue$3.run(Unknown Source)
(03:20:19)      at java.awt.EventQueue$3.run(Unknown Source)
(03:20:19)      at java.security.AccessController.doPrivileged(Native Method)
(03:20:19)      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unkn
own Source)
(03:20:19)      at java.awt.EventQueue.dispatchEvent(Unknown Source)
(03:20:19)      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown S
ource)
(03:20:19)      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Sour
ce)
(03:20:19)      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown S
ource)
(03:20:19)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
(03:20:19)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
(03:20:19)      at java.awt.EventDispatchThread.run(Unknown Source)
 
Top