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

Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 24
    • core-svc

      Test: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java

      ----------System.out:(1/57)----------
      >>> Tests reconnection done by a fetching notif thread.
      ----------System.err:(16/1440)----------
      Jun 20, 2024 5:26:08 PM com.sun.jmx.remote.internal.ServerCommunicatorAdmin reqIncoming
      WARNING: The server has decided to close this client connection.
      java.lang.NullPointerException: Cannot invoke "javax.management.remote.NotificationResult.getNextSequenceNumber()" because "nr" is null
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder.init(ClientNotifForwarder.java:844)
      at java.management/com.sun.jmx.remote.internal.ClientNotifForwarder.addNotificationListener(ClientNotifForwarder.java:185)
      at java.management.rmi/javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.addNotificationListener(RMIConnector.java:1218)
      at NotifReconnectDeadlockTest.main(NotifReconnectDeadlockTest.java:94)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "javax.management.remote.NotificationResult.getNextSequenceNumber()" because "nr" is null
      JavaTest Message: shutting down test

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: