Welcome!

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

Sign up now!

Bug Menu.getItems() causing ClassCastException on RS3

s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
Code:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to retrieve the value of aqb.n for 7981277624120291; nested exception is:
    java.lang.ClassCastException: required class aqb but encountered class sz
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:353)
    at sun.rmi.transport.Transport$1.run(Transport.java:177)
    at sun.rmi.transport.Transport$1.run(Transport.java:174)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
    at com.sun.proxy.$Proxy8.serialize(Unknown Source)
    at nul.iiIIiIiIiiii.new(tsb:201)
    at nul.iIiiiIiiIiII.contains(zwb:232)
    at nul.iiIiIIiIiIII.new(psb:133)
    at nul.iiIiIIiIiIII.new(psb:160)
    at nul.iiIiIIiIiIII.move(psb:19)
    at com.runemate.game.api.hybrid.input.Mouse.move(bnb:246)
    at com.runemate.game.api.hybrid.input.Mouse.click(bnb:208)
    at nul.iIiiiIiiIiII.click(zwb:265)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(xac:43)
    at nul.iiIIiIiiIiiI.interact(tvb:90)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:90)
    at com.Sudo.Spectre.Common.helpers.SudoInteract.interactWith(SudoInteract.java:46)
    at com.Sudo.Spectre.bots.SudoDivination.tasks.ConvertTask.Loop(ConvertTask.java:45)
    at com.Sudo.Spectre.bots.SudoDivination.SudoDivination.onLoop(SudoDivination.java:142)
    at com.runemate.game.api.script.framework.LoopingScript.run(brb:234)
    at com.runemate.game.api.script.framework.AbstractScript.start(exb:174)
    at nul.iIiiiIiiIiiI.run(aic:232)
Caused by: java.rmi.RemoteException: Unable to retrieve the value of aqb.n for 7981277624120291; nested exception is:
    java.lang.ClassCastException: required class aqb but encountered class sz
    at nul.IiiiiiiiII.new(Unknown Source)
    at nul.IiiiiiiiII.serialize(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    at sun.rmi.transport.Transport$1.run(Transport.java:177)
    at sun.rmi.transport.Transport$1.run(Transport.java:174)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassCastException: required class aqb but encountered class sz
    at java.lang.invoke.MethodHandleNatives.raiseException(MethodHandleNatives.java:373)
    ... 16 more
@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
The issue is that for some reason the menu item nodes aren't instances of the correct object. I'll rename the thread and investigate in time.
 
Top