Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4692

RS: edit project in project broker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.2.10, 15.0.1
    • Component/s: Course
    • Labels:
      None

      Description

      This is a recurring red screen on some university instances. The issue cannot be completely solved without rewriting the manager part of the module but we can reduce the problem with some workarounds:

      • Join fetch the group
      • Catch the error in the most common places where it happens
      • Add fetch join in some queries
      2020-05-13 14:07:47.486 [ajp-nio2-8021-exec-221] ERROR OLATRuntimeException ^%^ I1729091-J475037 ^%^ org.olat.core.logging.OLATRuntimeException 
      https://lms.xyz.de/auth/Project/3387949084
      Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
      
      **RedScreen** could not initialize proxy [org.olat.group.BusinessGroupImpl#3387850821] - no Session
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>edit.project.button</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>edit.project.button</command>
      			<tostring>com:edit.project.button,org.olat.core.gui.control.Event@5b3a182a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.projectbroker.ProjectDetailsDisplayController</controllername>
      		<controllername>org.olat.course.nodes.projectbroker.ProjectListController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      org.olat.core.logging.OLATRuntimeException: could not initialize proxy [org.olat.group.BusinessGroupImpl#3387850821] - no Session
       at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:112)
       at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
       at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:588)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:284)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:263)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95)
       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:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
       at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479)
       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
       at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1699)
       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1050)
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:630)
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:608)
       at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
       at sun.nio.ch.Invoker$2.run(Invoker.java:218)
       at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
       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)
      Caused by: org.hibernate.LazyInitializationException: could not initialize proxy [org.olat.group.BusinessGroupImpl#3387850821] - no Session
       at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:170)
       at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:310)
       at org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor.intercept(ByteBuddyInterceptor.java:45)
       at org.hibernate.proxy.ProxyConfiguration$InterceptorDispatcher.intercept(ProxyConfiguration.java:95)
       at org.olat.group.BusinessGroupImpl$HibernateProxy$WYOcA7Ii.isAllowToLeave(Unknown Source)
       at org.olat.course.nodes.projectbroker.service.ProjectGroupManagerImpl.isDeselectionAllowed(ProjectGroupManagerImpl.java:418)
       at org.olat.course.nodes.projectbroker.ProjectEditDetailsFormController.initForm(ProjectEditDetailsFormController.java:225)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:278)
       at org.olat.course.nodes.projectbroker.ProjectEditDetailsFormController.<init>(ProjectEditDetailsFormController.java:137)
       at org.olat.course.nodes.projectbroker.ProjectDetailsPanelController.openEditController(ProjectDetailsPanelController.java:146)
       at org.olat.course.nodes.projectbroker.ProjectDetailsPanelController.event(ProjectDetailsPanelController.java:115)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:247)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:194)
       at org.olat.course.nodes.projectbroker.ProjectDetailsDisplayController.event(ProjectDetailsDisplayController.java:234)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:207)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:194)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1218)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:400) ... 39 more
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: