Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41399

Synoptic Messages error in logs

    Details

    • 19 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Observed on master and 19.x in DEV instances:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsp/synoptic/synMainLite.jsp(226,3) '#{(mfSynopticBeanLite.myContentsSize > 0)}' Error reading [myContentsSize] on type [org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite] 
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856) 
      caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsp/synoptic/synMainLite.jsp(226,3) '#{(mfSynopticBeanLite.myContentsSize > 0)}' Error reading [myContentsSize] on type [org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite] 
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1489) 
      caused by: javax.servlet.ServletException: /jsp/synoptic/synMainLite.jsp(226,3) '#{(mfSynopticBeanLite.myContentsSize > 0)}' Error reading [myContentsSize] on type [org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite] 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 
      caused by: org.apache.jasper.el.JspELException: /jsp/synoptic/synMainLite.jsp(226,3) '#{(mfSynopticBeanLite.myContentsSize > 0)}' Error reading [myContentsSize] on type [org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite] 
      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:200) 
      caused by: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.component.app.messageforums.dao.hibernate.SynopticMsgcntrItemImpl#178 
      at org.hibernate.jpa.event.internal.core.JpaDeleteEventListener.performDetachedEntityDeletionCheck(JpaDeleteEventListener.java:69) 
      at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:106) 
      at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73) 
      at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:956) 
      at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:896) 
      at org.springframework.orm.hibernate4.HibernateTemplate$24.doInHibernate(HibernateTemplate.java:794) 
      at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341) 
      at org.springframework.orm.hibernate4.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:309) 
      at org.springframework.orm.hibernate4.HibernateTemplate.delete(HibernateTemplate.java:787) 
      at org.springframework.orm.hibernate4.HibernateTemplate.delete(HibernateTemplate.java:782) 
      at org.sakaiproject.component.app.messageforums.SynopticMsgcntrManagerImpl.deleteSynopticMsgcntrItem(SynopticMsgcntrManagerImpl.java:137) 
      at sun.reflect.GeneratedMethodAccessor5470.invoke(null:-1) 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
      at java.lang.reflect.Method.invoke(Method.java:498) 
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) 
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) 
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) 
      at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) 
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) 
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) 
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) 
      at com.sun.proxy.$Proxy213.deleteSynopticMsgcntrItem(null:-1) 
      at org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite.getContents(MessageForumSynopticBeanLite.java:201) 
      at org.sakaiproject.tool.messageforums.ui.MessageForumSynopticBeanLite.getMyContentsSize(MessageForumSynopticBeanLite.java:896) 
      at sun.reflect.GeneratedMethodAccessor739.invoke(null:-1) 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
      at java.lang.reflect.Method.invoke(Method.java:498) 
      at javax.el.BeanELResolver.getValue(BeanELResolver.java:94) 
      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:180) 
      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:208) 
      at org.apache.el.parser.AstValue.getValue(AstValue.java:169) 
      at org.apache.el.parser.AstGreaterThan.getValue(AstGreaterThan.java:37) 
      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190) 
      at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:115) 
      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:200) 
      at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:470) 
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1899) 
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1908) 
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:176) 
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:918) 
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1905) 
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1908) 
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1908) 
      at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:446) 
      at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:201) 
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:194) 
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:151) 
      at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:169) 
      at org.sakaiproject.jsf2.app.SakaiViewHandler.renderView(SakaiViewHandler.java:153) 
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:151) 
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:126) 
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) 
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:223) 
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:671) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) 
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) 
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) 
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) 
      at org.sakaiproject.jsf2.util.JsfTool.dispatch(JsfTool.java:215) 
      at org.sakaiproject.jsf2.util.JsfTool.doGet(JsfTool.java:235) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) 
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) 
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352) 
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) 
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513) 
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1489) 
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:200) 
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96) 
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) 
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) 
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) 
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
      at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:679) 
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) 
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) 
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) 
      at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2307) 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
      at java.lang.Thread.run(Thread.java:748)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                agschmidt Andrea Schmidt
                Reporter:
                ottenhoff Sam Ottenhoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code