com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #9:293 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v6 your=v5)

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 Sonatype JIRA by Peter Lynch, 1 year ago
Cannot UPDATE the record #9:293 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v6 your=v5)
via GitHub by dvoet
, 2 years ago
Cannot UPDATE the record #11:0 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v15 your=v14)
via GitHub by lvca
, 2 years ago
Cannot UPDATE the record #197:4 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v5 your=v4)
via GitHub by profic
, 2 years ago
Cannot UPDATE the record #32:2 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v62 your=v61)
via Stack Overflow by Heintz
, 2 years ago
Cannot UPDATE the record #40:1 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v34 your=v33)
via GitHub by aheintz
, 2 years ago
Cannot UPDATE the record #40:1 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v34 your=v33)
com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #9:293 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v6 your=v5)
at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:54)
at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:41)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2009)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1643)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2094)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:910)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:483)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2370)
at com.bolyuba.nexus.plugin.npm.service.internal.orient.OrientMetadataStore.updatePackages(OrientMetadataStore.java:334)
at com.bolyuba.nexus.plugin.npm.service.internal.ProxyMetadataServiceImpl.expireMetadataCaches(ProxyMetadataServiceImpl.java:83)
at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doExpireProxyCaches(DefaultNpmProxyRepository.java:150)
at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doExpireCaches(AbstractProxyRepository.java:356)
at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:430)
at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doExpireCaches(AbstractGroupRepository.java:133)
at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:430)
at org.sonatype.nexus.proxy.repository.AbstractRepository.expireCaches(AbstractRepository.java:421)
at org.sonatype.nexus.tasks.ExpireCacheTask.doRun(ExpireCacheTask.java:51)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

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.