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

QTI 2.1: RS: timer component cannot get the duration

    XMLWordPrintable

    Details

      Description

      This can happen if the time limit is done with the course element "Set assessment period" configuration and the assessed user wait until the end of the time. The only good news is that the red screen happens after the test being ended.

      2020-09-09 09:06:31.055 [ajp-nio2-8032-exec-50] ERROR Window ^%^ I392264-J55844 ^%^ org.olat.core.gui.components.Window
      https://olat.xyz.ch/auth/RepositoryEntry/596738447/CourseNode/102274586354931/test/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
      **RedScreen** exception while rendering component 'timer' (org.olat.ims.qti21.ui.components.AssessmentTestTimerComponent) listener:[]<br />Message of exception: null :
      org.olat.core.logging.OLATRuntimeException: exception while rendering component 'timer' (org.olat.ims.qti21.ui.components.AssessmentTestTimerComponent) listener:[]
      Message of exception: null
       at org.olat.core.gui.components.Window.handleDirties(Window.java:1098)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:540)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:310)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:282)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:194)
       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:97)
       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: java.lang.NullPointerException
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.getAssessmentTestDuration(AssessmentTestDisplayController.java:779)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.getAssessmentTestMaxTimeLimit(AssessmentTestDisplayController.java:722)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.access$1600(AssessmentTestDisplayController.java:163)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksStatus.isAssessmentTestTimeLimit(AssessmentTestDisplayController.java:2481)
       at org.olat.ims.qti21.ui.components.AssessmentTestTimerComponentRenderer.render(AssessmentTestTimerComponentRenderer.java:46)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:233)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
       at org.olat.core.gui.render.velocity.VelocityRenderDecorator.doRender(VelocityRenderDecorator.java:771)
       at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:420)
       at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
       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:565)
       at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
       at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
       at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
       at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:490)
       at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
       at org.apache.velocity.Template.merge(Template.java:358)
       at org.apache.velocity.Template.merge(Template.java:262)
       at org.olat.core.gui.render.velocity.VelocityHelper.merge(VelocityHelper.java:156)
       at org.olat.core.gui.render.velocity.VelocityHelper.mergeContent(VelocityHelper.java:174)
       at org.olat.core.gui.components.velocity.VelocityContainerRenderer.render(VelocityContainerRenderer.java:65)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:233)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainerRenderer.render(FormWrapperContainerRenderer.java:115)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:233)
       at org.olat.core.gui.components.panel.PanelRenderer.render(PanelRenderer.java:44)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:233)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
       at org.olat.core.gui.render.velocity.VelocityRenderDecorator.doRender(VelocityRenderDecorator.java:771)
       at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:420)
       at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
       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:565)
       at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:548)
       at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:219)
       at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:369)
       at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:490)
       at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
       at org.apache.velocity.Template.merge(Template.java:358)
       at org.apache.velocity.Template.merge(Template.java:262)
       at org.olat.core.gui.render.velocity.VelocityHelper.merge(VelocityHelper.java:156)
       at org.olat.core.gui.render.velocity.VelocityHelper.mergeContent(VelocityHelper.java:174)
       at org.olat.core.gui.components.velocity.VelocityContainerRenderer.render(VelocityContainerRenderer.java:65)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:233)
       at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
       at org.olat.core.gui.components.Window.handleDirties(Window.java:1084)
      ... 40 more
      
      2020-09-09 09:14:13.033 [ajp-nio2-8032-exec-54] ERROR Window ^%^ I396426-J56391 ^%^ org.olat.core.gui.components.Window 
      https://olat.xyz.ch/auth/RepositoryEntry/596738447/CourseNode/102274586354931/test/0 ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 
      **RedScreen** exception while rendering component 'timer' (org.olat.ims.qti21.ui.components.AssessmentTestTimerComponent) listener:[]<br />Message of exception: null ::_:: ::_::
      org.olat.core.logging.OLATRuntimeException: exception while rendering component 'timer' (org.olat.ims.qti21.ui.components.AssessmentTestTimerComponent) listener:[]<br />Message of exception: null
       at org.olat.core.gui.components.Window.handleDirties(Window.java:1098)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:540)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:310)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:282)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:194)
       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:97)
       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: java.lang.NullPointerException
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: