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

sun/management/jmxremote/startstop/JMXStartStopTest.java failed with exit code: 134

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: core-svc

      Description

      ----------System.err:(49/4313)----------
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
      [TestApp{test_09}] Error: JMX connector server communication error: service:jmx:rmi://sca00icn.us.oracle.com:29143
      [TestApp{test_09}] jdk.internal.agent.AgentConfigurationError: java.rmi.server.ExportException: Port already in use: 29143; nested exception is:
      [TestApp{test_09}] java.net.BindException: Address already in use
      [TestApp{test_09}] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(ConnectorBootstrap.java:820)
      [TestApp{test_09}] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:479)
      [TestApp{test_09}] at jdk.management.agent/jdk.internal.agent.Agent.startRemoteManagementAgent(Agent.java:388)
      [TestApp{test_09}] Caused by: java.rmi.server.ExportException: Port already in use: 29143; nested exception is:
      [TestApp{test_09}] java.net.BindException: Address already in use
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:335)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:243)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
      [TestApp{test_09}] at java.rmi/sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:234)
      [TestApp{test_09}] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.exportObject(ConnectorBootstrap.java:203)
      [TestApp{test_09}] at java.management.rmi/javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:153)
      [TestApp{test_09}] at java.management.rmi/javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:138)
      [TestApp{test_09}] at java.management.rmi/javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:473)
      [TestApp{test_09}] at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(ConnectorBootstrap.java:816)
      [TestApp{test_09}] ... 2 more
      [TestApp{test_09}] Caused by: java.net.BindException: Address already in use
      [TestApp{test_09}] at java.base/sun.nio.ch.Net.bind0(Native Method)
      [TestApp{test_09}] at java.base/sun.nio.ch.Net.bind(Net.java:469)
      [TestApp{test_09}] at java.base/sun.nio.ch.Net.bind(Net.java:458)
      [TestApp{test_09}] at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
      [TestApp{test_09}] at java.base/java.net.ServerSocket.bind(ServerSocket.java:355)
      [TestApp{test_09}] at java.base/java.net.ServerSocket.<init>(ServerSocket.java:241)
      [TestApp{test_09}] at java.base/java.net.ServerSocket.<init>(ServerSocket.java:132)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createServerSocket(TCPDirectSocketFactory.java:45)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
      [TestApp{test_09}] at java.rmi/sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:324)
      [jcmd] java.lang.RuntimeException: jdk.internal.agent.AgentConfigurationError: java.rmi.server.ExportException: Port already in use: 29143; nested exception is: java.net.BindException: Address already in use
      [TestApp{test_09}] ... 11 more
      Test application 'test_11' failed with exit code: 134
      java.lang.NullPointerException
      at JMXStartStopTest.main(JMXStartStopTest.java:313)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwthomps Marty Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: