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

NPE if archive or delete a course with an unused participant folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.3.2
    • Component/s: Course
    • Labels:
      None

      Description

      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_confirm_delete_permanent</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.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.ConfirmDeletePermanentlyController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthorDeletedListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Throwable: java.lang.NullPointerException
      message:null,java.lang.NullPointerException
       at org.olat.course.nodes.pf.manager.FileSystemExport.fsToZip(FileSystemExport.java:141)
       at org.olat.course.nodes.PFCourseNode.archiveNodeData(PFCourseNode.java:290)
       at org.olat.course.CourseFactory$NodeArchiveVisitor.visit(CourseFactory.java:1072)
       at org.olat.core.util.tree.TreeVisitor.doVisit(TreeVisitor.java:70)
       at org.olat.core.util.tree.TreeVisitor.doVisit(TreeVisitor.java:67)
       at org.olat.core.util.tree.TreeVisitor.visitAll(TreeVisitor.java:57)
       at org.olat.course.CourseFactory.archiveCourse(CourseFactory.java:727)
       at org.olat.course.CourseFactory.archiveCourse(CourseFactory.java:700)
       at org.olat.repository.handlers.CourseHandler.readyToDelete(CourseHandler.java:581)
       at org.olat.repository.manager.RepositoryServiceImpl.deletePermanently(RepositoryServiceImpl.java:382)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 25 minutes
                25m