org.springframework.dao.OptimisticLockingFailureException: Attempt to update step execution id=1065721 with wrong version (548), where current version is 548

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by benjamin xi, 1 year ago
Attempt to update step execution id=1065721 with wrong version (548), where current version is 548
via Spring JIRA by benjamin xi, 1 year ago
Attempt to update step execution id=1065721 with wrong version (548), where current version is 548
via Spring JIRA by Hector Lagos, 1 year ago
Attempt to update step execution id=8 with wrong version (1), where current version is 2
via Spring JIRA by Hector Lagos, 1 year ago
Attempt to update step execution id=8 with wrong version (1), where current version is 2
via spring.io by Unknown author, 1 year ago
Attempt to update step execution id=4 with wrong version (1), where current version is 2
via spring.io by Unknown author, 1 year ago
Attempt to update step execution id=2 with wrong version (34), where current version is 35
org.springframework.dao.OptimisticLockingFailureException: Attempt to update step execution id=1065721 with wrong version (548), where current version is 548
at org.springframework.batch.core.repository.dao.JdbcStepExecutionDao.updateStepExecution(JdbcStepExecutionDao.java:334)
at org.springframework.batch.core.repository.support.SimpleJobRepository.saveOrUpdate(SimpleJobRepository.java:239)
at org.springframework.batch.core.repository.support.SimpleJobRepository.saveOrUpdateExecutionContext(SimpleJobRepository.java:248)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:172)
at com.webex.webapp.wbxconnect.batch.ClassPathXmlApplicationContextJobLocator$ContextClosingJob.execute(ClassPathXmlApplicationContextJobLocator.java:174)
at com.webex.webapp.wbxconnect.batch.ClassPathXmlApplicationContextJobLocator.run(ClassPathXmlApplicationContextJobLocator.java:100)
at com.webex.webapp.wbxconnect.executeplugin.batch.SubmitJob.submitJobExecution(SubmitJob.java:420)
at com.webex.webapp.wbxconnect.executeplugin.batch.SubmitJob.submitClusterJobExecution(SubmitJob.java:333)
at com.webex.webapp.wbxconnect.batch.SpringBatchJobInvoker.execute(SpringBatchJobInvoker.java:77)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.