Expertanswer

Archive

An exception has occured.

EntityManager is closed
Contact administrator ( expertsvar@vr.se ) to get help

class java.lang.IllegalStateException

java.lang.IllegalStateException: EntityManager is closed at org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:42) at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:448) at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:443) at org.springframework.orm.jpa.EntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactoryUtils.java:175) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:175) at $Proxy54.getReference(Unknown Source) at se.vr.expertanswer.dao.impl.GenericDaoJpa.read(GenericDaoJpa.java:55) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy58.read(Unknown Source) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy68.read(Unknown Source) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy69.read(Unknown Source) at se.vr.expertanswer.service.impl.PressReleaseServiceImpl.read(PressReleaseServiceImpl.java:79) at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy98.read(Unknown Source) at se.vr.expertanswer.portlet.pressrelease.ViewPressReleaseController.handleRenderRequestInternal(ViewPressReleaseController.java:108) at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:219) at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:163) at senselogic.sitevision.core.portlet.PortletInvoker.run(PortletInvoker.java:99) at senselogic.sitevision.api.portlet.PortletInvokerServlet.service(PortletInvokerServlet.java:46) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) at senselogic.sitevision.core.portlet.PortletRenderer.render(PortletRenderer.java:535) at senselogic.sitevision.core.portlet.PortletRenderer.renderPortlet(PortletRenderer.java:266) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:124) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:242) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:62) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:137) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:242) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:62) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:137) at senselogic.sitevision.content.HorizontalLayoutStrategy.renderLayout(HorizontalLayoutStrategy.java:261) at senselogic.sitevision.content.HorizontalLayoutStrategy.render(HorizontalLayoutStrategy.java:60) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:137) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:242) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:62) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:137) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:242) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.content.LayoutStrategy.delegateRendering(LayoutStrategy.java:137) at senselogic.sitevision.content.VerticalLayoutStrategy.render(VerticalLayoutStrategy.java:242) at senselogic.sitevision.core.portlet.PortletRenderer.renderLayout(PortletRenderer.java:699) at senselogic.sitevision.core.portlet.PortletRenderer$TemplateUtil.getOutput(PortletRenderer.java:1219) at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:300) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:231) at org.apache.velocity.Template.merge(Template.java:256) at senselogic.sitevision.core.portlet.PortletRenderer.renderPage(PortletRenderer.java:1062) at senselogic.sitevision.core.portlet.PortletRenderer.renderPage(PortletRenderer.java:732) at senselogic.sitevision.core.web.servlet.PageServlet.doGet(PageServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.HighlightServletFilter.doFilter(HighlightServletFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.RemoveInlineCssFilter.doFilter(RemoveInlineCssFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.SpiderLogFilter.doFilter(SpiderLogFilter.java:148) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.PageLogFilter.doFilter(PageLogFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.RenderingStateFilter.doFilter(RenderingStateFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.SchemeFilter.doFilter(SchemeFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.NodeAuthorizationFilter.doFilter(NodeAuthorizationFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.CheckSiteContextFilter.doFilter(CheckSiteContextFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter$1$1.run(JaasAuthenticationFilter.java:234) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Unknown Source) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter$1.doFilter(JaasAuthenticationFilter.java:225) at senselogic.sitevision.security.jaas.filter.QueryParameterAuthenticationFilter.doFilter(QueryParameterAuthenticationFilter.java:107) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter$1.doFilter(JaasAuthenticationFilter.java:163) at senselogic.sitevision.security.jaas.filter.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:100) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter$1.doFilter(JaasAuthenticationFilter.java:163) at senselogic.sitevision.security.jaas.filter.ClientAddressAuthenticationFilter.doFilter(ClientAddressAuthenticationFilter.java:60) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter$1.doFilter(JaasAuthenticationFilter.java:163) at senselogic.sitevision.security.jaas.web.JaasAuthenticationFilter.doFilter(JaasAuthenticationFilter.java:306) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.VersioningFilter.doFilter(VersioningFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.FileUploadFilter.doFilter(FileUploadFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:370) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) at senselogic.sitevision.core.web.filter.ContextFilter.doFilter(ContextFilter.java:204) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.servlet.ErrorFilter.doFilter(ErrorFilter.java:188) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.AddressValidationFilter.doFilter(AddressValidationFilter.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.ThroughputFilter.doFilter(ThroughputFilter.java:116) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.ValveFilter.doFilter(ValveFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at senselogic.sitevision.core.web.filter.PortletClassloaderFilter.doFilter(PortletClassloaderFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source)

- Home -