Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8074041

sun/management/jmxremote/startstop/JMXStartStopTest.java fails with InvocationTargetException

XMLWordPrintable

        Test #6 in JMXStartStopTest.java fails:

        **** Test six ****
        Command line: [C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething ]
        [JMXStartStopDoSomething{test_06}]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\java.exe -cp C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\sun\\management\\jmxremote\\startstop;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\lib\\testlibrary JMXStartStopDoSomething
        [JMXStartStopDoSomething{test_06}] main enter
        [jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
        [jcmd]:C:\\local\\aurora\\CommonData\\JDK_DIR\\bin\\jcmd.exe JMXStartStopDoSomething ManagementAgent.start jmxremote.port=50818 jmxremote.authenticate=false jmxremote.ssl=false
        [JMXStartStopDoSomething{test_06}] read: 0
        [JMXStartStopDoSomething{test_06}] main exit
        [jcmd] 29568:
        (took 3744ms)

        test_06 failed
        java.lang.reflect.InvocationTargetException
        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:498)
        at JMXStartStopTest.main(JMXStartStopTest.java:291)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
        java.io.EOFException
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:302)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:200)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
        at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
        at JMXStartStopTest.testConnect(JMXStartStopTest.java:197)
        at JMXStartStopTest.test_06(JMXStartStopTest.java:615)
        ... 11 more
        Caused by: java.io.EOFException
        at java.io.DataInputStream.readByte(DataInputStream.java:267)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
        ... 16 more
        java.lang.Error
        at JMXStartStopTest.main(JMXStartStopTest.java:317)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

        Similar issues seems to have been seen in the past.

              jbachorik Jaroslav BachorĂ­k
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: