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

RS while deleting a user with OpenOLAT inbox on

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.1.5
    • Fix Version/s: 8.2.2
    • Component/s: Mail, Mailbox
    • Labels:
      None

      Description

      RedScreen on (tomcat5) 8.1.3
      2012-11-29 09:07:58,643 [TP-Processor3] ERROR DBRuntimeException - OLAT::ERROR % N5-E3 % org.olat.core.logging %
      https://xxx.olat.com/olat/auth/1%3A1%3A0%3A0%3A0/ % Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0) %
      *RedScreen* Error in list() ::_::
      <dispatchinfo>
      <componentinfo>
      <compname>link_0</compname>
      <compclass>org.olat.core.gui.components.link.Link</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.control.Event</class>
      <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.admin.user.delete.DirectDeleteController</controllername>
      <controllername>org.olat.admin.UserAdminMainController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      </controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: Error in list()
      -> at org.olat.core.commons.persistence.DBQueryImpl.list(DBQueryImpl.java:180)
      at org.olat.core.util.mail.manager.MailManager.getEmailsByMetaId(MailManager.java:401)
      at org.olat.core.util.mail.manager.MailManager.delete(MailManager.java:304)
      at org.olat.core.util.mail.MailBoxExtension.deleteUserData(MailBoxExtension.java:110)
      at org.olat.admin.user.delete.service.UserDeletionManager.deleteIdentity(UserDeletionManager.java:293)
      at org.olat.admin.user.delete.DirectDeleteController.deleteIdentities(DirectDeleteController.java:177)
      at org.olat.admin.user.delete.DirectDeleteController.event(DirectDeleteController.java:125)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:228)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:225)
      at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:173)
      >>> stack of 2.cause::org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
      -> at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:85)
      at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:70)
      at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:47)
      at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2538)
      at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2715)
      at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)
      at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 1 hour
                1h