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

javax/net/ssl/DTLS/CipherSuite.java fails intermittently due to BUFFER_OVERFLOW status

XMLWordPrintable

      javax/net/ssl/DTLS/CipherSuite.java fails intermittently:

      #section:main
      ----------messages:(3/178)----------
      command: main CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
      reason: User specified action: run main/othervm CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
      elapsed time (seconds): 0.947
      ----------System.out:(18/1203)----------
      java.lang.Exception: Buffer underflow: incorrect client maximum fragment size
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:197)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:116)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:549)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:539)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      java.lang.Exception: Not ready for application data yet
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:225)
      at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:94)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:515)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:505)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      ----------System.err:(36/2427)----------
      java.util.concurrent.ExecutionException: java.lang.Exception: Buffer underflow: incorrect client maximum fragment size
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      at DTLSOverDatagram.runTest(DTLSOverDatagram.java:488)
      at CipherSuite.main(CipherSuite.java:62)
      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:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)
      Suppressed: java.util.concurrent.ExecutionException: java.lang.Exception: Not ready for application data yet
      ... 10 more
      Caused by: java.lang.Exception: Not ready for application data yet
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:225)
      at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:94)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:515)
      at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:505)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      ... 1 more
      Caused by: java.lang.Exception: Buffer underflow: incorrect client maximum fragment size
      at DTLSOverDatagram.handshake(DTLSOverDatagram.java:197)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:116)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:549)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:539)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      ... 1 more

      JavaTest Message: Test threw exception: java.util.concurrent.ExecutionException: java.lang.Exception: Buffer underflow: incorrect client maximum fragment size

            asmotrak Artem Smotrakov
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: