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

NPE: cannot delete a file in task course element

Details

    Description

      020-10-14 10:25:20.416 [ajp-nio2-192.168.57.205-8048-exec-110] ERROR OLATRuntimeException ^%^ I1181150-J540251
      org.olat.core.logging.OLATRuntimeException
      https://openolat.xyz.ch/auth/RepositoryEntry/121110579/CourseNode/102518067356873/management/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_barebone</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>delete</command>
      			<tostring>com:delete,org.olat.core.gui.components.form.flexible.impl.elements.table.SelectionEvent@b06685ca</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.gta.ui.GTACoachAssignementEditController</controllername>
      		<controllername>org.olat.course.nodes.gta.ui.GTARunController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      Caused by: java.lang.NullPointerException
       at org.olat.repository.ui.settings.LazyRepositoryEdusharingProvider.setSubPath(LazyRepositoryEdusharingProvider.java:63)
       at org.olat.course.nodes.gta.manager.GTAManagerImpl.deleteEdusharingUsages(GTAManagerImpl.java:245)
       at org.olat.course.nodes.gta.manager.GTAManagerImpl.lambda$removeTaskDefinition$2(GTAManagerImpl.java:233)
       at org.olat.course.nodes.gta.manager.GTAManagerImpl.syncWithTaskList(GTAManagerImpl.java:364)
       at org.olat.course.nodes.gta.manager.GTAManagerImpl.removeTaskDefinition(GTAManagerImpl.java:215)
       at org.olat.course.nodes.gta.ui.AbstractAssignmentEditController.doDelete(AbstractAssignmentEditController.java:352)
       at org.olat.course.nodes.gta.ui.AbstractAssignmentEditController.formInnerEvent(AbstractAssignmentEditController.java:280)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:430)
       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.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:737)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.doSelect(FlexiTableElementImpl.java:1688)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.doSelect(FlexiTableElementImpl.java:1006)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.evalFormRequest(FlexiTableElementImpl.java:993)
       at org.olat.core.gui.components.form.flexible.impl.Form$EvaluatingFormComponentVisitor.visit(Form.java:646)
       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.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:285)
       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:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:429)
      ... 39 more
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: