java.lang.IllegalArgumentException: Empty key

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

    WLS8.1 SSL JMS > handshake failure

    Oracle Community | 1 decade ago | 3004
    java.lang.IllegalArgumentException: Empty key
  2. 0

    Enabling SSL for JMS

    Oracle Community | 1 decade ago | 843830
    java.lang.IllegalArgumentException: Empty key
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Amazon EC2 "Empty Key" error

    Google Groups | 4 years ago | BrantB
    com.amazonaws.AmazonClientException: Unable to calculate a request signature: Unable to calculate a request signature: Empty key
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Empty key

    at javax.crypto.spec.SecretKeySpec.<init>()
  2. Android Platform
    SecretKeySpec.<init>
    1. javax.crypto.spec.SecretKeySpec.<init>(DashoA6275)
    1 frame
  3. com.certicom.tls
    WriteHandler.write
    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(Unknown Source)
    8. com.certicom.tls.record.handshake.ClientStateReceivedCertificate.handle(Unknown Source)
    9. com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
    10. com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
    11. com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    12. com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    13. com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(UnknownSource)
    14. com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(UnknownSource)
    15. com.certicom.tls.record.WriteHandler.write(Unknown Source)
    15 frames
  4. Java RT
    DataOutputStream.flush
    1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
    2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127)
    3. java.io.DataOutputStream.flush(DataOutputStream.java:101)
    3 frames
  5. weblogic.rjvm.t3
    T3SJVMConnection.createConnection
    1. weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:281)
    2. weblogic.rjvm.t3.T3SJVMConnection.createConnection(T3SJVMConnection.java:77)
    2 frames
  6. weblogic.rjvm
    ServerURL.findOrCreateRJVM
    1. weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1769)
    2. weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1293)
    3. weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:430)
    4. weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:312)
    5. weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:223)
    6. weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:181)
    7. weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:222)
    8. weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
    9. weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
    9 frames
  7. weblogic.jndi
    WLInitialContextFactory.getInitialContext
    1. weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
    2. weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
    3. weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    3 frames
  8. Java RT
    InitialContext.<init>
    1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    3. javax.naming.InitialContext.init(InitialContext.java:219)
    4. javax.naming.InitialContext.<init>(InitialContext.java:195)
    4 frames
  9. ros.services.jms
    TestJMS.connect
    1. ros.services.jms.RISJMSConnection.<init>(RISJMSConnection.java:42)
    2. ros.services.jms.JMSFactory.getRISJMSMessage(JMSFactory.java:70)
    3. ros.services.jms.TestJMS.connect(TestJMS.java:15)
    3 frames
  10. ros.utils
    LogStartup.main
    1. ros.utils.LogStartup.startup(LogStartup.java:98)
    2. ros.utils.LogStartup.main(LogStartup.java:119)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  12. weblogic.j2ee
    ListenerInvocationAction.run
    1. weblogic.j2ee.AppLifecycleListenerInternal.invokeMain(AppLifecycleListenerInternal.java:61)
    2. weblogic.j2ee.AppLifecycleListenerInternal.preStart(AppLifecycleListenerInternal.java:34)
    3. weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:50)
    3 frames
  13. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    1 frame
  14. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    1 frame
  15. weblogic.j2ee
    J2EEApplicationContainer.notify
    1. weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4721)
    2. weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4683)
    2 frames