Resolved "RemoteException occurred in server thread"

Discussion in 'Developer Support' started by Tikas, Apr 12, 2016.

  1. Spectre version: 1.1.3
    Bind version: 1.1.0
    Affected games: OSRS
    Code used:
    Code (Text):
    1.         GameObject willowTree = GameObjects.newQuery().names("Willow").actions("Chop down").results().nearest();
    2.  
    3.         if (willowTree != null) {
    4.             if (willowTree.interact("Chop down")) {
    5.                 Execution.delayWhile(() -> Players.getLocal().getAnimationId() != -1);
    6.             }
    7.         }
    Stack trace:

    Code (Text):
    1. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    2.     java.rmi.RemoteException: Unable to find class object for Client; nested exception is:
    3.     java.lang.ClassNotFoundException: Client
    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.int32(Unknown Source)
    21.     at nul.iiIiiIiIiiii.new(qwb:159)
    22.     at com.runemate.game.api.hybrid.local.hud.Menu.getItems(xac:212)
    23.     at com.runemate.game.api.hybrid.local.hud.Menu.getItem(xac:49)
    24.     at com.runemate.game.api.hybrid.local.hud.Menu.click(xac:211)
    25.     at nul.IiiiIIiIIiii.interact(nwb:138)
    26.     at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:47)
    27.     at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:199)
    28.     at com.puze.runemate.aeslumberjack.tasks.Chop.execute(Chop.java:24)
    29.     at com.runemate.game.api.script.framework.task.TaskScript.onLoop(lrb:237)
    30.     at com.runemate.game.api.script.framework.LoopingScript.run(brb:234)
    31.     at com.runemate.game.api.script.framework.AbstractScript.start(exb:174)
    32.     at nul.iIiiiIiiIiiI.run(aic:232)
    33. Caused by: java.rmi.RemoteException: Unable to find class object for Client; nested exception is:
    34.     java.lang.ClassNotFoundException: Client
    35.     at nul.IiIIiIIIII.long(vb:976)
    36.     at nul.IiIIiIIIII.long(vb:989)
    37.     at nul.IiIIiIIIII.long(vb:957)
    38.     at nul.IiIIiIIIII.int32(vb:383)
    39.     at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    40.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    41.     at java.lang.reflect.Method.invoke(Method.java:601)
    42.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    43.     at sun.rmi.transport.Transport$1.run(Transport.java:177)
    44.     at sun.rmi.transport.Transport$1.run(Transport.java:174)
    45.     at java.security.AccessController.doPrivileged(Native Method)
    46.     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    47.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    48.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    49.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    50.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    51.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    52.     at java.lang.Thread.run(Thread.java:722)
    53. Caused by: java.lang.ClassNotFoundException: Client
    54.     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    55.     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    56.     at java.security.AccessController.doPrivileged(Native Method)
    57.     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    58.     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    59.     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    60.     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    61.     at app.u.loadClass(u.java:79)
    62.     at java.lang.ClassLoader.findSystemClass(ClassLoader.java:1050)
    63.     at app.m.loadClass(m.java:30)
    64.     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    65.     at java.lang.Class.forName0(Native Method)
    66.     at java.lang.Class.forName(Class.java:264)
    67.     at nul.IiIIiIIIII.long(vb:1000)
    68.     ... 17 more


     
  2. Best Answer:
    Post #3 by Tikas, Apr 12, 2016
  3. Can you reproduce this on the latest version of Spectre and post the new stack trace? I can't seem to isolate the source of the issue, I thought I had fixed it in a previous version of Spectre and I need a more up to date stack trace to verify it's still an issue.
     
  4. Running newest Spectre + newest bind after update seems to have fixed problem :) Solved
     

Share This Page

Loading...