javax.security.auth.login.LoginException: java.lang.NoClassDefFoundError

Oracle Community | 807573 | 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

    RMI/SSL connection from application code

    Oracle Community | 1 decade ago | 807573
    javax.security.auth.login.LoginException: java.lang.NoClassDefFoundError

    Root Cause Analysis

    1. javax.security.auth.login.LoginException

      java.lang.NoClassDefFoundError

      at javax.crypto.Cipher.getInstance()
    2. Android Platform
      Cipher.getInstance
      1. javax.crypto.Cipher.getInstance(DashoA12275)
      1 frame
    3. Java JSSE
      AppOutputStream.write
      1. com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90)
      2. com.sun.net.ssl.internal.ssl.RSACipher.<init>(RSACipher.java:35)
      3. com.sun.net.ssl.internal.ssl.RSACipher.getInstance(RSACipher.java:69)
      4. com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:82)
      5. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:514)
      6. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:160)
      7. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
      8. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
      11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
      12. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      12 frames
    4. Java RT
      Naming.lookup
      1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      3. java.io.DataOutputStream.flush(DataOutputStream.java:106)
      4. sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
      5. sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
      6. sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
      7. sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
      8. java.rmi.Naming.lookup(Naming.java:84)
      8 frames
    5. com.client
      ClientAPI.<init>
      1. com.client.APIWrapper.<init>(APIWrapper.java:62)
      2. com.client.ClientAPI.connectWithHA(ClientAPI.java:160)
      3. com.client.ClientAPI.<init>(ClientAPI.java:421)
      3 frames
    6. dsss.auth
      DsssAuthModule.process
      1. dsss.auth.DsssAuthModule.process(DsssAuthModule.java:71)
      1 frame
    7. com.sun.identity
      AMLoginModule.login
      1. com.sun.identity.authentication.spi.AMLoginModule.wrapProcess(AMLoginModule.java:723)
      2. com.sun.identity.authentication.spi.AMLoginModule.login(AMLoginModule.java:871)
      2 frames
    8. Java RT
      LoginContext.login
      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:585)
      5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
      6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      10. javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      10 frames
    9. com.sun.identity
      JAASLoginThread.run
      1. com.sun.identity.authentication.service.AMLoginContext.runLogin(AMLoginContext.java:381)
      2. com.sun.identity.authentication.service.JAASLoginThread.run(JAASLoginThread.java:62)
      2 frames
    10. Java RT
      LoginContext.login
      1. javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
      2. javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      3. javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      6. javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      6 frames
    11. com.sun.identity
      JAASLoginThread.run
      1. com.sun.identity.authentication.service.AMLoginContext.runLogin(AMLoginContext.java:381)
      2. com.sun.identity.authentication.service.JAASLoginThread.run(JAASLoginThread.java:62)
      2 frames