org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

Icesoft | surein | 5 years ago
  1. 0

    IceFaces 1.8.2 DataTable Command Button

    icesoft.org | 6 months ago
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
  2. 0

    IceFaces 1.8.2 DataTable Command Button

    Icesoft | 5 years ago | surein
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
  3. 0

    [2013-11-04 00:12:48,618] ERROR fisheye Could not add history item applinks-git type REPOSITORY for user lkuzynski 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.BatchingBatcher.checkRowCounts(BatchingBatcher.java:90) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137) at com.cenqua.crucible.hibernate.SessionState.commit(SessionState.java:118) at com.cenqua.crucible.hibernate.SessionState.commitAllTx(SessionState.java:73) at com.cenqua.crucible.hibernate.SessionState.commitTx(SessionState.java:65) at com.cenqua.crucible.hibernate.HibernateUtil.commitTransaction(HibernateUtil.java:293) at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager$1.run(DefaultRecentlyVisitedManager.java:105) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 3 years ago | Maciej Swinarski [Atlassian]
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [2013-11-04 00:12:48,618] ERROR fisheye Could not add history item applinks-git type REPOSITORY for user lkuzynski 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.BatchingBatcher.checkRowCounts(BatchingBatcher.java:90) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137) at com.cenqua.crucible.hibernate.SessionState.commit(SessionState.java:118) at com.cenqua.crucible.hibernate.SessionState.commitAllTx(SessionState.java:73) at com.cenqua.crucible.hibernate.SessionState.commitTx(SessionState.java:65) at com.cenqua.crucible.hibernate.HibernateUtil.commitTransaction(HibernateUtil.java:293) at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager$1.run(DefaultRecentlyVisitedManager.java:105) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 3 years ago | Maciej Swinarski [Atlassian]
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
  6. 0

    hibernate exception: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

    Stack Overflow | 4 years ago | Chailie
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

  1. mortalman7 1 times, last 4 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Hibernate
    ActionQueue.executeActions
    1. org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:85)
    2. org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:70)
    3. org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:90)
    4. org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
    5. org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
    6. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262)
    7. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183)
    7 frames
  3. Hibernate
    SessionImpl.managedFlush
    1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
    2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
    3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
    4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375)
    4 frames
  4. Hibernate
    JDBCTransaction.commit
    1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
    1 frame
  5. com.cisco.resourcemanager
    IpAddressPoolBean.delete
    1. com.cisco.resourcemanager.service.impl.IpAddressPoolServiceImpl.delete(IpAddressPoolServiceImpl.java:134)
    2. com.cisco.resourcemanager.bean.model.IpAddressPoolBean.delete(IpAddressPoolBean.java:44)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. Pax Jsp
    MethodExpressionImpl.invoke
    1. org.apache.el.parser.AstValue.invoke(AstValue.java:172)
    2. org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    2 frames
  8. Facelets
    TagMethodExpression.invoke
    1. com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
    1 frame
  9. JavaEE 7
    UICommand.broadcast
    1. javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
    2. javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
    3. javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
    4. javax.faces.component.UICommand.broadcast(UICommand.java:372)
    4 frames
  10. com.icesoft.faces
    UISeries.broadcast
    1. com.icesoft.faces.component.panelseries.UISeries$RowEvent.broadcast(UISeries.java:617)
    2. com.icesoft.faces.component.panelseries.UISeries.broadcast(UISeries.java:285)
    2 frames
  11. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    2. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    2 frames
  12. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    3 frames
  13. com.icesoft.faces
    MainServlet.service
    1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
    2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
    3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
    4. com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
    5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
    6. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
    7. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
    8. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
    9. com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
    10. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
    11. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
    11 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  15. com.icesoft.faces
    BlockingServlet.service
    1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
    1 frame
  16. Glassfish Core
    StandardContextValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    4 frames
  17. com.springsource.insight
    HttpRequestOperationCollectionValve.invoke
    1. com.springsource.insight.collection.tcserver.request.HttpRequestOperationCollectionValve.invoke(HttpRequestOperationCollectionValve.java:60)
    1 frame
  18. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    4 frames
  19. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:379)
    3 frames
  20. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames