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

RS if an author try to resume a test which has been changed

    XMLWordPrintable

    Details

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

      Description

      The fix need to apply only for test opened in author mode.

      RedScreen on xyz 11.4.1
      2017-05-15 18:25:02,089 [ajp-nio2-8026-exec-64] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N26-E177 ^%^ org.olat.core.logging
      https://xyz.olat.com/auth/RepositorySite/0/My/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30
      **RedScreen** Global index of uk.ac.ed.ph.jqtiplus.state.TestPlanNode@4342bbd0(itemSystemId=file:/fx/appfs/xyz/bcroot/repository/95578855160886/_unzipped_/hotspota9baf4a8abb2fa519bc6b1374.xml,testNodeType=ASSESSMENT_ITEM_REF,sectionPartTitle=Hotspot,siblingIndex=10,effectiveItemSessionControl=uk.ac.ed.ph.jqtiplus.state.EffectiveItemSessionControl@755b7a17(validateResponses=false,showFeedback=false,allowReview=false,allowComment=true,allowSkipping=true,showSolution=false,maxAttempts=0),childCount=0,key=hotspota9baf4a8abb2fa519bc6b1374:12:1) is out of bounds
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_entries</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.elements.table.SelectionEvent</class&gt;
      			<command>select</command>
      			<tostring>com:select,org.olat.core.gui.components.form.flexible.impl.elements.table.SelectionEvent@c9ff351b</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Global index of uk.ac.ed.ph.jqtiplus.state.TestPlanNode@4342bbd0(itemSystemId=file:/fx/appfs/xyz/bcroot/repository/95578855160886/_unzipped_/hotspota9baf4a8abb2fa519bc6b1374.xml,testNodeType=ASSESSMENT_ITEM_REF,sectionPartTitle=Hotspot,siblingIndex=10,effectiveItemSessionControl=uk.ac.ed.ph.jqtiplus.state.EffectiveItemSessionControl@755b7a17(validateResponses=false,showFeedback=false,allowReview=false,allowComment=true,allowSkipping=true,showSolution=false,maxAttempts=0),childCount=0,key=hotspota9baf4a8abb2fa519bc6b1374:12:1) is out of bounds
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         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:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.IllegalStateException: Global index of uk.ac.ed.ph.jqtiplus.state.TestPlanNode@4342bbd0(itemSystemId=file:/fx/appfs/xyz/bcroot/repository/95578855160886/_unzipped_/hotspota9baf4a8abb2fa519bc6b1374.xml,testNodeType=ASSESSMENT_ITEM_REF,sectionPartTitle=Hotspot,siblingIndex=10,effectiveItemSessionControl=uk.ac.ed.ph.jqtiplus.state.EffectiveItemSessionControl@755b7a17(validateResponses=false,showFeedback=false,allowReview=false,allowComment=true,allowSkipping=true,showSolution=false,maxAttempts=0),childCount=0,key=hotspota9baf4a8abb2fa519bc6b1374:12:1) is out of bounds
      -> at uk.ac.ed.ph.jqtiplus.state.TestProcessingMap.resolveAbstractPart(TestProcessingMap.java:163)
         at uk.ac.ed.ph.jqtiplus.state.TestProcessingMap.resolveItemProcessingMap(TestProcessingMap.java:193)
         at uk.ac.ed.ph.jqtiplus.running.TestProcessingController.createItemSessionController(TestProcessingController.java:186)
         at uk.ac.ed.ph.jqtiplus.running.TestProcessingController.getItemSessionController(TestProcessingController.java:179)
         at uk.ac.ed.ph.jqtiplus.running.TestProcessingController.getItemProcessingContext(TestProcessingController.java:160)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.resumeSession(AssessmentTestDisplayController.java:1423)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.initOrResumeAssessmentTestSession(AssessmentTestDisplayController.java:327)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.<init>(AssessmentTestDisplayController.java:251)
         at org.olat.ims.qti21.repository.handlers.QTI21AssessmentTestHandler$1.create(QTI21AssessmentTestHandler.java:349)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.launchContent(RepositoryEntryRuntimeController.java:916)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.doRun(RepositoryEntryRuntimeController.java:778)
      
      2017-05-03 09:09:44,145 [ajp-nio2-8068-exec-9] ERROR Window - OLAT::ERROR ^%^ N68-E3 ^%^ org.olat.core.gui.components
      https://xyz.openolat.com/auth/RepositorySite/0/Search/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen** exception while rendering component 'ffo_at_run' (org.olat.core.gui.components.velocity.VelocityContainer) listener:[org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController [cListener:org.olat.ims.qti21.ui.AssessmentTestDisplayController, ]]
      Message of exception: MethodInvocationException occured while merging template: methName:mayCloseTest, refName:qtiWorksStatus ::_:: ::_:: ^%^ 
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'ffo_at_run' (org.olat.core.gui.components.velocity.VelocityContainer) listener:[org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController [cListener:org.olat.ims.qti21.ui.AssessmentTestDisplayController, ]]<br />Message of exception: MethodInvocationException occured while merging template: methName:mayCloseTest, refName:qtiWorksStatus
      -> at org.olat.core.gui.components.Window.handleDirties(Window.java:1007)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:468)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:178)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      >>> stack of 2.cause::org.olat.core.logging.OLATRuntimeException: MethodInvocationException occured while merging template: methName:mayCloseTest, refName:qtiWorksStatus
      -> at org.olat.core.gui.render.velocity.VelocityHelper.merge(VelocityHelper.java:166)
         at org.olat.core.gui.render.velocity.VelocityHelper.mergeContent(VelocityHelper.java:181)
         at org.olat.core.gui.components.velocity.VelocityContainerRenderer.render(VelocityContainerRenderer.java:68)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainerRenderer.render(FormWrapperContainerRenderer.java:121)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.components.panel.PanelRenderer.render(PanelRenderer.java:44)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.doRender(VelocityRenderDecorator.java:676)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:367)
      >>> stack of 3.cause::java.lang.IllegalStateException: Global index of uk.ac.ed.ph.jqtiplus.state.TestPlanNode@2753228f(testNodeType=ASSESSMENT_ITEM_REF,sectionPartTitle=Single Choice,itemSystemId=file:/fx/appfs/xyz/bcroot/repository/95577145549266/_unzipped_/scf352cbba1e465188f498233c3bec81.xml,siblingIndex=0,effectiveItemSessionControl=uk.ac.ed.ph.jqtiplus.state.EffectiveItemSessionControl@e6f6ba6(allowSkipping=true,validateResponses=false,allowComment=true,allowReview=false,showFeedback=false,showSolution=false,maxAttempts=0),childCount=0,key=aie9478a42d24c8793132caecc420661:2:1) is out of bounds
      -> at uk.ac.ed.ph.jqtiplus.state.TestProcessingMap.resolveAbstractPart(TestProcessingMap.java:163)
         at uk.ac.ed.ph.jqtiplus.state.TestProcessingMap.resolveEffectiveItemSessionControl(TestProcessingMap.java:172)
         at uk.ac.ed.ph.jqtiplus.running.TestSessionController.mayEndCurrentTestPart(TestSessionController.java:605)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksStatus.mayCloseTest(AssessmentTestDisplayController.java:2154)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
         at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
         at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • 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 - 31 minutes
                31m