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

QTI 2.1: reload a fresh candidate session before showing results

    XMLWordPrintable

    Details

      Description

      Happens showing the results directly after a test in a course (rare).

      2019-09-23 11:55:51.567 [ajp-nio2-8032-exec-36] ERROR OLATRuntimeException ^%^ I439771-J74365 ^%^ org.olat.core.logging.OLATRuntimeException
      https://olat.xyz.ch/auth/RepositoryEntry/560726200/CourseNode/100337750960349/test/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 ^%^ **RedScreen** could not initialize proxy [org.olat.repository.RepositoryEntry#560726200] - no Session
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_at_run</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController</controllername>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController</controllername>
      		<controllername>org.olat.course.nodes.iq.QTI21AssessmentRunController</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>
      
      Caused by: org.hibernate.LazyInitializationException: could not initialize proxy [org.olat.repository.RepositoryEntry#560726200] - 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.repository.RepositoryEntry$HibernateProxy$AKZ4Ya4z.equals(Unknown Source)
       at org.olat.ims.qti21.ui.AssessmentResultController.initForm(AssessmentResultController.java:231)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:278)
       at org.olat.ims.qti21.ui.AssessmentResultController.<init>(AssessmentResultController.java:203)
       at org.olat.ims.qti21.ui.AssessmentResultController.<init>(AssessmentResultController.java:151)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.updateStatusAndResults(AssessmentTestDisplayController.java:2202)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.formInnerEvent(AssessmentTestDisplayController.java:2086)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:430)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.event(AssessmentTestDisplayController.java:2044)
       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.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:131)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:717)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormLinkImpl.dispatchFormRequest(FormLinkImpl.java:239)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:561)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:296)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:100)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398)
       ... 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:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m