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

RS: delete a file which is already deleted

    XMLWordPrintable

    Details

      Description

      Try to delete the metadata of the file which doesn't exists: -> red screen

      2019-04-03 10:53:09,377 [ajp-nio2-8004-exec-5] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N4-E31 ^%^ org.olat.core.logging 
      
      https://xyz.ch/auth/RepositoryEntry/236093483
      Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 ^%^ **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>link_0</command>
      			<tostring>com:link_0,org.olat.core.gui.control.Event@be46a54a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.core.commons.modules.bc.commands.CmdDelete</controllername>
      		<controllername>org.olat.core.commons.modules.bc.FolderRunController</controllername>
      		<controllername>org.olat.modules.sharedfolder.SharedFolderEditorController</controllername>
      		<controllername>org.olat.repository.ui.RepositoryEntryRuntimeController</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:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.core.util.vfs.LocalFileImpl.delete(LocalFileImpl.java:165)
         at org.olat.core.util.vfs.LocalFolderImpl.delete(LocalFolderImpl.java:253)
         at org.olat.core.util.vfs.LocalFolderImpl.delete(LocalFolderImpl.java:253)
         at org.olat.core.commons.modules.bc.commands.CmdDelete.event(CmdDelete.java:139)
         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.core.gui.control.generic.modal.DialogBoxController.event(DialogBoxController.java:222)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      

        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