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 RemoteException caused by ClassCastException: Cannot cast sc to aqi

Joined
Dec 10, 2014
Messages
3,332
Code:
java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.RemoteException: Unable to retrieve the value of aqi.w for 11671809870700741; nested exception is:
        java.lang.ClassCastException: Cannot cast sc to aqi
        at com.runemate.game.api.script.Execution.delayUntil(qwb:60)
        at com.runemate.game.api.script.Execution.delayUntil(qwb:261)
        at com.runemate.game.api.script.Execution.delayUntil(qwb:44)
        at com.runemate.game.api.script.Execution.delayUntil(qwb:159)
        at com.runemate.game.api.hybrid.local.hud.Menu.click(pdc:218)
        at nul.iIiiiIiiIIII.interact(dxb:190)
        at com.alphav2.api.runescape.Interaction.interact(Interaction.java:31)
        at com.alphav2.api.runescape.Interaction.interact(Interaction.java:63)
        at com.alphav2.api.runescape.Interaction.interact(Interaction.java:94)
        at com.slashnhax.bots.alpha.alpha_fighter_rewrite.tasks.combat.NpcAttacker.execute(NpcAttacker.java:51)
        at com.slashnhax.bots.alpha.alpha_fighter_rewrite.tasks.combat.CombatHandler.execute(CombatHandler.java:23)
        at java.util.Optional.ifPresent(Optional.java:159)
        at com.alphav2.api.bot.taskbot.AlphaTaskBot.onLoop(AlphaTaskBot.java:30)
        at com.alphav2.api.bot.AlphaBot.run(AlphaBot.java:143)
        at com.runemate.game.api.script.framework.AbstractScript.start(bwb:52)
        at nul.IiIIIIiIiiII.run(zcc:239)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.RemoteException: Unable to retrieve the value of aqi.w for 11671809870700741; nested exception is:
        java.lang.ClassCastException: Cannot cast sc to aqi
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
        at com.sun.proxy.$Proxy8.serialize(Unknown Source)
        at nul.IIiiiIiIiiiI.int(vmb:184)
        at com.runemate.game.api.hybrid.local.hud.Menu.getItems(pdc:98)
        at com.runemate.game.api.hybrid.local.hud.Menu.indexOf(pdc:167)
        at com.runemate.game.api.hybrid.local.hud.Menu.contains(pdc:202)
        at com.runemate.game.api.hybrid.local.hud.Menu.int(pdc)
        at com.runemate.game.api.script.Execution.delayUntil(qwb:64)
        ... 15 more
Caused by: java.rmi.RemoteException: Unable to retrieve the value of aqi.w for 11671809870700741; nested exception is:
        java.lang.ClassCastException: Cannot cast sc to aqi
        at nul.IIIiIiIIiI.enum(Unknown Source)
        at nul.IIIiIiIIiI.serialize(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: Cannot cast sc to aqi
        at java.lang.invoke.MethodHandleImpl.newClassCastException(Unknown Source)
        at java.lang.invoke.MethodHandleImpl.castReference(Unknown Source)
        ... 18 more
@Cloud
 
s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
Maybe this will help as well?
Code:
java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to retrieve the value of aql.n for 111986036707525772; nested exception is:
    java.lang.ClassCastException: Cannot cast sa to aql
    at com.runemate.game.api.script.Execution.delayUntil(qwb:60)
    at com.runemate.game.api.script.Execution.delayUntil(qwb:261)
    at com.runemate.game.api.script.Execution.delayUntil(qwb:44)
    at com.runemate.game.api.script.Execution.delayUntil(qwb:159)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(pdc:218)
    at nul.iIiiiIiiIIII.interact(dxb:190)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(xl:52)
    at com.Sudo.Helper.SudoInteract.interactWith(SudoInteract.java:34)
    at com.Sudo.bots.SudoDivination.DivMethods.startHarvest(DivMethods.java:34)
    at com.Sudo.bots.SudoDivination.SudoDivination.onLoop(SudoDivination.java:68)
    at com.runemate.game.api.script.framework.LoopingScript.run(knb:91)
    at com.runemate.game.api.script.framework.AbstractScript.start(bwb:52)
    at nul.IiIIIIiIiiII.run(zcc:239)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to retrieve the value of aql.n for 111986036707525772; nested exception is:
    java.lang.ClassCastException: Cannot cast sa to aql
    at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    at com.sun.proxy.$Proxy8.serialize(Unknown Source)
    at nul.IIiiiIiIiiiI.int(vmb:184)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItems(pdc:98)
    at com.runemate.game.api.hybrid.local.hud.Menu.indexOf(pdc:167)
    at com.runemate.game.api.hybrid.local.hud.Menu.contains(pdc:202)
    at com.runemate.game.api.hybrid.local.hud.Menu.int(pdc)
    at com.runemate.game.api.script.Execution.delayUntil(qwb:64)
    ... 12 more
Caused by: java.rmi.RemoteException: Unable to retrieve the value of aql.n for 111986036707525772; nested exception is:
    java.lang.ClassCastException: Cannot cast sa to aql
    at nul.IIIiIiIIiI.enum(Unknown Source)
    at nul.IIIiIiIIiI.serialize(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: Cannot cast sa to aql
    at java.lang.invoke.MethodHandleImpl.newClassCastException(Unknown Source)
    at java.lang.invoke.MethodHandleImpl.castReference(Unknown Source)
    ... 18 more

Code:
[doublepost=1459125683,1458279195][/doublepost]java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to retrieve the value of aqx.d for 51586122078794924; nested exception is:
    java.lang.ClassCastException: required class aqx but encountered class sj
    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(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    at com.sun.proxy.$Proxy8.serialize(Unknown Source)
    at nul.iIiIIIiIIiII.float(jnb:196)
    at nul.iIiIIIiIIiII.float(jnb:112)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItemCount(rac:223)
    at nul.iiIiIIiiIIII.getBounds(cpb:105)
    at nul.iiIiIIiiIIII.contains(cpb:82)
    at nul.iiiiIIiIiiii.float(oob:23)
    at nul.iiiiIIiIiiii.float(oob:36)
    at nul.iiiiIIiIiiii.move(oob:232)
    at com.runemate.game.api.hybrid.input.Mouse.move(knb:226)
    at com.runemate.game.api.hybrid.input.Mouse.click(knb:169)
    at nul.iiIiIIiiIIII.click(cpb:36)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(rac:106)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(rac:132)
    at nul.IIiiIIiiiIII.interact(bob:240)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(hk:22)
    at com.Sudo.Helper.SudoInteract.interactWith(SudoInteract.java:34)
    at com.Sudo.bots.SudoDivination.DivMethods.startHarvest(DivMethods.java:34)
    at com.Sudo.bots.SudoDivination.SudoDivination.onLoop(SudoDivination.java:68)
    at com.runemate.game.api.script.framework.LoopingScript.run(yvb:260)
    at com.runemate.game.api.script.framework.AbstractScript.start(rqb:22)
    at nul.IIIIiIiiiIii.run(pbc:82)
Caused by: java.rmi.RemoteException: Unable to retrieve the value of aqx.d for 51586122078794924; nested exception is:
    java.lang.ClassCastException: required class aqx but encountered class sj
    at nul.IIIiIiIIiI.enum(Unknown Source)
    at nul.IIIiIiIIiI.serialize(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor13.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 aqx but encountered class sj
    at java.lang.invoke.MethodHandleNatives.raiseException(MethodHandleNatives.java:373)
    ... 16 more
 
s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
Idk if this exception has had an attempt in being addressed, but it still occurs in the most recent update. (V1.0.37)


Code:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.RemoteException: Unable to retrieve the value of aqj.j for 111412929134478026; nested exception is:
        java.lang.ClassCastException: required class aqj but encountered class sf
        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(StreamRemoteCall.java:276)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
        at com.sun.proxy.$Proxy8.serialize(Unknown Source)
        at nul.IiIIiIiiIIiI.class(psb:101)
        at com.runemate.game.api.hybrid.local.hud.Menu.getItems(yyb:1)
        at com.runemate.game.api.hybrid.local.hud.Menu.indexOf(yyb:5)
        at com.runemate.game.api.hybrid.local.hud.Menu.getItem(yyb:23)
        at com.runemate.game.api.hybrid.local.hud.Menu.click(yyb:271)
        at nul.IIiiIIiIIiII.interact(kob:194)
        at com.runemate.game.api.hybrid.entities.details.Interactable.interact(ij:256)
        at com.Sudo.Helper.SudoInteract.interactWith(SudoInteract.java:34)
        at com.Sudo.bots.SudoDivination.DivMethods.startHarvest(DivMethods.java:35)
        at com.Sudo.bots.SudoDivination.SudoDivination.onLoop(SudoDivination.java:123)
        at com.runemate.game.api.script.framework.LoopingScript.run(dub:67)
        at com.runemate.game.api.script.framework.AbstractScript.start(npb:150)
        at nul.iIiiiIiIiIII.run(tec:66)
Caused by: java.rmi.RemoteException: Unable to retrieve the value of aqj.j for 111412929134478026; nested exception is:
        java.lang.ClassCastException: required class aqj but encountered class sf
        at nul.iIiIiiIIIi.const(Unknown Source)
        at nul.iIiIiiIIIi.serialize(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor8.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 aqj but encountered class sf
        at java.lang.invoke.MethodHandleNatives.raiseException(MethodHandleNatives.java:373)
        ... 16 more
 
Joined
Dec 10, 2014
Messages
3,332
It's getting in the way of my long runs :( The longest I've gotten was like 7 hours when I got lucky
 
s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
I haven't seen it in a while, I will post if this changes.
 
Top