Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by Kevin

    If you are using maven you'd like to exclude your binaries from filtering process.

  2. ,
    Expert tip

    Java Keytool doesn't accept PEM files, you need to convert it to Der before: "openssl x509 -outform der -in certificate.pem -out certificate.der" and to import it to the keystore "keytool -import -alias your-alias -keystore cacerts -file certificate.der"

Solutions on the web

via Stack Overflow by CptS
, 1 year ago
via Oracle Community by user10705439, 2 years ago
No data available in passed DER encoded value.
via Oracle Community by user10705439, 2 years ago
No data available in passed DER encoded value.
via Oracle Community by user10705439, 2 years ago
No data available in passed DER encoded value.
via Oracle Community by SanOra13, 2 years ago
java.io.IOException: No data available in passed DER encoded value.	at sun.security.x509.GeneralNames.(GeneralNames.java:61)	at sun.security.x509.IssuerAlternativeNameExtension.(IssuerAlternativeNameExtension.java:136)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.security.x509.CertificateExtensions.parseExtension(CertificateExtensions.java:113)	at sun.security.x509.CertificateExtensions.init(CertificateExtensions.java:88)	at sun.security.x509.CertificateExtensions.(CertificateExtensions.java:78)	at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:702)	at sun.security.x509.X509CertInfo.(X509CertInfo.java:167)	at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1804)	at sun.security.x509.X509CertImpl.(X509CertImpl.java:195)	at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:100)	at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:755)	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)	at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)	at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)	at java.security.KeyStore.load(KeyStore.java:1445)	at sun.security.ssl.TrustManagerFactoryImpl.getCacertsKeyStore(TrustManagerFactoryImpl.java:226)	at sun.security.ssl.SSLContextImpl$DefaultSSLContext.getDefaultTrustManager(SSLContextImpl.java:767)	at sun.security.ssl.SSLContextImpl$DefaultSSLContext.(SSLContextImpl.java:733)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at java.security.Provider$Service.newInstance(Provider.java:1595)	at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)	at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)	at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)	at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96)	at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:122)	at org.apache.http.conn.ssl.SSLSocketFactory.getSystemSocketFactory(SSLSocketFactory.java:190)	at org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault(SchemeRegistryFactory.java:85)	at org.apache.http.impl.client.SystemDefaultHttpClient.createClientConnectionManager(SystemDefaultHttpClient.java:121)	at org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:484)	at org.apache.solr.client.solrj.impl.HttpClientUtil.setMaxConnections(HttpClientUtil.java:234)	at org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(HttpClientConfigurer.java:40)	at org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(HttpClientUtil.java:149)	at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:125)	at org.apache.solr.client.solrj.impl.HttpSolrClient.(HttpSolrClient.java:189)	at org.apache.solr.client.solrj.impl.HttpSolrClient.(HttpSolrClient.java:162)	at de.test.spring.SolrJConfig.solrClient(SolrJConfig.java:20)	at de.test.spring.SolrJConfig$$EnhancerBySpringCGLIB$$dbd4362f.CGLIB$solrClient$0()	at de.test.spring.SolrJConfig$$EnhancerBySpringCGLIB$$dbd4362f$$FastClassBySpringCGLIB$$8e7566a6.invoke()	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)	at de.test.spring.SolrJConfig$$EnhancerBySpringCGLIB$$dbd4362f.solrClient()	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)	at de.test.WicketApplication.init(WicketApplication.java:32)	at org.apache.wicket.Application.initApplication(Application.java:950)	at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:429)	at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:353)	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4640)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5247)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1703)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)