powered by Jive Software

Can anyone help me what exactly is the exception means?

Hello, I just download of3.9.3 sources and imported in my Eclipse IDE. Everthing is fine

I finished the setup process quickly and just typed admin account to login the openfire Administration Console, it’s also works well.

But when I back and check the Eclipse console, I got this:

16:27:01,283 ERROR CertificateManager:301 - Error decoding subjectAltName

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

      at org.jivesoftware.util.CertificateManager.getSubjectAlternativeNames(CertificateManager.java:260)

      at org.jivesoftware.util.CertificateManager.getPeerIdentities(CertificateManager.java:223)

      at org.jivesoftware.util.CertificateManager.isCertificate(CertificateManager.java:371)

      at org.jivesoftware.util.CertificateManager.isRSACertificate(CertificateManager.java:322)

      at org.jivesoftware.openfire.http.HttpBindManager.createSSLConnector(HttpBindManager.java:210)

      at org.jivesoftware.openfire.http.HttpBindManager.configureHttpBindServer(HttpBindManager.java:506)

      at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:163)

      at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startHTTPBindListeners(ConnectionManagerImpl.java:564)

      at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:180)

      at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$0(ConnectionManagerImpl.java:139)

      at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:152)

      at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:568)

      at org.jivesoftware.openfire.container.PluginManager.access$6(PluginManager.java:566)

      at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1084)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:98)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:180)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

      at java.lang.Thread.run(Thread.java:695)

What’s going on out there, Is it a serious exception?

Thanks for your help!

Seems like a version conflict with the bouncycastle jars.

I’ve once had a similar exception, because I had a different bouncycastle jar in my classpath (Java installation). Openfire did use that one, instead of its own.

But it’s just a vague thought.

I have encountered this problem should be how to solve it?