java.lang.ArrayIndexOutOfBoundsException: javax.crypto.ShortBufferException: 24 needed, 278 supplied

Oracle Community | 807567 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot create outgoing SSL Socket from within SunWebServer7

    Oracle Community | 9 years ago | 807567
    java.lang.ArrayIndexOutOfBoundsException: javax.crypto.ShortBufferException: 24 needed, 278 supplied

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      javax.crypto.ShortBufferException: 24 needed, 278 supplied

      at com.sun.net.ssl.internal.ssl.CipherBox.encrypt()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.CipherBox.encrypt(CipherBox.java:192)
      2. com.sun.net.ssl.internal.ssl.OutputRecord.encrypt(OutputRecord.java:185)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:665)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.sendAlert(SSLSocketImpl.java:1622)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1514)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1485)
      7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1468)
      8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1064)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041)
      9 frames