sun.jvmstat.monitor.MonitorException: Could not read data for remote JVM 269180

JDK Bug System | Staffan Larsen | 3 years ago
  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

    no such object in table exception with Java RMI callback

    Stack Overflow | 2 years ago | MichaƂ Glapa
    java.rmi.NoSuchObjectException: no such object in table
  3. 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.rmi.NoSuchObjectException: no such object in table
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.rmi.NoSuchObjectException but static reference added

    Stack Overflow | 2 years ago | sscnapoli1926
    java.rmi.NoSuchObjectException: no such object in table
  6. 0

    Getting java.rmi.NoSuchObjectException while invoking a method on remote object

    Stack Overflow | 2 years ago | Vimal Jain
    java.rmi.NoSuchObjectException: no such object in table

    1 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:276)
      2. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
      3. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      4. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      5. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      5 frames
    3. com.sun.proxy
      $Proxy1.getCapacity
      1. com.sun.proxy.$Proxy1.getCapacity(Unknown Source)
      1 frame
    4. Java Tools
      Jstat.main
      1. sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.<init>(PerfDataBuffer.java:63)
      2. sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm.<init>(RemoteMonitoredVm.java:71)
      3. sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:146)
      4. sun.tools.jstat.Jstat.logSamples(Jstat.java:107)
      5. sun.tools.jstat.Jstat.main(Jstat.java:70)
      5 frames