java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot create inner bean 'jetbrains.jetpass.notification.EmailNotificator#101ada35' of type [jetbrains.jetpass.notification.EmailNotificator] while setting bean property 'emailNotificator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via jetbrains.com by Unknown author, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config
via YouTrack by Unknown author, 10 months ago
jetbrains.exodus.entitystore.EntityStoreException: Failed to insert unique key (already exists), index: service, key, values = [JPService: id = 40-6, YouTrack_Project_PS]
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationService' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot create inner bean 'jetbrains.jetpass.notification.EmailNotificator#101ada35' of type [jetbrains.jetpass.notification.EmailNotificator] while setting bean property 'emailNotificator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jetbrains.jetpass.notification.EmailNotificator#101ada35' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/notification/config/notificationServiceConfiguration.xml]: Cannot resolve reference to bean 'smtpSSLContext' while setting bean property 'sslContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpSSLContext' defined in URL [jar:file:/opt/jetbrains-upsource-2.0.3682/apps/hub/web/WEB-INF/lib/jetpass-core.jar!/jetbrains/jetpass/server/main/jetPassAppConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static javax.net.ssl.SSLContext jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext()] threw exception; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.EOFException
at sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:74)
at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:250)
at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:153)
at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl$4.invoke(TrustStoreImpl.java:149)
at jetbrains.jetpass.userManagement.persistence.ssl.TrustStoreImpl.loadTrustManagers(TrustStoreImpl.java:149)
at jetbrains.jetpass.userManagement.persistence.ssl.KeyStoreImpl.createSSLContext(KeyStoreImpl.java:211)
at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:16)
at jetbrains.jetpass.server.main.SMTPSSLContextResolver$1.invoke(SMTPSSLContextResolver.java:14)
at jetbrains.jetpass.server.main.SMTPSSLContextResolver.createSSLContext(SMTPSSLContextResolver.java:14)
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:497)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:320)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:269)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:121)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:44)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:330)
at webr.framework.controller.WebLocalClasspathXmlServiceLocator.getBean(WebLocalClasspathXmlServiceLocator.java:68)
at jetbrains.jetpass.userManagement.persistence.settings.ApplicationPublicSettingsImpl.setLocale(ApplicationPublicSettingsImpl.java:53)
at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:350)
at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$PublicSettingsUpdater.updateEntity(JetPassSettingsDAO.java:335)
at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:101)
at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO.updateEntity(JetPassSettingsDAO.java:57)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO$2.invoke(JetPassMutableDAO.java:57)
at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO$4.invoke(JetPassReadOnlyDAO.java:180)
at jetbrains.jetpass.dao.dnq.api.JetPassReadOnlyDAO.runTransaction(JetPassReadOnlyDAO.java:177)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.update(JetPassMutableDAO.java:52)
at jetbrains.jetpass.service.bean.JetPassMainApp.initSettings(JetPassMainApp.java:384)
at jetbrains.jetpass.service.bean.JetPassMainApp$3.run(JetPassMainApp.java:154)
at jetbrains.jetpass.server.console.HubPrincipalManagerImpl.runAs(HubPrincipalManagerImpl.java:44)
at jetbrains.jetpass.service.bean.JetPassMainApp.init(JetPassMainApp.java:150)
at jetbrains.jetpass.server.main.App.init(App.java:68)
at jetbrains.jetpass.server.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:13)
at jetbrains.jetpass.server.main.ServletImpl.init(ServletImpl.java:39)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at com.jetbrains.bundle.services.impl.jetty.BundleJettyServicesContainer.startServiceInContainer(BundleJettyServicesContainer.java:74)
at com.jetbrains.bundle.services.impl.BundledService.doStart(BundledService.java:39)
at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:62)
at com.jetbrains.bundle.Services.startService(Services.java:509)
at com.jetbrains.bundle.Services.startAllServices(Services.java:481)
at com.jetbrains.bundle.Services.start(Services.java:459)
at com.jetbrains.bundle.BundleMain.start(BundleMain.java:248)
at com.jetbrains.bundle.BundleMain.start(BundleMain.java:208)
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:497)
at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:108)
at com.sun.proxy.$Proxy2.start(Unknown Source)
at com.jetbrains.bundle.bootstrap.Bundle.start(Bundle.java:54)
at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:83)
at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:81)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.