org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError

Atlassian JIRA | Kah Loun Foong [Atlassian] | 5 years ago
  1. 0

    If JIRA does not have the permission to read the file {{crowd.properties}}, it will have the following error: {noformat} 2012-05-07 14:05:08,757 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /mnt/store/atlassian/jira/home/plugins/.bundled-plugins/workflow-designer-plugin-2.5.4.jar (1333044618000) created 2012-05-07 14:05:13,884 main INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [crowd-rest-plugin, com.atlassian.gadgets.dashboard, com.atlassian.activeobjects.activeobjects-plugin, com.atlassian.jira.jira-project-config-plugin, com.atlassian.gadgets.embedded, com.atlassian.jira.jira-issue-link-applinks-common-plugin, com.atlassian.streams.streams-jira-plugin, com.atlassian.jira.plugin.ext.bamboo, com.atlassian.gadgets.opensocial, com.atlassian.jira.plugins.jira-importers-plugin, com.atlassian.plugins.rest.atlassian-rest-module, com.atlassian.sal.jira, com.atlassian.streams.core, crowd-rest-application-management, com.atlassian.jira.jira-view-issue-plugin, com.atlassian.oauth.serviceprovider, com.atlassian.upm.atlassian-universal-plugin-manager-plugin, com.atlassian.jira.plugins.jira-workflow-designer, com.atlassian.streams.streams-thirdparty-plugin, com.atlassian.gadgets.publisher, com.atlassian.jira.jira-issue-link-confluence-plugin, com.atlassian.jira.rest, com.atlassian.crowd.embedded.admin, com.atlassian.gadgets.directory, com.atlassian.streams.actions, com.atlassian.soy.soy-template-plugin, tac.jira.languages.ja_JP, com.atlassian.gadgets.oauth.serviceprovider, com.atlassian.streams, com.atlassian.applinks.applinks-plugin, com.atlassian.jira.jira-issue-link-remote-jira-plugin, com.atlassian.oauth.admin, com.atlassian.jira.gadgets, com.atlassian.support.stp, com.atlassian.jirafisheyeplugin], 60 seconds remaining 2012-05-07 14:05:13,926 Spring executor 2 ERROR [crowd.service.client.ClientResourceLocator] java.net.MalformedURLException at java.net.URL.<init>(URL.java:601) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) ... 2012-05-07 14:05:14,227 Spring executor 2 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.sal.jira org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) ... Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError ... Caused by: java.lang.ExceptionInInitializerError ... Caused by: java.lang.IllegalArgumentException: org.apache.commons.httpclient.URIException: URI-Reference required ... Caused by: org.apache.commons.httpclient.URIException: URI-Reference required ... 2012-05-07 14:07:19,281 main ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA. java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory at com.atlassian.jira.security.login.SSOSeraphAuthenticator.<init>(SSOSeraphAuthenticator.java:26) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) {noformat} It should have the 'Permission denied' error when JIRA failed to read the file.

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
  2. 0

    If JIRA does not have the permission to read the file {{crowd.properties}}, it will have the following error: {noformat} 2012-05-07 14:05:08,757 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /mnt/store/atlassian/jira/home/plugins/.bundled-plugins/workflow-designer-plugin-2.5.4.jar (1333044618000) created 2012-05-07 14:05:13,884 main INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [crowd-rest-plugin, com.atlassian.gadgets.dashboard, com.atlassian.activeobjects.activeobjects-plugin, com.atlassian.jira.jira-project-config-plugin, com.atlassian.gadgets.embedded, com.atlassian.jira.jira-issue-link-applinks-common-plugin, com.atlassian.streams.streams-jira-plugin, com.atlassian.jira.plugin.ext.bamboo, com.atlassian.gadgets.opensocial, com.atlassian.jira.plugins.jira-importers-plugin, com.atlassian.plugins.rest.atlassian-rest-module, com.atlassian.sal.jira, com.atlassian.streams.core, crowd-rest-application-management, com.atlassian.jira.jira-view-issue-plugin, com.atlassian.oauth.serviceprovider, com.atlassian.upm.atlassian-universal-plugin-manager-plugin, com.atlassian.jira.plugins.jira-workflow-designer, com.atlassian.streams.streams-thirdparty-plugin, com.atlassian.gadgets.publisher, com.atlassian.jira.jira-issue-link-confluence-plugin, com.atlassian.jira.rest, com.atlassian.crowd.embedded.admin, com.atlassian.gadgets.directory, com.atlassian.streams.actions, com.atlassian.soy.soy-template-plugin, tac.jira.languages.ja_JP, com.atlassian.gadgets.oauth.serviceprovider, com.atlassian.streams, com.atlassian.applinks.applinks-plugin, com.atlassian.jira.jira-issue-link-remote-jira-plugin, com.atlassian.oauth.admin, com.atlassian.jira.gadgets, com.atlassian.support.stp, com.atlassian.jirafisheyeplugin], 60 seconds remaining 2012-05-07 14:05:13,926 Spring executor 2 ERROR [crowd.service.client.ClientResourceLocator] java.net.MalformedURLException at java.net.URL.<init>(URL.java:601) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) ... 2012-05-07 14:05:14,227 Spring executor 2 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.sal.jira org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) ... Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError ... Caused by: java.lang.ExceptionInInitializerError ... Caused by: java.lang.IllegalArgumentException: org.apache.commons.httpclient.URIException: URI-Reference required ... Caused by: org.apache.commons.httpclient.URIException: URI-Reference required ... 2012-05-07 14:07:19,281 main ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA. java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory at com.atlassian.jira.security.login.SSOSeraphAuthenticator.<init>(SSOSeraphAuthenticator.java:26) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) {noformat} It should have the 'Permission denied' error when JIRA failed to read the file.

    Atlassian JIRA | 5 years ago | Kah Loun Foong [Atlassian]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
  3. 0

    beaninstantiationexception in using spring with jsf

    Stack Overflow | 6 years ago | mvg
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.address.AddressDAO]: Specified class is an interface
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error creating bean - maven spring hibernate project

    Stack Overflow | 2 years ago | vipin cp
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
  6. 0

    java.lang.ClassNotFoundException: org.hibernate.cfg.Configuration

    Stack Overflow | 4 years ago | swemon
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError

    25 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. org.springframework.beans.factory.BeanCreationException

      Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      4 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame