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

javax/management/remote/mandatory/connection/BrokenConnectionTest.java failed with "ListenerNotFoundException: Listener not found"

XMLWordPrintable

      The following test failed in the JDK10 nightly:

      javax/management/remote/mandatory/connection/BrokenConnectionTest.java

      This is moved from the original sighting reported in JDK-8079445:

      Jesper Wilhelmsson added a comment - 2017-08-16 11:42
      This happened in the HS nightly, could be the same issue?

      Test 4: removeNotificationListener(NL), break, removeNotificationListener(NL)
      Created and started connector server
      Client connected OK
      Client ran removeNotificationListener(NL) OK
      Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin@61102150][type=jmx.remote.connection.failed][message=Failed to communicate with the server: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
      java.io.EOFException] (jmx.remote.connection.failed)
      Filter: javax.management.remote.JMXConnectionNotification[source=javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi://...snip...][type=jmx.remote.connection.closed][message=Client has been closed] (jmx.remote.connection.closed)
      Broke connection, run removeNotificationListener(NL) again
      FAILED WITH EXCEPTION:
      javax.management.ListenerNotFoundException: Listener not found
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder.getListenerId(ClientNotifForwarder.java:232)
      at java.management.rmi/javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.removeNotificationListener(RMIConnector.java:1303)
      at BrokenConnectionTest$4.operation(BrokenConnectionTest.java:182)
      at BrokenConnectionTest$Operation.test(BrokenConnectionTest.java:125)
      at BrokenConnectionTest.test(BrokenConnectionTest.java:480)
      at BrokenConnectionTest.rmiTest(BrokenConnectionTest.java:539)
      at BrokenConnectionTest.test(BrokenConnectionTest.java:92)
      at BrokenConnectionTest.main(BrokenConnectionTest.java:71)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

            msheppar Mark Sheppard
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: