java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ... 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)
    via by Armond Avanes,
  • ... 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)
    via by Armond Avanes,
    • 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)
    No Bugmate found.