This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

destroy() on bean with name 'userCache' threw an exceptionPage Title Module

&#91;9/22/04 21&#58;34&#58;38&#58;016 EEST&#93; 7036e5e3 XmlWebApplica I org.springframework.web.context.support.XmlWebApplicationContext Closing application context &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;
&#91;9/22/04 21&#58;34&#58;38&#58;047 EEST&#93; 7036e5e3 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;authenticationDao,filterInvocationInterceptor,daoAuthenticationProvider,userCache,authenticationManager,roleVoter,accessDecisionManager,authenticationProcessingFilter,securityEnforcementFilter,authenticationProcessingFilterEntryPoint,autoIntegrationFilter,dataSource,sessionFactory,transactionManager,userDAO,userManagerTarget,userManager,/user&#93;; parent=<org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;authenticationDao,filterInvocationInterceptor,daoAuthenticationProvider,userCache,authenticationManager,roleVoter,accessDecisionManager,authenticationProcessingFilter,securityEnforcementFilter,authenticationProcessingFilterEntryPoint,autoIntegrationFilter,dataSource,sessionFactory,transactionManager,userDAO,userManagerTarget,userManager&#93;; Root of BeanFactory hierarchy>&#125;
&#91;9/22/04 21&#58;34&#58;38&#58;047 EEST&#93; 7036e5e3 LocalSessionF I org.springframework.orm.hibernate.LocalSessionFactoryBean Closing Hibernate SessionFactory
&#91;9/22/04 21&#58;34&#58;38&#58;047 EEST&#93; 7036e5e3 SessionFactor I net.sf.hibernate.impl.SessionFactoryImpl closing
&#91;9/22/04 21&#58;34&#58;38&#58;047 EEST&#93; 7036e5e3 DefaultListab E org.springframework.beans.factory.support.DefaultListableBeanFactory destroy&#40;&#41; on bean with name 'userCache' threw an exception
&#91;9/22/04 21&#58;34&#58;38&#58;062 EEST&#93; 7036e5e3 DefaultListab E org.springframework.beans.factory.support.DefaultListableBeanFactory TRAS0014I&#58; The following exception was logged java.lang.NullPointerException
at net.sf.acegisecurity.providers.dao.cache.EhCacheBasedUserCache.destroy&#40;EhCacheBasedUserCache.java&#58;112&#41;
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.destroyBean&#40;AbstractAutowireCapableBeanFactory.java&#58;863&#41;
at org.springframework.beans.factory.support.AbstractBeanFactory.destroySingleton&#40;AbstractBeanFactory.java&#58;374&#41;
at org.springframework.beans.factory.support.AbstractBeanFactory.destroySingletons&#40;AbstractBeanFactory.java&#58;360&#41;
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.destroySingletons&#40;AbstractAutowireCapableBeanFactory.java&#58;826&#41;
at org.springframework.context.support.AbstractApplicationContext.close&#40;AbstractApplicationContext.java&#58;387&#41;
at org.springframework.web.struts.ContextLoaderPlugIn.destroy&#40;ContextLoaderPlugIn.java&#58;330&#41;
at org.apache.struts.action.ActionServlet.destroyModules&#40;ActionServlet.java&#58;553&#41;
at org.apache.struts.action.ActionServlet.destroy&#40;ActionServlet.java&#58;347&#41;
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doDestroy&#40;StrictServletInstance.java&#58;159&#41;
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._destroy&#40;StrictLifecycleServlet.java&#58;218&#41;
at com.ibm.ws.webcontainer.servlet.IdleServletState.destroy&#40;StrictLifecycleServlet.java&#58;316&#41;
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.destroy&#40;StrictLifecycleServlet.java&#58;119&#41;
at com.ibm.ws.webcontainer.servlet.ServletInstance.destroy&#40;ServletInstance.java&#58;470&#41;
at com.ibm.ws.webcontainer.servlet.ServletManager.removeServlet&#40;ServletManager.java&#58;153&#41;
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.removeServlet&#40;WebAppServletManager.java&#58;410&#41;
at com.ibm.ws.webcontainer.servlet.ServletManager.removeAllServlets&#40;ServletManager.java&#58;186&#41;
at com.ibm.ws.webcontainer.webapp.WebApp.destroy&#40;WebApp.java&#58;380&#41;
at com.ibm.ws.webcontainer.srt.WebGroup.shutdown&#40;WebGroup.java&#58;1334&#41;
at com.ibm.ws.webcontainer.WebContainer.removeWebApplication&#40;WebContainer.java&#58;1050&#41;
at com.ibm.ws.runtime.component.WebContainerImpl.uninstall&#40;WebContainerImpl.java&#58;147&#41;
at com.ibm.ws.runtime.component.WebContainerImpl.stop&#40;WebContainerImpl.java&#58;367&#41;
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop&#40;ApplicationMgrImpl.java&#58;519&#41;
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop&#40;DeployedApplicationImpl.java&#58;813&#41;
at com.ibm.ws.runtime.component.DeployedModuleImpl.stop&#40;DeployedModuleImpl.java&#58;381&#41;
at com.ibm.ws.runtime.component.DeployedApplicationImpl.stop&#40;DeployedApplicationImpl.java&#58;615&#41;
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication&#40;ApplicationMgrImpl.java&#58;410&#41;
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication&#40;ApplicationMgrImpl.java&#58;596&#41;
at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;79&#41;
at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#40;Compiled Code&#41;&#41;
at java.lang.reflect.Method.invoke&#40;Method.java&#40;Compiled Code&#41;&#41;
at com.tivoli.jmx.modelmbean.MMBInvoker.invoke&#40;MMBInvoker.java&#58;46&#41;
at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation&#40;MMBInvoker.java&#58;115&#41;
at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke&#40;DynamicModelMBeanSupport.java&#58;409&#41;
at javax.management.modelmbean.RequiredModelMBean.invoke&#40;RequiredModelMBean.java&#58;323&#41;
at com.tivoli.jmx.GenericMBeanSupport.invoke&#40;GenericMBeanSupport.java&#58;178&#41;
at com.tivoli.jmx.MBeanAccess.invoke&#40;MBeanAccess.java&#58;113&#41;
at com.tivoli.jmx.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;290&#41;
at com.ibm.ws.management.AdminServiceImpl.invoke&#40;AdminServiceImpl.java&#58;659&#41;
at com.ibm.ws.management.connector.AdminServiceDelegator.invoke&#40;AdminServiceDelegator.java&#58;130&#41;
at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;79&#41;
at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#40;Compiled Code&#41;&#41;
at java.lang.reflect.Method.invoke&#40;Method.java&#40;Compiled Code&#41;&#41;
at com.ibm.ws.management.connector.soap.SOAPConnector.invoke&#40;SOAPConnector.java&#58;306&#41;
at com.ibm.ws.management.connector.soap.SOAPConnector.service&#40;SOAPConnector.java&#58;178&#41;
at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest&#40;SOAPConnection.java&#58;55&#41;
at com.ibm.ws.http.HttpConnection.readAndHandleRequest&#40;HttpConnection.java&#58;618&#41;
at com.ibm.ws.http.HttpConnection.run&#40;HttpConnection.java&#58;439&#41;
at com.ibm.ws.util.ThreadPool$Worker.run&#40;ThreadPool.java&#58;672&#41;