Welcome!

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

Sign up now!

Resolved "RemoteException occurred in server thread"

Joined
Oct 30, 2014
Messages
69
Spectre version: 1.1.3
Bind version: 1.1.0
Affected games: OSRS
Code used:
Code:
        GameObject willowTree = GameObjects.newQuery().names("Willow").actions("Chop down").results().nearest();

        if (willowTree != null) {
            if (willowTree.interact("Chop down")) {
                Execution.delayWhile(() -> Players.getLocal().getAnimationId() != -1);
            }
        }

Stack trace:

Code:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to find class object for Client; nested exception is:
    java.lang.ClassNotFoundException: Client
    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.int32(Unknown Source)
    at nul.iiIiiIiIiiii.new(qwb:159)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItems(xac:212)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItem(xac:49)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(xac:211)
    at nul.IiiiIIiIIiii.interact(nwb:138)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:47)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:199)
    at com.puze.runemate.aeslumberjack.tasks.Chop.execute(Chop.java:24)
    at com.runemate.game.api.script.framework.task.TaskScript.onLoop(lrb:237)
    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 find class object for Client; nested exception is:
    java.lang.ClassNotFoundException: Client
    at nul.IiIIiIIIII.long(vb:976)
    at nul.IiIIiIIIII.long(vb:989)
    at nul.IiIIiIIIII.long(vb:957)
    at nul.IiIIiIIIII.int32(vb:383)
    at sun.reflect.GeneratedMethodAccessor7.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.ClassNotFoundException: Client
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at app.u.loadClass(u.java:79)
    at java.lang.ClassLoader.findSystemClass(ClassLoader.java:1050)
    at app.m.loadClass(m.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at nul.IiIIiIIIII.long(vb:1000)
    ... 17 more
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Spectre version: 1.1.3
Bind version: 1.1.0
Affected games: OSRS
Code used:
Code:
        GameObject willowTree = GameObjects.newQuery().names("Willow").actions("Chop down").results().nearest();

        if (willowTree != null) {
            if (willowTree.interact("Chop down")) {
                Execution.delayWhile(() -> Players.getLocal().getAnimationId() != -1);
            }
        }

Stack trace:

Code:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to find class object for Client; nested exception is:
    java.lang.ClassNotFoundException: Client
    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.int32(Unknown Source)
    at nul.iiIiiIiIiiii.new(qwb:159)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItems(xac:212)
    at com.runemate.game.api.hybrid.local.hud.Menu.getItem(xac:49)
    at com.runemate.game.api.hybrid.local.hud.Menu.click(xac:211)
    at nul.IiiiIIiIIiii.interact(nwb:138)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:47)
    at com.runemate.game.api.hybrid.entities.details.Interactable.interact(tg:199)
    at com.puze.runemate.aeslumberjack.tasks.Chop.execute(Chop.java:24)
    at com.runemate.game.api.script.framework.task.TaskScript.onLoop(lrb:237)
    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 find class object for Client; nested exception is:
    java.lang.ClassNotFoundException: Client
    at nul.IiIIiIIIII.long(vb:976)
    at nul.IiIIiIIIII.long(vb:989)
    at nul.IiIIiIIIII.long(vb:957)
    at nul.IiIIiIIIII.int32(vb:383)
    at sun.reflect.GeneratedMethodAccessor7.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.ClassNotFoundException: Client
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at app.u.loadClass(u.java:79)
    at java.lang.ClassLoader.findSystemClass(ClassLoader.java:1050)
    at app.m.loadClass(m.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at nul.IiIIiIIIII.long(vb:1000)
    ... 17 more
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.
 
Joined
Oct 30, 2014
Messages
69
Running newest Spectre + newest bind after update seems to have fixed problem :) Solved
 
Top