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

javax/net/ssl/TLS/TestJSSE.java failed on Mac

XMLWordPrintable

        javax/net/ssl/TLS/TestJSSE.java testcases failed in our nightly test run on Mac platform with below exception:

        Got IOException:
        ----------System.err:(44/2760)----------
        java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 1
        at TestJSSE.client(TestJSSE.java:116)
        at TestJSSE.main(TestJSSE.java:95)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at java.util.ArrayList.add(ArrayList.java:461)
        at CipherTestUtils.addFailure(CipherTestUtils.java:314)
        at CipherTestUtils$Client.lambda$run$1(CipherTestUtils.java:412)
        at CipherTestUtils$Client$$Lambda$3/1131568263.accept(Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1386)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:503)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
        at CipherTestUtils$Client.run(CipherTestUtils.java:407)
        at CipherTestUtils.main(CipherTestUtils.java:545)
        at TestJSSE.client(TestJSSE.java:111)
        ... 7 more
        javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1991)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1104)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:909)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
        at CipherTestUtils$Server.handleRequest(CipherTestUtils.java:208)
        at JSSEServer.run(JSSEServer.java:66)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 1
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 1

              weijun Weijun Wang
              tidu Tim Du (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: