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

Atlassian JIRA | Armond Avanes | 1 decade ago
  1. 0

    ... when there is no configuration home and it's the first time you're laucnhing teh application to setup. Here is the exception logged on server: [STARTUP] Glue Standard 5.0 Beta2 (c) 2001-2003 webMethods, Inc. [ERROR] webapp: could not start service confluenceservice-v1 java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.confluence.setup.container.SpringContainerContext.getComponent(SpringContainerContext.java:47) at com.atlassian.confluence.rpc.soap.SoapServiceFactory.getService(SoapServiceFactory.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at electric.util.reflect.Reflect.invoke(Reflect.java:123) at electric.util.constructor.Factory.newInstance(Factory.java:73) at electric.service.descriptor.initializer.Constructor.create(Constructor.java:26) at electric.service.descriptor.ServiceDescriptor.setClassLoader(ServiceDescriptor.java:267) at electric.application.web.services.ManagedService.begin(ManagedService.java:55) at electric.application.web.managed.ManagedObject.start(ManagedObject.java:125) at electric.application.web.managed.ObjectManager.add(ObjectManager.java:87) at electric.application.web.services.ServiceManager.publishServiceEntries(ServiceManager.java:109) at electric.application.web.services.ServiceManager.loadServicesFromDescriptors(ServiceManager.java:96) at electric.application.web.services.ServiceManager.start(ServiceManager.java:64) at electric.application.web.WebApplication.startManagers(WebApplication.java:382) at electric.application.web.WebApplication.start(WebApplication.java:286) at electric.server.http.ServletServer.init(ServletServer.java:299) at com.caucho.server.http.Application.createServlet(Application.java:3111) at com.caucho.server.http.Application.loadServlet(Application.java:3062) at com.caucho.server.http.Application.initServlets(Application.java:1923) at com.caucho.server.http.Application.init(Application.java:1849) at com.caucho.server.http.VirtualHost.init(VirtualHost.java:728) at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:885) at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:727) at com.caucho.server.http.ServletServer.init(ServletServer.java:538) at com.caucho.server.http.ResinServer.init(ResinServer.java:406) at com.caucho.server.http.ResinServer.main(ResinServer.java:1167) at com.caucho.server.http.HttpServer.main(HttpServer.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(Unknown Source)

    Atlassian JIRA | 1 decade ago | Armond Avanes
    java.lang.IllegalStateException: Spring Application context has not been set
  2. 0

    ... when there is no configuration home and it's the first time you're laucnhing teh application to setup. Here is the exception logged on server: [STARTUP] Glue Standard 5.0 Beta2 (c) 2001-2003 webMethods, Inc. [ERROR] webapp: could not start service confluenceservice-v1 java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.confluence.setup.container.SpringContainerContext.getComponent(SpringContainerContext.java:47) at com.atlassian.confluence.rpc.soap.SoapServiceFactory.getService(SoapServiceFactory.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at electric.util.reflect.Reflect.invoke(Reflect.java:123) at electric.util.constructor.Factory.newInstance(Factory.java:73) at electric.service.descriptor.initializer.Constructor.create(Constructor.java:26) at electric.service.descriptor.ServiceDescriptor.setClassLoader(ServiceDescriptor.java:267) at electric.application.web.services.ManagedService.begin(ManagedService.java:55) at electric.application.web.managed.ManagedObject.start(ManagedObject.java:125) at electric.application.web.managed.ObjectManager.add(ObjectManager.java:87) at electric.application.web.services.ServiceManager.publishServiceEntries(ServiceManager.java:109) at electric.application.web.services.ServiceManager.loadServicesFromDescriptors(ServiceManager.java:96) at electric.application.web.services.ServiceManager.start(ServiceManager.java:64) at electric.application.web.WebApplication.startManagers(WebApplication.java:382) at electric.application.web.WebApplication.start(WebApplication.java:286) at electric.server.http.ServletServer.init(ServletServer.java:299) at com.caucho.server.http.Application.createServlet(Application.java:3111) at com.caucho.server.http.Application.loadServlet(Application.java:3062) at com.caucho.server.http.Application.initServlets(Application.java:1923) at com.caucho.server.http.Application.init(Application.java:1849) at com.caucho.server.http.VirtualHost.init(VirtualHost.java:728) at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:885) at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:727) at com.caucho.server.http.ServletServer.init(ServletServer.java:538) at com.caucho.server.http.ResinServer.init(ResinServer.java:406) at com.caucho.server.http.ResinServer.main(ResinServer.java:1167) at com.caucho.server.http.HttpServer.main(HttpServer.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(Unknown Source)

    Atlassian JIRA | 1 decade ago | Armond Avanes
    java.lang.IllegalStateException: Spring Application context has not been set
  3. 0

    [CONF-13207] getComponent Spring Application context has not been set - Atlassian JIRA

    atlassian.com | 7 months ago
    java.lang.IllegalStateException: Spring Application context has not been set
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CONF-13207] getComponent Spring Application context has not been set - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalStateException: Spring Application context has not been set
  6. 0

    I am running Confluence 5.4.2 (but have the same problem with 5.4) on OSX version 10.8.3 (Java 1.7.0_21-b12). My confluence home directory is on an external FAT32 HDD using the built-in database (HSQLDB?). When I login on the desktop, the Popular tab contents don't show up (the loading icon just keeps spinning) and if I try to access the system from a mobile (iOS 6 Safari), I get the following error after login: "There was an error loading the stream items." (Retry or Cancel) Here is my log if it helps: Feb 13, 2014 10:38:41 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8090 Feb 13, 2014 10:38:41 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3857 ms 2014-02-13 10:42:07,135 FATAL [http-8090-1] [confluence.setup.johnson.WebAppContextPathCheck] check Bootstrap did not initialize. Feb 13, 2014 10:42:37 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8090 Feb 13, 2014 10:42:38 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Tomcat-Standalone 2014-02-13 10:42:38,944 FATAL [main] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set 2014-02-13 10:42:38,944 ERROR [main] [confluence.user.listeners.UserSessionExpiryListener] sessionDestroyed Application server does not give us access to expired sessions. Listeners that depend on receiving LogoutEvent will not be reliable. This web server is probably unsupported. java.lang.IllegalStateException: Spring Application context has not been set at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48) at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:65) at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:37) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:720) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:655) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:689) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4882) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) at org.apache.catalina.core.StandardService.stop(StandardService.java:604) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788) at org.apache.catalina.startup.Catalina.stop(Catalina.java:662) at org.apache.catalina.startup.Catalina.start(Catalina.java:629) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2014-02-13 10:42:38,945 FATAL [main] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set 2014-02-13 10:42:38,945 WARN [main] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Spring Application context has not been set 2014-02-13 10:42:38,945 INFO [main] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence Feb 13, 2014 10:42:38 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Feb 13, 2014 10:42:38 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Feb 13, 2014 10:42:39 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8090 Feb 13, 2014 10:52:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property. Feb 13, 2014 10:52:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property. Feb 13, 2014 10:52:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property. Feb 13, 2014 10:52:04 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property. Feb 13, 2014 10:52:04 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8090 Feb 13, 2014 10:52:04 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 348 ms Feb 13, 2014 10:52:04 AM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Standalone Feb 13, 2014 10:52:04 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.35 Feb 13, 2014 10:52:07 AM org.apache.catalina.startup.TldConfig tldScanJar S2014-02-13 10:52:08,313 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.4.2 [build 4731 based on commit hash 0a2d13ba65b62df25186f4b87e6c642af1792689] Exception in thread "ThreadPoolAsyncTaskExecutor::Thread 15" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'edgeLuceneConnectionFactoryBean' defined in URL [bundle://53.0:0/META-INF/spring/pluginContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.plugins.edgeindex.lucene.EdgeLuceneConnectionFactory]: Constructor threw exception; nested exception is java.nio.channels.OverlappingFileLockException at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) 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) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) 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:680) Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.plugins.edgeindex.lucene.EdgeLuceneConnectionFactory]: Constructor threw exception; nested exception is java.nio.channels.OverlappingFileLockException at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248) ... 21 more Caused by: java.nio.channels.OverlappingFileLockException at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(FileChannelImpl.java:1166) at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(FileChannelImpl.java:1068) at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:868) at java.nio.channels.FileChannel.tryLock(FileChannel.java:962) at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:217) at org.apache.lucene.store.Lock.obtain(Lock.java:72) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:644) at com.atlassian.bonnie.LuceneConnection.upgradeIndexIfNecessary(LuceneConnection.java:455) at com.atlassian.bonnie.LuceneConnection.ensureCorrectIndexFormat(LuceneConnection.java:424) at com.atlassian.bonnie.LuceneConnection.<init>(LuceneConnection.java:74) at com.atlassian.confluence.plugins.edgeindex.lucene.EdgeLuceneConnectionFactory.<init>(EdgeLuceneConnectionFactory.java:25) 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) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) ... 23 more Feb 13, 2014 10:54:15 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8090 Feb 13, 2014 10:54:15 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 130843 ms Feb 13, 2014 10:54:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 10:54:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 10:54:20 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc Feb 13, 2014 10:54:20 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport Feb 13, 2014 10:54:20 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.resourcedoc.AtlassianWadlGeneratorResourceDocSupport Feb 13, 2014 10:54:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 10:54:27 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 10:54:27 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc Feb 13, 2014 10:54:27 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport Feb 13, 2014 10:54:27 AM com.sun.jersey.api.wadl.config.WadlGeneratorLoader loadWadlGenerator INFO: Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.resourcedoc.AtlassianWadlGeneratorResourceDocSupport Feb 13, 2014 10:54:27 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 10:54:27 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.8-atlassian-11 03/22/2013 05:02 PM' Feb 13, 2014 11:20:39 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8090 Feb 13, 2014 11:20:40 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Tomcat-Standalone Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [HSQLDB Timer @359f498] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Timer-3] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [__DEFAULT__] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. Feb 13, 2014 11:20:54 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Statistics Thread] but has failed to stop it. This is very likely to create a memory leak. log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Feb 13, 2014 11:20:56 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8090

    Atlassian JIRA | 3 years ago | William Rapert
    java.lang.IllegalStateException: Spring Application context has not been set

    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.confluence.setup.container.SpringContainerContext.getComponent()
    2. com.atlassian.confluence
      SoapServiceFactory.getService
      1. com.atlassian.confluence.setup.container.SpringContainerContext.getComponent(SpringContainerContext.java:47)
      2. com.atlassian.confluence.rpc.soap.SoapServiceFactory.getService(SoapServiceFactory.java:15)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. electric.util.reflect
      Reflect.invoke
      1. electric.util.reflect.Reflect.invoke(Reflect.java:123)
      1 frame
    5. electric.util.constructor
      Factory.newInstance
      1. electric.util.constructor.Factory.newInstance(Factory.java:73)
      1 frame
    6. electric.service.descriptor
      ServiceDescriptor.setClassLoader
      1. electric.service.descriptor.initializer.Constructor.create(Constructor.java:26)
      2. electric.service.descriptor.ServiceDescriptor.setClassLoader(ServiceDescriptor.java:267)
      2 frames
    7. electric.application.web
      WebApplication.start
      1. electric.application.web.services.ManagedService.begin(ManagedService.java:55)
      2. electric.application.web.managed.ManagedObject.start(ManagedObject.java:125)
      3. electric.application.web.managed.ObjectManager.add(ObjectManager.java:87)
      4. electric.application.web.services.ServiceManager.publishServiceEntries(ServiceManager.java:109)
      5. electric.application.web.services.ServiceManager.loadServicesFromDescriptors(ServiceManager.java:96)
      6. electric.application.web.services.ServiceManager.start(ServiceManager.java:64)
      7. electric.application.web.WebApplication.startManagers(WebApplication.java:382)
      8. electric.application.web.WebApplication.start(WebApplication.java:286)
      8 frames
    8. electric.server.http
      ServletServer.init
      1. electric.server.http.ServletServer.init(ServletServer.java:299)
      1 frame
    9. com.caucho.server
      HttpServer.main
      1. com.caucho.server.http.Application.createServlet(Application.java:3111)
      2. com.caucho.server.http.Application.loadServlet(Application.java:3062)
      3. com.caucho.server.http.Application.initServlets(Application.java:1923)
      4. com.caucho.server.http.Application.init(Application.java:1849)
      5. com.caucho.server.http.VirtualHost.init(VirtualHost.java:728)
      6. com.caucho.server.http.ServletServer.initHosts(ServletServer.java:885)
      7. com.caucho.server.http.ServletServer.initInternal(ServletServer.java:727)
      8. com.caucho.server.http.ServletServer.init(ServletServer.java:538)
      9. com.caucho.server.http.ResinServer.init(ResinServer.java:406)
      10. com.caucho.server.http.ResinServer.main(ResinServer.java:1167)
      11. com.caucho.server.http.HttpServer.main(HttpServer.java:103)
      11 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    11. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(Unknown Source)
      1 frame