Bug Menu.getItems() causing ClassCastException on RS3

Discussion in 'Developer Support' started by proxi, Apr 10, 2016.

  1. Code (Text):
    1. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    2.     java.rmi.RemoteException: Unable to retrieve the value of aqb.n for 7981277624120291; nested exception is:
    3.     java.lang.ClassCastException: required class aqb but encountered class sz
    4.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:353)
    5.     at sun.rmi.transport.Transport$1.run(Transport.java:177)
    6.     at sun.rmi.transport.Transport$1.run(Transport.java:174)
    7.     at java.security.AccessController.doPrivileged(Native Method)
    8.     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    9.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    10.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    11.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    12.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    13.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    14.     at java.lang.Thread.run(Thread.java:722)
    15.     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
    16.     at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    17.     at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    18.     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
    19.     at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
    20.     at com.sun.proxy.$Proxy8.serialize(Unknown Source)
    21.     at nul.iiIIiIiIiiii.new(tsb:201)
    22.     at nul.iIiiiIiiIiII.contains(zwb:232)
    23.     at nul.iiIiIIiIiIII.new(psb:133)
    24.     at nul.iiIiIIiIiIII.new(psb:160)
    25.     at nul.iiIiIIiIiIII.move(psb:19)
    26.     at com.runemate.game.api.hybrid.input.Mouse.move(bnb:246)
    27.     at com.runemate.game.api.hybrid.input.Mouse.click(bnb:208)
    28.     at nul.iIiiiIiiIiII.click(zwb:265)
    29.     at com.runemate.game.api.hybrid.local.hud.Menu.click(xac:43)
    30.     at nul.iiIIiIiiIiiI.interact(tvb:90)
    31.     at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:90)
    32.     at com.Sudo.Spectre.Common.helpers.SudoInteract.interactWith(SudoInteract.java:46)
    33.     at com.Sudo.Spectre.bots.SudoDivination.tasks.ConvertTask.Loop(ConvertTask.java:45)
    34.     at com.Sudo.Spectre.bots.SudoDivination.SudoDivination.onLoop(SudoDivination.java:142)
    35.     at com.runemate.game.api.script.framework.LoopingScript.run(brb:234)
    36.     at com.runemate.game.api.script.framework.AbstractScript.start(exb:174)
    37.     at nul.iIiiiIiiIiiI.run(aic:232)
    38. Caused by: java.rmi.RemoteException: Unable to retrieve the value of aqb.n for 7981277624120291; nested exception is:
    39.     java.lang.ClassCastException: required class aqb but encountered class sz
    40.     at nul.IiiiiiiiII.new(Unknown Source)
    41.     at nul.IiiiiiiiII.serialize(Unknown Source)
    42.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    43.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    44.     at java.lang.reflect.Method.invoke(Method.java:601)
    45.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    46.     at sun.rmi.transport.Transport$1.run(Transport.java:177)
    47.     at sun.rmi.transport.Transport$1.run(Transport.java:174)
    48.     at java.security.AccessController.doPrivileged(Native Method)
    49.     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    50.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    51.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    52.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    53.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    54.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    55.     at java.lang.Thread.run(Thread.java:722)
    56. Caused by: java.lang.ClassCastException: required class aqb but encountered class sz
    57.     at java.lang.invoke.MethodHandleNatives.raiseException(MethodHandleNatives.java:373)
    58.     ... 16 more
    59.  
    @Cloud
     
  2. 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.
     

Share This Page

Loading...