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

RS: missing attachments directory in forum

    XMLWordPrintable

    Details

      Description

      The folder for attachments doesn't exist. I cannot find a reason why but the whole thread with all messages is hidden by a red screen.

      Cannot reproduce

      2020-05-19 11:28:21.130 [ajp-nio2-8075-exec-91] ERROR OLATRuntimeException ^%^ I2768461-J1001201 
      org.olat.core.logging.OLATRuntimeException
      https://xyz.openolat.com/auth/BusinessGroup/66617379/toolforum/0/Message/76973622 
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
      **RedScreen** 
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_threads</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.modules.fo.ui.ThreadListController</controllername>
      		<controllername>org.olat.modules.fo.ui.ForumController</controllername>
      		<controllername>org.olat.group.ui.run.BusinessGroupMainRunController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Caused by: java.lang.NullPointerException
       at org.olat.modules.fo.ui.MessageListController.addMessageToCurrentMessagesAndVC(MessageListController.java:625)
       at org.olat.modules.fo.ui.MessageListController.loadThread(MessageListController.java:511)
       at org.olat.modules.fo.ui.MessageListController.loadThread(MessageListController.java:420)
       at org.olat.modules.fo.ui.ForumController.doThreadView(ForumController.java:275)
       at org.olat.modules.fo.ui.ForumController.doProcessSelectEvent(ForumController.java:260)
       at org.olat.modules.fo.ui.ForumController.event(ForumController.java:205)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:247)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:194)
       at org.olat.modules.fo.ui.ThreadListController.doSelect(ThreadListController.java:251)
       at org.olat.modules.fo.ui.ThreadListController.formInnerEvent(ThreadListController.java:234)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:430)
       at org.olat.modules.fo.ui.ThreadListController.event(ThreadListController.java:194)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       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.fireFormEvent(FormWrapperContainer.java:131)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:717)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.doSelect(FlexiTableElementImpl.java:1660)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.doSelect(FlexiTableElementImpl.java:983)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.evalFormRequest(FlexiTableElementImpl.java:970)
       at org.olat.core.gui.components.form.flexible.impl.Form$EvaluatingFormComponentVisitor.visit(Form.java:626)
       at org.olat.core.util.component.FormComponentTraverser.doVisit(FormComponentTraverser.java:65)
       at org.olat.core.util.component.FormComponentTraverser.doVisit(FormComponentTraverser.java:70)
       at org.olat.core.util.component.FormComponentTraverser.visitAll(FormComponentTraverser.java:60)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:265)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:100)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1218)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:400)
      ... 39 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: