java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1Sequence

Google Groups | Michael Weibel | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: [Candy Support 1299] Getting These Errors When Trying to Log in to The Candy Example

    Google Groups | 3 years ago | Michael Weibel
    java.lang.ClassCastException: org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1Sequence
  2. 0

    2008.12.02 11:45:00 [org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:227)] CertificateManager: Error decoding subjectAltName java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:214) at org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:173) at org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:299) at org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:251) at org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManager.java:140) at org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBindManager.java:291) at org.jivesoftware.openfire.http.HttpBindManager.restartServer(HttpBindManager.java:452) at org.jivesoftware.openfire.http.HttpBindManager.access$600(HttpBindManager.java:39) at org.jivesoftware.openfire.http.HttpBindManager$CertificateListener.certificateCreated(HttpBindManager.java:519) at org.jivesoftware.util.CertificateManager.installCert(CertificateManager.java:543) at org.jivesoftware.openfire.admin.import_002dcertificate_jsp._jspService(import_002dcertificate_jsp.java:113)

    Jive Software Open Source | 8 years ago | Gaston Dombiak
    java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2008.12.02 11:45:00 [org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:227)] CertificateManager: Error decoding subjectAltName java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:214) at org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:173) at org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:299) at org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:251) at org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManager.java:140) at org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBindManager.java:291) at org.jivesoftware.openfire.http.HttpBindManager.restartServer(HttpBindManager.java:452) at org.jivesoftware.openfire.http.HttpBindManager.access$600(HttpBindManager.java:39) at org.jivesoftware.openfire.http.HttpBindManager$CertificateListener.certificateCreated(HttpBindManager.java:519) at org.jivesoftware.util.CertificateManager.installCert(CertificateManager.java:543) at org.jivesoftware.openfire.admin.import_002dcertificate_jsp._jspService(import_002dcertificate_jsp.java:113)

    Jive Software Open Source | 8 years ago | Gaston Dombiak
    java.lang.ClassCastException: org.bouncycastle.asn1.DERIA5String cannot be cast to org.bouncycastle.asn1.DERUTF8String

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.bouncycastle.asn1.DERTaggedObject cannot be cast to org.bouncycastle.asn1.ASN1Sequence

      at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames()
    2. org.jivesoftware.util
      CertificateManager.isRSACertificate
      1. org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:260)
      2. org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:223)
      3. org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:371)
      4. org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:322)
      4 frames
    3. org.jivesoftware.openfire
      index_jsp._jspService
      1. org.jivesoftware.openfire.admin.index_jsp._jspService(index_jsp.java:519)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    6. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)
      2 frames
    7. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      2 frames
    8. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
      1 frame
    9. org.jivesoftware.util
      LocaleFilter.doFilter
      1. org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)
      1 frame
    10. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
      1 frame
    11. org.jivesoftware.util
      SetCharacterEncodingFilter.doFilter
      1. org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)
      1 frame
    12. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
      1 frame
    13. org.jivesoftware.admin
      PluginFilter.doFilter
      1. org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
      1 frame
    14. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
      1 frame
    15. org.jivesoftware.admin
      AuthCheckFilter.doFilter
      1. org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)
      1 frame
    16. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      14. org.eclipse.jetty.server.Server.handle(Server.java:349)
      15. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
      16. org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
      19. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
      19 frames
    17. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
      2 frames
    18. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:701)
      1 frame