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 Implementing ChatboxListener gives Exception

Joined
Jul 24, 2014
Messages
188
I implemented ChatboxListener in my main script class, and implemented the method onMessageReceived(MessageEvent msg);

But now everytime I start the script I get this, and no messages are being logged.
When I remove the implements I don't get the error.

@Cloud @Cloud

Exception in thread "Thread-37" java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
at sun.reflect.UnsafeObjectFieldAccessorImpl.get(Unknown Source)
at java.lang.reflect.Field.get(Unknown Source)
at com.runemate.game.a.AuX.short(bib:519)
at com.runemate.game.a.AuX.do(bib:252)
at com.runemate.game.api.b.coN.short(dxb:79)
at com.runemate.game.api.b.Prn.void(tob:76)
at com.runemate.game.api.a.d.nuL.void(qsb:277)
at com.runemate.game.api.a.d.coN.run(cvb:35)
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Is this OSRS or RS3? Is this when a script is on the store or when being ran locally?
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,121
And I'm making an educated guess here and saying it's being run locally through SDK. Feel free to correct me @Exile.
 
Joined
Jul 24, 2014
Messages
188
And I'm making an educated guess here and saying it's being run locally through SDK. Feel free to correct me @Exile.
Correct :)

I get the problem with JRE and JDK, so that doesn't matter.

And yea it's for RS3; I never play OSRS
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
It should have been fixed so I'm marking it resolved. @Exile feel free to comment if this is still a problem.
 
Top