[
https://issues.jboss.org/browse/SEAMSERVLET-12?page=com.atlassian.jira.pl...
]
Shane Bryzak updated SEAMSERVLET-12:
------------------------------------
Fix Version/s: The Future
Events get fired after Weld Servlet shuts down
----------------------------------------------
Key: SEAMSERVLET-12
URL:
https://issues.jboss.org/browse/SEAMSERVLET-12
Project: Seam Servlet
Issue Type: Bug
Components: Event Bridge
Reporter: Pete Muir
Fix For: The Future
java.lang.IllegalStateException: Singleton is not set
at
org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52)
at org.jboss.weld.Container.instance(Container.java:58)
at
org.jboss.weld.resolution.ResolvableBuilder.checkQualifier(ResolvableBuilder.java:210)
at org.jboss.weld.resolution.ResolvableBuilder.addQualifier(ResolvableBuilder.java:175)
at
org.jboss.weld.resolution.ResolvableBuilder.addQualifiers(ResolvableBuilder.java:194)
at
org.jboss.weld.manager.BeanManagerImpl.resolveObserverMethods(BeanManagerImpl.java:459)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:598)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:592)
at
org.jboss.seam.servlet.event.AbstractServletEventBridge.fireEvent(AbstractServletEventBridge.java:37)
at
org.jboss.seam.servlet.event.ServletEventBridge.attributeRemoved(ServletEventBridge.java:145)
at
org.apache.catalina.core.ApplicationContext.removeAttribute(ApplicationContext.java:710)
at
org.apache.catalina.core.ApplicationContextFacade.removeAttribute(ApplicationContextFacade.java:344)
at org.jboss.weld.servlet.WeldListener.contextDestroyed(WeldListener.java:111)
at
org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextDestroyed(ForwardingServletListener.java:32)
at org.jboss.weld.environment.servlet.Listener.contextDestroyed(Listener.java:99)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3949)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4578)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1175)
at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4668)
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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeployInternal(TomcatDeployment.java:607)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeploy(TomcatDeployment.java:581)
at org.jboss.web.deployers.AbstractWarDeployment.stop(AbstractWarDeployment.java:480)
at org.jboss.web.deployers.WebModule.stopModule(WebModule.java:133)
at org.jboss.web.deployers.WebModule.stop(WebModule.java:102)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.stop(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.stop(ServiceController.java:510)
at
org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.uninstall(ServiceControllerStartStopLifecycleCallback.java:52)
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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
at
org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:291)
at
org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.uninstall(AbstractLifecycleCallbackItem.java:112)
at
org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1591)
at
org.jboss.dependency.plugins.AbstractController.handleUninstallLifecycleCallbacks(AbstractController.java:1567)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1293)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.stop(ServiceController.java:510)
at
org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.uninstall(ServiceControllerStartStopLifecycleCallback.java:52)
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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
at
org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:291)
at
org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.uninstall(AbstractLifecycleCallbackItem.java:112)
at
org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1591)
at
org.jboss.dependency.plugins.AbstractController.handleUninstallLifecycleCallbacks(AbstractController.java:1567)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1293)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:658)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:571)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:160)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:52)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:117)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:204)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1484)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1391)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1384)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1346)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:702)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:676)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:417)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1685)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1295)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1198)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1254)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:831)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:448)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:381)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:339)
at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571)
at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira