Project

General

Profile

Bug #60177

fullSync fails with exception

Added by Alexey Bobyr almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Alexey Bobyr
Category:
Scalix API
Target version:
Start date:
12/15/2015
Due date:
12/15/2015
% Done:

100%

Estimated time:
Operation System:
noarch package

Description

2015-12-09 05:26:53,881  WARN [ImapDataCache.fullSynch:1716] Failed some sql JDBC connection.
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:81)
        at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:73)
        at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:63)
        at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3400)
        at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3630)
        at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:114)
        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:463)
        at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:349)
        at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
        at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:67)
        at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1191)
        at org.hibernate.internal.SessionImpl.iterate(SessionImpl.java:1325)
        at org.hibernate.internal.QueryImpl.iterate(QueryImpl.java:70)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1697)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:892)
        at com.scalix.api.mailbox.ImapDataCache.getMessages(ImapDataCache.java:497)
        at com.scalix.api.mailbox.Mailbox.getMessages(Mailbox.java:362)
        at com.scalix.api.rest.SyncServlet.processSyncMessages(SyncServlet.java:420)
        at com.scalix.api.rest.SyncServlet.processActiveSyncRequest(SyncServlet.java:104)
        at com.scalix.api.rest.SyncServlet.doGet(SyncServlet.java:63)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
        at com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:71)

History

#1

Updated by Alex I about 3 years ago

  • Subject changed from fullSync fails with org.hibernate.StaleStateException to fullSync fails with exception

Also available in: Atom PDF