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

RS if survey is reseted while someone is filling in

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 15.3.12, 15.4.4
    • Course
    • None

    Description

      The RS happens when the person who fills out the survey cklicks on save and the survey was reseted by the administrator in the meantime.

       

       --- from user: 35225603 ---2021-03-10 09:05:43.939 
      [ajp-nio2-192.168.57.206-8060-exec-9] ERROR  OLATRuntimeException ^%^ 
      I31382-J1895 ^%^ org.olat.core.logging.OLATRuntimeException ^%^ 35225603
       ^%^ 85.7.106.218 ^%^ https://abc.openolat.com/auth/RepositoryEntry/36732950/CourseNode/103351953328255
       ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 
      (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 ^%^ **RedScreen** 
      null ::_::     ffo_main_execute   org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer   n/a       org.olat.core.gui.control.Event    validation ok    com:validation ok,org.olat.core.gui.control.Event@d62b3f02          org.olat.modules.forms.ui.EvaluationFormExecutionController   org.olat.course.nodes.survey.ui.SurveyRunController   org.olat.course.run.RunMainController   org.olat.course.run.CourseRuntimeController   org.olat.core.commons.fullWebApp.BaseFullWebappController    ::_:: org.olat.core.logging.OLATRuntimeException 	at org.olat.core.gui.exception.ExceptionWindowController.(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:627) 	at
       org.olat.core.gui.components.Window.doDispatchRequest(Window.java:313) 
      	at 
      org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       	at 
      org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:278)
       	at 
      org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:183)
       	at 
      org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:299)
       	at 
      org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227) 
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) 	at 
      org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159)
       	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) 	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:53) 	
      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:64) 	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:202)
       	at 
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       	at 
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
       	at 
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
       	at 
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
       	at 
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
       	at 
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
       	at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:431) 	
      at 
      org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
       	at 
      org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1674)
       	at 
      org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       	at 
      org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1104)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:598)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:576)
       	at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127) 	at 
      java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219) 	at 
      java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
       	at 
      java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       	at 
      java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       	at 
      org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       	at java.base/java.lang.Thread.run(Thread.java:834) Caused by: 
      java.lang.NullPointerException 	at 
      org.olat.modules.forms.ui.EvaluationFormExecutionController.doSaveResponses(EvaluationFormExecutionController.java:328)
       	at 
      org.olat.modules.forms.ui.EvaluationFormExecutionController.formOK(EvaluationFormExecutionController.java:298)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:390)
       	at 
      org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       	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.fireValidation(FormWrapperContainer.java:124)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:464)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451)
       	at 
      org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       	at 
      org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       	at 
      org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       	at 
      org.olat.core.gui.components.Window.dispatchRequest(Window.java:433) 	
      ... 39 moreDate: 2021-03-10 09:06:...
      Error#: I31404-J1896
      Identity: 35225603
      Category/Class: org.olat.core.gui.exception.ExceptionWindowController
      Remote IP: 85.7.106.218
      Referer: https://smgv.openolat.com/auth/RepositoryEntry/36732950/CourseNode/103351953328255
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
      Exception: ExceptionWindowController: Throwable occurred, logging 
      the full stacktrace: java.lang.NullPointerException 	at 
      org.olat.modules.forms.ui.EvaluationFormExecutionController.doSaveResponses(EvaluationFormExecutionController.java:328)
       	at 
      org.olat.modules.forms.ui.EvaluationFormExecutionController.formOK(EvaluationFormExecutionController.java:298)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:390)
       	at 
      org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       	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.fireValidation(FormWrapperContainer.java:124)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:464)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451)
       	at 
      org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       	at 
      org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       	at 
      org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       	at 
      org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       	at 
      org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       	at 
      org.olat.core.gui.components.Window.dispatchRequest(Window.java:433) 	at
       org.olat.core.gui.components.Window.doDispatchRequest(Window.java:313) 
      	at 
      org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       	at 
      org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:278)
       	at 
      org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:183)
       	at 
      org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:299)
       	at 
      org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227) 
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) 	at 
      org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159)
       	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) 	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:53) 	
      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:64) 	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:202)
       	at 
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       	at 
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
       	at 
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
       	at 
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
       	at 
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
       	at 
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
       	at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:431) 	
      at 
      org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
       	at 
      org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1674)
       	at 
      org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       	at 
      org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1104)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:598)
       	at 
      org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:576)
       	at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127) 	at 
      java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219) 	at 
      java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
       	at 
      java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       	at 
      java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       	at 
      org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       	at 
      

      Attachments

        Activity

          People

            uhensler Urs Hensler
            gnaegi Florian Gnägi
            Mandy Menzel 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 - 20 minutes
                20m