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

RS upload a calendar without selecting a file

    XMLWordPrintable

    Details

      Description

      In personal calendar, try to upload a calendar but don't choose one, only click on the import button.

      2015-01-23 10:48:32,190 [ajp-apr-8049-exec-38] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N49-E250 
      Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/35.0 
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</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.commons.calendar.ui.CalendarFileUploadController</controllername>
      		<controllername>org.olat.commons.calendar.ui.ImportedCalendarConfigurationController</controllername>
      		<controllername>org.olat.commons.calendar.ui.WeeklyCalendarController</controllername>
      		<controllername>org.olat.home.HomeMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> 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:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:212)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.core.util.FileUtils.copyFileToFile(FileUtils.java:407)
         at org.olat.commons.calendar.ui.CalendarFileUploadController.formOK(CalendarFileUploadController.java:81)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:122)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:500)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:472)
         at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Dirk Furrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 42 minutes
                42m