java.lang.IllegalArgumentException: Empty key at javax.crypto.spec.SecretKeySpec.<init>([DashoPro-V1.2-120198])

Oracle Community | 3004 | 1 decade 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

    IllegalArgument: Key Empty exception during SSL negotiation

    Oracle Community | 1 decade ago | 3004
    java.lang.IllegalArgumentException: Empty key at javax.crypto.spec.SecretKeySpec.<init>([DashoPro-V1.2-120198])

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Empty key at javax.crypto.spec.SecretKeySpec.<init>([DashoPro-V1.2-120198])

      at com.certicom.tls.provider.Mac.init()
    2. com.certicom.tls
      HandshakeHandler.generateSecurityParameters
      1. com.certicom.tls.provider.Mac.init(Unknown Source)
      2. com.certicom.tls.ciphersuite.SecurityParameters.TLS_PRF(Unknown Source)
      3. com.certicom.tls.ciphersuite.SecurityParameters.TLS_PRF(Unknown Source)
      4. com.certicom.tls.ciphersuite.SecurityParameters.makeKeysExportable(UnknownSource)
      5. com.certicom.tls.ciphersuite.SecurityParameters.deriveKeys(UnknownSource)
      6. com.certicom.tls.ciphersuite.SecurityParameters.<init>(Unknown Source)
      7. com.certicom.tls.record.handshake.HandshakeHandler.generateSecurityParameters(UnknownSource)
      7 frames