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

RS: try to delete transient booking

    XMLWordPrintable

    Details

      Description

      In a course:

      • In course settings, share, set the "Access and booking configuration" to "Bookable Booking by user necessary" and save
      • Add a booking method but DON'T SAVE
      • Change the access method to "Open Without booking"
      • Save -> red screen
      2019-09-25 08:02:00.562 [ajp-nio-8011-exec-4] ERROR org.olat.core.logging.OLATRuntimeException - **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_acces_and_booking</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.AuthoringEditAccessAndBookingController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthoringEditAccessController</controllername>
      		<controllername>org.olat.course.config.ui.CourseSettingsController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      org.olat.core.logging.OLATRuntimeException: null
      	at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:112) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.Window.dispatchRequest(Window.java:586) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:263) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216) ~[classes/:14.1-SNAPSHOT]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) ~[servlet-api.jar:?]
      	at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160) ~[classes/:14.1-SNAPSHOT]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[servlet-api.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.40]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.40]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.40]
      	at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95) ~[classes/:14.1-SNAPSHOT]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.40]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[catalina.jar:8.5.40]
      	at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476) ~[tomcat-coyote.jar:8.5.40]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.40]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808) ~[tomcat-coyote.jar:8.5.40]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) ~[tomcat-coyote.jar:8.5.40]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.40]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_192]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_192]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.5.40]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_192]
      Caused by: java.lang.NullPointerException
      	at org.olat.resource.accesscontrol.manager.ACOfferDAO.saveOffer(ACOfferDAO.java:164) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.resource.accesscontrol.manager.ACOfferDAO.deleteOffer(ACOfferDAO.java:157) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.resource.accesscontrol.manager.ACFrontendManager.deleteOffer(ACFrontendManager.java:259) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.resource.accesscontrol.ui.AccessConfigurationController.invalidateBookings(AccessConfigurationController.java:367) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.repository.ui.author.AuthoringEditAccessAndBookingController.commitChanges(AuthoringEditAccessAndBookingController.java:428) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.repository.ui.author.AuthoringEditAccessController.doSaveAccessAndBooking(AuthoringEditAccessController.java:105) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.repository.ui.author.AuthoringEditAccessController.event(AuthoringEditAccessController.java:87) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:247) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:194) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.repository.ui.author.AuthoringEditAccessAndBookingController.formOK(AuthoringEditAccessAndBookingController.java:407) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:389) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:119) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:441) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:428) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:71) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:561) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:296) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:100) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201) ~[classes/:14.1-SNAPSHOT]
      	at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398) ~[classes/:14.1-SNAPSHOT]
      	... 33 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