java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure)

Sonatype JIRA | Brian Demers | 8 years ago
  1. 0

    [NEXUS-843] Crypto failure using IBM jvm - Sonatype JIRA

    sonatype.org | 1 year ago
    java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure)
  2. 0

    Hi all, after installing a fresh Nexus 1.0.1 and doing some configurations, I now get an error message when loading any page (even before login): Nexus returned an error: ERROR 500: javax.crypto.b (initialization failure) The screen is shown but there is no option available in the left hand menu. Strangely enough, this does appear when I'm using IE 7, but not on Firefox 3. The log file contains this stack trace: java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure) at java.lang.J9VMInternals.initialize(J9VMInternals.java:134) at javax.crypto.Cipher.getInstance(Unknown Source) at org.jsecurity.crypto.BlowfishCipher.newCipherInstance(BlowfishCipher.java:103) at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:132) at org.jsecurity.crypto.BlowfishCipher.decrypt(BlowfishCipher.java:98) at org.jsecurity.subject.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:243) at org.jsecurity.subject.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:192) at org.jsecurity.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:402) at org.jsecurity.web.DefaultWebSecurityManager.getPrincipals(DefaultWebSecurityManager.java:179) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:217) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:213) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:202) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:417) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Seems to be some crypto stuff... What could be the reason? Did I mess up the configuration? But why is it working in Firefox then? Any help is appreciated! "Originally posted by Christoph on the nexus-users list"

    Sonatype JIRA | 8 years ago | Brian Demers
    java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure)
  3. 0

    Nexus Maven Repository Manager Users List - Error on page load: javax.crypto.b (initialization failure)

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Errore Jforward con SSL - Forum amministrazione (mobile) Dominopoint.it - Gruppo Italiano Utenti Lotus

    dominopoint.it | 1 year ago
    java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure)

    39 unregistered visitors
    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.NoClassDefFoundError

      javax.crypto.b (initialization failure)

      at java.lang.J9VMInternals.initialize()
    2. Java RT
      J9VMInternals.initialize
      1. java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
      1 frame
    3. Android Platform
      Cipher.getInstance
      1. javax.crypto.Cipher.getInstance(Unknown Source)
      1 frame
    4. org.jsecurity.crypto
      BlowfishCipher.decrypt
      1. org.jsecurity.crypto.BlowfishCipher.newCipherInstance(BlowfishCipher.java:103)
      2. org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:132)
      3. org.jsecurity.crypto.BlowfishCipher.decrypt(BlowfishCipher.java:98)
      3 frames
    5. org.jsecurity.subject
      AbstractRememberMeManager.getRememberedPrincipals
      1. org.jsecurity.subject.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:243)
      2. org.jsecurity.subject.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:192)
      2 frames
    6. org.jsecurity.mgt
      DefaultSecurityManager.getRememberedIdentity
      1. org.jsecurity.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:402)
      1 frame
    7. org.jsecurity.web
      DefaultWebSecurityManager.createSubject
      1. org.jsecurity.web.DefaultWebSecurityManager.getPrincipals(DefaultWebSecurityManager.java:179)
      2. org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:217)
      3. org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:213)
      4. org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:202)
      4 frames
    8. org.jsecurity.mgt
      DefaultSecurityManager.getSubject
      1. org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:417)
      2. org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424)
      2 frames
    9. org.jsecurity.web
      JSecurityFilter.doFilterInternal
      1. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367)
      1 frame
    10. Nexus Core
      NexusJSecurityFilter.doFilterInternal
      1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
      1 frame
    11. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      1 frame
    12. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    13. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame