java.rmi.NoSuchObjectException: no such object in table

Java.net JIRA | jsedlacek | 9 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

    #Test Results (version 2) #Wed Oct 30 19:42:43 PDT 2013 #checksum:1ba2e8fabc3ab84e #-----testdescription----- $file=C\:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java $root=C\:\\Users\\aurora\\sandbox\\testbase\\test keywords=bug4990825 library=/lib/testlibrary maxTimeout=60 run=USER_SPECIFIED build JstatdTest JstatGCUtilParser\r\nUSER_SPECIFIED main/timeout\=60 TestJstatdPort\r\n source=TestJstatdPort.java title=\ #-----environment----- #-----testresult----- description=file\:/C\:/Users/aurora/sandbox/testbase/test/sun/tools/jstatd/TestJstatdPort.java elapsed=7756 0\:00\:07.756 end=Wed Oct 30 19\:42\:42 PDT 2013 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Exit value 1 , expected to get 0 hostname=SC11136076.us.oracle.com javatestOS=Windows 7 6.1 (amd64) javatestVersion=4.4 jtregVersion=jtreg 4.1 fcs b07 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build build compile main start=Wed Oct 30 19\:42\:35 PDT 2013 test=sun/tools/jstatd/TestJstatdPort.java user.name=aurora work=C\:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\sun\\tools\\jstatd #section:script_messages ----------messages:(5/230)*---------- JDK under test: (C:\\Users\\aurora\\sandbox\\jdk) java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h625-20131030-b114-b00) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b56, mixed mode) #section:build ----------messages:(3/148)---------- command: build JstatdTest JstatGCUtilParser reason: User specified action: run build JstatdTest JstatGCUtilParser elapsed time (seconds): 0.001 result: Passed. All files up to date #section:build ----------messages:(3/102)---------- command: build TestJstatdPort reason: Named class compiled on demand elapsed time (seconds): 0.244 result: Passed. Build successful #section:compile ----------messages:(3/211)*---------- command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java reason: .class file out of date or does not exist elapsed time (seconds): 0.244 ----------rerun:(22/2231)*---------- 'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\ SystemDrive=C: \\ 'SystemRoot=C:\\Windows' \\ 'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'windir=C:\\Windows' \\ 'C:\\Users\\aurora\\sandbox\\jdk\\bin\\javac' \\ -J-ea \\ -J-esa \\ -J-Xmx512m \\ -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\ -J-Dcompile.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -J-Dtest.src.path='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' \\ -J-Dtest.src='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -J-Dtest.class.path='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\lib\\testlibrary' \\ -J-Dtest.classes='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' \\ -J-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -J-Dtest.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -J-Dtest.java.opts= \\ -J-Dtest.compiler.opts= \\ -d 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' -classpath 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\jdk\\lib\\tools.jar' -sourcepath 'C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' -XDignore.symbol.file=true 'C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java' result: Passed. Compilation successful #section:main ----------messages:(3/129)---------- command: main TestJstatdPort reason: User specified action: run main/timeout=60 TestJstatdPort elapsed time (seconds): 7.503 ----------rerun:(20/1822)*---------- 'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\ SystemDrive=C: \\ 'SystemRoot=C:\\Windows' \\ 'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'windir=C:\\Windows' \\ 'C:\\Users\\aurora\\sandbox\\jdk\\bin\\java' \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dcompile.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -Dtest.src.path='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' \\ -Dtest.src='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.class.path='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\lib\\testlibrary' \\ -Dtest.classes='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' \\ -Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -Dtest.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -Dtest.java.opts= \\ -Dtest.compiler.opts= \\ -classpath 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\jdk\\lib\\tools.jar' \\ TestJstatdPort ----------System.out:(33/1008)*---------- Start jstatd: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jstatd.exe -J-XX:+UsePerfData -J-Djava.security.policy=C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\all.policy -p 58036] Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] RMI Registry not available at SC11136076:58036 Connection refused to host: SC11136076; nested exception is: java.net.ConnectException: Connection refused: connect Waiting until jstatd is running... Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] 5968 Jstatd 4948 Jps 3244 Agent 3340 jtreg.jar jstatd pid: 5968 Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] 5968 Jstatd 1724 Jps 3244 Agent 3340 jtreg.jar Start jstat: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jstat.exe -J-XX:+UsePerfData -J-Duser.language=en -gcutil 5968@SC11136076:58036 250 5] Could not read data for remote JVM 5968 ----------System.err:(16/873)---------- java.lang.RuntimeException: Exit value 1 , expected to get 0 at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:284) at JstatdTest.verifyJstatOutput(JstatdTest.java:239) at JstatdTest.runToolsAndVerify(JstatdTest.java:252) at JstatdTest.doTest(JstatdTest.java:350) at TestJstatdPort.main(TestJstatdPort.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Exit value 1 , expected to get 0 test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Exit value 1 , expected to get 0

    JDK Bug System | 3 years ago | Staffan Larsen
    sun.jvmstat.monitor.MonitorException: Could not read data for remote JVM 269180
  2. 0

    GitHub - henrik42/rmi-examples: Java and clojure code using RMI

    github.com | 9 months ago
    java.rmi.NoSuchObjectException: no such object in table
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    RMIで公開されたオブジェクトが破棄される時を知る - Kazzzの日記

    ne.jp | 1 month ago
    java.rmi.NoSuchObjectException: no such in table at .rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
  5. 0

    NoSuchObjectException when using fixed port number in method 'exportObject' of class UnicastRemoteObject

    Stack Overflow | 1 year ago | Manish
    java.rmi.NoSuchObjectException: no such object in table

    2 unregistered visitors
    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.rmi.NoSuchObjectException

      no such object in table

      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer()
    2. Java RT
      RemoteObjectInvocationHandler.invoke
      1. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
      2. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
      3. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      4. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
      5. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
      5 frames
    3. Unknown
      $Proxy8.getCapacity
      1. $Proxy8.getCapacity(Unknown Source)
      1 frame
    4. Java Tools
      PerfDataBuffer.<init>
      1. sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.<init>(PerfDataBuffer.java:46)
      1 frame