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

RS concurrent delete of comments in blog

    XMLWordPrintable

    Details

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

      Description

      2014-10-27 16:53:51,189 [ajp-apr-8008-exec-433] WARN  UserCommentsDAO  - OLAT::WARN ^%^ N8-W125518 ^%^ org.olat.core.commons.services.commentAndRating.manager
      Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko
      Tried to reload a user comment but got an exception. Probably deleted in the meantime
      >>>stack of 1.cause::org.olat.core.logging.DBRuntimeException: loadObject error: class org.olat.core.commons.services.commentAndRating.model.UserCommentImpl_$$_jvstf65_2c 177176615
      -> at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:524)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:656)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:612)
         at org.olat.core.commons.services.commentAndRating.manager.UserCommentsDAO.reloadComment(UserCommentsDAO.java:85)
         at org.olat.core.commons.services.commentAndRating.manager.UserCommentsDAO.deleteComment(UserCommentsDAO.java:141)
         at org.olat.core.commons.services.commentAndRating.manager.CommentAndRatingServiceImpl.deleteComment(CommentAndRatingServiceImpl.java:145)
         at org.olat.core.commons.services.commentAndRating.ui.UserCommentDisplayController.event(UserCommentDisplayController.java:244)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:241)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:238)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:186)
      >>>stack of 2.cause::java.lang.IllegalArgumentException: Unknown entity: org.olat.core.commons.services.commentAndRating.model.UserCommentImpl_$$_jvstf65_2c
      -> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1132)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1068)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:522)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:656)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:612)
         at org.olat.core.commons.services.commentAndRating.manager.UserCommentsDAO.reloadComment(UserCommentsDAO.java:85)
         at org.olat.core.commons.services.commentAndRating.manager.UserCommentsDAO.deleteComment(UserCommentsDAO.java:141)
         at org.olat.core.commons.services.commentAndRating.manager.CommentAndRatingServiceImpl.deleteComment(CommentAndRatingServiceImpl.java:145)
         at org.olat.core.commons.services.commentAndRating.ui.UserCommentDisplayController.event(UserCommentDisplayController.java:244)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:241)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      >>>stack of 3.cause::org.hibernate.MappingException: Unknown entity: org.olat.core.commons.services.commentAndRating.model.UserCommentImpl_$$_jvstf65_2c
      -> at org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1096)
         at org.hibernate.internal.SessionImpl.locateEntityPersister(SessionImpl.java:2565)
         at org.hibernate.internal.SessionImpl.access$1900(SessionImpl.java:176)
         at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2504)
         at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2508)
         at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.<init>(SessionImpl.java:2495)
         at org.hibernate.internal.SessionImpl.byId(SessionImpl.java:1043)
         at org.hibernate.internal.SessionImpl.get(SessionImpl.java:955)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1110)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1068)
         at org.olat.core.commons.persistence.DBImpl.loadObject(DBImpl.java:522)
      
      Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko ^%^ **RedScreen** commit failed, rollback transaction ::_::
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.core.commons.services.commentAndRating.ui.UserCommentDisplayController</controllername>
      		<controllername>org.olat.core.commons.services.commentAndRating.ui.UserCommentsController</controllername>
      		<controllername>org.olat.core.commons.services.commentAndRating.ui.UserCommentsAndRatingsController</controllername>
      		<controllername>org.olat.modules.webFeed.ui.ItemController</controllername>
      		<controllername>org.olat.modules.webFeed.ui.ItemsController</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>
      
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: commit failed, rollback transaction
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:768)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1129)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:339)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:155)
      >>> stack of 2.cause::org.olat.core.logging.DBRuntimeException: Try to commit a transaction in error status
      -> at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1129)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:339)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:155)
      >>> stack of 3.cause::java.lang.Exception: olat_rtexception_stackgenerator
      -> at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:57)
         at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:79)
         at org.olat.core.logging.DBRuntimeException.<init>(DBRuntimeException.java:44)
         at org.olat.core.commons.persistence.DBImpl.commit(DBImpl.java:729)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1129)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:339) at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228) at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192) at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241) at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197) at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
      
      

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