java.lang.RuntimeException: TEST FAILED: unexpected exception

JDK Bug System | Eric Wang | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    TESTFAIL:java/rmi/reliability/juicer/AppleUserImpl.java Test java/rmi/reliability/juicer/AppleUserImpl.java fails #section:main ----------messages:(3/168)---------- command: main AppleUserImpl -seconds 30 reason: User specified action: run main/othervm/policy=security.policy AppleUserImpl -seconds 30 elapsed time (seconds): 1.934 ----------System.out:(0/0)---------- ----------System.err:(97/5982)---------- Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Starting application server in same process Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Waiting for application server process to start Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Test starting Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Waiting 30 seconds for test to complete or exception to be thrown Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: TEST FAILED Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Test finished Dec 20, 2013 12:32:30 AM AppleUserImpl main INFO: Test duration was 0 seconds (0 hours) Dec 20, 2013 12:32:30 AM ApplicationServer run SEVERE: Failed to register callbacks for AppleImpl #8: java.rmi.NoSuchObjectException: no such object in table 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:194) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148) at com.sun.proxy.$Proxy1.useApple(Unknown Source) at ApplicationServer.run(ApplicationServer.java:110) at java.lang.Thread.run(Thread.java:744) Dec 20, 2013 12:32:30 AM ApplicationServer run SEVERE: Unexpected exception: java.rmi.NoSuchObjectException: no such object in table 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:194) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148) at com.sun.proxy.$Proxy1.reportException(Unknown Source) at ApplicationServer.run(ApplicationServer.java:115) at java.lang.Thread.run(Thread.java:744) java.lang.RuntimeException: TEST FAILED: unexpected exception at AppleUserImpl.main(AppleUserImpl.java:365) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.RuntimeException: TEST FAILED: juicer server reported an exception at AppleUserImpl.main(AppleUserImpl.java:354) ... 6 more Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.io.InvalidClassException: Not a proxy at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:354) at sun.rmi.transport.Transport$1.run(Transport.java:178) at sun.rmi.transport.Transport$1.run(Transport.java:175) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:174) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) 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:194) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148) at com.sun.proxy.$Proxy5.recurse(Unknown Source) at AppleUserImpl$AppleUserThread.run(AppleUserImpl.java:190) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.io.InvalidClassException: Not a proxy at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:311) at sun.rmi.transport.Transport$1.run(Transport.java:178) at sun.rmi.transport.Transport$1.run(Transport.java:175) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:174) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.InvalidClassException: Not a proxy at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1562) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:326) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:308) ... 10 more JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED: unexpected exception JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED: unexpected exception

    JDK Bug System | 3 years ago | Eric Wang
    java.lang.RuntimeException: TEST FAILED: unexpected exception
  2. 0

    unmarshalling arguments Problem

    Oracle Community | 7 years ago | 843793
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: rmi.MyRemoteServer
  3. 0

    IntelliJ IDEA 11: Maven support not working

    Stack Overflow | 5 years ago | pemistahl
    java.lang.RuntimeException: Cannot reconnect.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RMI example just doesn't work (jdk1.5.0_01+jdk1.5.0)

    Oracle Community | 1 decade ago | 843793
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: example.hello.Hello java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: example.hello.Hello
  6. 0

    Java RMI : Setting Codebase in Eclipse 3.4.1

    Oracle Community | 7 years ago | 843793
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: # java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: # java.lang.ClassNotFoundException: com.example.rmi.MyRemote #

  1. treefolk 1 times, last 2 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.InvalidClassException

    Not a proxy

    at java.io.ObjectInputStream.readProxyDesc()
  2. Java RT
    Thread.run
    1. java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1562)
    2. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
    6. sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:326)
    7. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:308)
    8. sun.rmi.transport.Transport$1.run(Transport.java:178)
    9. sun.rmi.transport.Transport$1.run(Transport.java:175)
    10. java.security.AccessController.doPrivileged(Native Method)
    11. sun.rmi.transport.Transport.serviceCall(Transport.java:174)
    12. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
    13. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
    14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
    15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    17. java.lang.Thread.run(Thread.java:744)
    17 frames