Bug 564587
Summary: | Spacewalk sends HibernateRuntimeException emails | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Erik Logtenberg <erik> |
Component: | WebUI | Assignee: | Tomas Lestach <tlestach> |
Status: | CLOSED DEFERRED | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 0.8 | CC: | cperry, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-28 15:50:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 653453 |
Description
Erik Logtenberg
2010-02-13 15:03:48 UTC
I actually get quite some of these web traceback emails, I paste two different ones here: com.redhat.rhn.common.hibernate.HibernateRuntimeException: HibernateException executing CachedStatement at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:469) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:431) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:335) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:280) at com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:105) at com.redhat.rhn.taskomatic.task.repomd.ChannelRepodataDriver.getCandidates(ChannelRepodataDriver.java:86) at com.redhat.rhn.taskomatic.task.threaded.TaskQueue.run(TaskQueue.java:106) at com.redhat.rhn.taskomatic.task.ChannelRepodata.execute(ChannelRepodata.java:58) at com.redhat.rhn.taskomatic.task.SingleThreadedTestableTask.execute(SingleThreadedTestableTask.java:54) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: 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:61) at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46) at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:24) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2520) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2697) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:74) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:146) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at com.redhat.rhn.common.db.datasource.CachedStatement.stealConnection(CachedStatement.java:853) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:441) ... 11 more org.quartz.JobExecutionException: com.redhat.rhn.common.hibernate.HibernateRuntimeException: HibernateException executing CachedStatement [See nested exception: com.redhat.rhn.common.hibernate.HibernateRuntimeException: HibernateException executing CachedStatement] at com.redhat.rhn.taskomatic.task.KickstartCleanup.execute(KickstartCleanup.java:89) at com.redhat.rhn.taskomatic.task.SingleThreadedTestableTask.execute(SingleThreadedTestableTask.java:54) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- com.redhat.rhn.common.hibernate.HibernateRuntimeException: HibernateException executing CachedStatement at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:469) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:431) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:335) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:280) at com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:105) at com.redhat.rhn.taskomatic.task.KickstartCleanup.execute(KickstartCleanup.java:62) at com.redhat.rhn.taskomatic.task.SingleThreadedTestableTask.execute(SingleThreadedTestableTask.java:54) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: 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:61) at org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46) at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:24) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2520) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2697) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:74) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:146) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at com.redhat.rhn.common.db.datasource.CachedStatement.stealConnection(CachedStatement.java:853) at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:441) ... 9 more Please note that I'm still not sure if it is of any use that I post these tracebacks here. If it is, please tell me so. In the mean time I won't be posting more of these (should be enough for now ;) Look, the only changes made to this bug since I reported it half a year ago is "blocks: space-09" in february, "blocks: space10" in april, "blocks: space11" in may, and now "blocks: space12" in august. Apparently, the bug is in fact not blocking any Spacewalk release, so please close this bug and stop emailing me these non-updates. I have already stopped reporting Spacewalk bugs, I have by now received quite enough "I won't do anything with your bugreport"-emails. Thank you. Mass-moving to space13. This issue was caused SingleThreadedTestableTask according to the traceback. This code is no longer in spacewalk. Closing the BZ. |