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

Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails

    XMLWordPrintable

Details

    • b17

    Description

      Test: com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java

      This test has started failing fairly regularly in our CI. A typical failure looks like:

      starting server
      server started and listening on service:jmx:rmi:///jndi/rmi://localhost:12345/test
      starting client
      client connected
      client invoking foo (10 times)
      ..........
      waiting for 10 notifications to arrive
      ERROR: notification processing thread interrupted
      ----------System.err:(22/1474)----------
      java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at TestSerializationMismatch.startClient(TestSerializationMismatch.java:122)
      at TestSerializationMismatch.main(TestSerializationMismatch.java:66)
      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)
      Caused by: java.lang.Error: notification thread interrupted unexpectedly
      at Client.run(Client.java:97)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      ... 7 more
      Mar 06, 2024 9:59:22 AM com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher fetchOneNotif
      WARNING: Failed to deserialize a notification: java.io.NotSerializableException

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

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
      Mar 06, 2024 9:59:55 AM com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher fetchOneNotif
      WARNING: Failed to deserialize a notification: java.io.NotSerializableException

      Attachments

        Issue Links

          Activity

            People

              kevinw Kevin Walls
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: