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

RS: delete a resource permanently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.1.2
    • Component/s: Framework
    • Labels:
      None

      Description

      Rare, I can delete 20 resources without an hitch but I can change to code to better handle such cases.

      2019-02-20 16:28:56,409 [ajp-nio2-8125-exec-2] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N125-E1 ^%^ org.olat.core.logging 
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0 ^%^ **RedScreen** Unable to locate persister: org.olat.repository.RepositoryEntry$HibernateProxy$xnwoHSo8
      
      <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>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Unable to locate persister: org.olat.repository.RepositoryEntry$HibernateProxy$xnwoHSo8
      -> 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.IllegalArgumentException: Unable to locate persister: org.olat.repository.RepositoryEntry$HibernateProxy$xnwoHSo8
      -> at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3539)
         at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3485)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:455)
         at org.olat.repository.manager.RepositoryServiceImpl.deletePermanently(RepositoryServiceImpl.java:481)
         at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.deleteEntries(ConfirmDeletePermanentlyController.java:291)
         at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.doCompleteDelete(ConfirmDeletePermanentlyController.java:238) at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.formInnerEvent(ConfirmDeletePermanentlyController.java:209) at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:425) 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)
      >>> stack of 3.cause::org.hibernate.UnknownEntityTypeException: Unable to locate persister: org.olat.repository.RepositoryEntry$HibernateProxy$xnwoHSo8
      -> at org.hibernate.metamodel.internal.MetamodelImpl.locateEntityPersister(MetamodelImpl.java:721)
         at org.hibernate.internal.SessionImpl.locateEntityPersister(SessionImpl.java:3056)
         at org.hibernate.internal.SessionImpl.access$1800(SessionImpl.java:210)
         at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2785)
         at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2768)
         at org.hibernate.internal.SessionImpl.byId(SessionImpl.java:1223)
         at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3507)
         at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3485)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:455)
         at org.olat.repository.manager.RepositoryServiceImpl.deletePermanently(RepositoryServiceImpl.java:481)
         at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.deleteEntries(ConfirmDeletePermanentlyController.java:291)
      

        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 - 35 minutes
                35m