java.lang.IllegalStateException: Spring Application context has not been set

Atlassian JIRA | Marcin Gardias [Atlassian] | 7 years ago
  1. 0

    The following exception is thrown when opening Bamboo home page on fresh Bamboo instance. 2010-04-23 13:39:51,200 INFO [2054569821@qtp-536836638-0] [JohnsonFilter] The application is not yet setup. Redirecting request from '/' to '/bootstrap/selectSetupStep.action' 2010-04-23 13:39:51,220 FATAL [2054569821@qtp-536836638-0] [SpringContainerContext] Spring Application context has not been set 2010-04-23 13:39:51,220 ERROR [2054569821@qtp-536836638-0] [log] /bamboo/bootstrap/selectSetupStep.action java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48) at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:32) at com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.getLoginInformationManager(BambooElevatedSecurityGuard.java:99) at com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.performElevatedSecurityCheck(BambooElevatedSecurityGuard.java:31) at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromCookie(DefaultAuthenticator.java:343) at com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:271) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45) at com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getUserPrincipal(BaseLoginFilter.java:216) at com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getRemoteUser(BaseLoginFilter.java:210) at com.atlassian.bamboo.filter.AccessLogFilter.getStartText(AccessLogFilter.java:86) at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:62) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:21)

    Atlassian JIRA | 7 years ago | Marcin Gardias [Atlassian]
    java.lang.IllegalStateException: Spring Application context has not been set
  2. 0

    The following exception is thrown when opening Bamboo home page on fresh Bamboo instance. 2010-04-23 13:39:51,200 INFO [2054569821@qtp-536836638-0] [JohnsonFilter] The application is not yet setup. Redirecting request from '/' to '/bootstrap/selectSetupStep.action' 2010-04-23 13:39:51,220 FATAL [2054569821@qtp-536836638-0] [SpringContainerContext] Spring Application context has not been set 2010-04-23 13:39:51,220 ERROR [2054569821@qtp-536836638-0] [log] /bamboo/bootstrap/selectSetupStep.action java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48) at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:32) at com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.getLoginInformationManager(BambooElevatedSecurityGuard.java:99) at com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.performElevatedSecurityCheck(BambooElevatedSecurityGuard.java:31) at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromCookie(DefaultAuthenticator.java:343) at com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:271) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45) at com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getUserPrincipal(BaseLoginFilter.java:216) at com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getRemoteUser(BaseLoginFilter.java:210) at com.atlassian.bamboo.filter.AccessLogFilter.getStartText(AccessLogFilter.java:86) at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:62) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:21)

    Atlassian JIRA | 7 years ago | Marcin Gardias [Atlassian]
    java.lang.IllegalStateException: Spring Application context has not been set
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.IllegalStateException

      Spring Application context has not been set

      at com.atlassian.spring.container.SpringContainerContext.getComponent()
    2. com.atlassian.spring
      ContainerManager.getComponent
      1. com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
      2. com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:32)
      2 frames
    3. com.atlassian.bamboo
      BambooElevatedSecurityGuard.performElevatedSecurityCheck
      1. com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.getLoginInformationManager(BambooElevatedSecurityGuard.java:99)
      2. com.atlassian.bamboo.user.authentication.BambooElevatedSecurityGuard.performElevatedSecurityCheck(BambooElevatedSecurityGuard.java:31)
      2 frames
    4. com.atlassian.seraph
      BaseLoginFilter$SecurityHttpRequestWrapper.getRemoteUser
      1. com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromCookie(DefaultAuthenticator.java:343)
      2. com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:271)
      3. com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45)
      4. com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getUserPrincipal(BaseLoginFilter.java:216)
      5. com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getRemoteUser(BaseLoginFilter.java:210)
      5 frames
    5. com.atlassian.bamboo
      AccessLogFilter.doFilter
      1. com.atlassian.bamboo.filter.AccessLogFilter.getStartText(AccessLogFilter.java:86)
      2. com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:62)
      2 frames
    6. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
      1 frame
    7. com.atlassian.bamboo
      BambooAcegiProxyFilter.doFilter
      1. com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:21)
      1 frame