javax.jdo.JDOUserCallbackException: An exception was thrown from the user callback "jdoPreStore".

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • javax.jdo.JDOUserCallbackException: An exception was thrown from the user callback "jdoPreStore". at org.datanucleus.api.jdo.JDOCallbackHandler.preStore(JDOCallbackHandler.java:134)[datanucleus-api-jdo-4.0.3.jar:na] at org.datanucleus.state.StateManagerImpl.flush(StateManagerImpl.java:4639)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.flush.FlushOrdered.execute(FlushOrdered.java:107)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.ExecutionContextImpl.flushInternal(ExecutionContextImpl.java:3978)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.store.query.Query.prepareDatastore(Query.java:1632)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.store.query.Query.executeQuery(Query.java:1817)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.store.query.Query.executeWithArray(Query.java:1729)[datanucleus-core-4.0.3.jar:na] at org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:268)[datanucleus-api-jdo-4.0.3.jar:na] at co.codewizards.cloudstore.local.persistence.RepoFileDao.getChildRepoFile(RepoFileDao.java:70)[co.codewizards.cloudstore.local-0.9.11-SNAPSHOT.jar:na] at org.subshare.local.CryptreeImpl.putDecryptedRepoFile(CryptreeImpl.java:688)[bin/:na] at org.subshare.local.CryptreeImpl.putDecryptedRepoFile(CryptreeImpl.java:669)[bin/:na] at org.subshare.local.CryptreeImpl.putDecryptedRepoFiles(CryptreeImpl.java:646)[bin/:na] at org.subshare.local.CryptreeImpl.putCryptoChangeSetDto(CryptreeImpl.java:503)[bin/:na] at org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.syncCryptoKeysFromRemoteRepo(CryptreeRestRepoTransportImpl.java:209)[bin/:na] at org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.getChangeSetDto(CryptreeRestRepoTransportImpl.java:160)[bin/:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:217)[co.codewizards.cloudstore.core-0.9.11-SNAPSHOT.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.syncDown(RepoToRepoSync.java:168)[co.codewizards.cloudstore.core-0.9.11-SNAPSHOT.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:131)[co.codewizards.cloudstore.core-0.9.11-SNAPSHOT.jar:na] at org.subshare.core.repo.sync.SsRepoToRepoSync.sync(SsRepoToRepoSync.java:65)[bin/:na] at org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:116)[bin/:na] at org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:75)[bin/:na] at org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl._sync(MetaOnlyRepoSyncDaemonImpl.java:100)[bin/:na] at org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl.sync(MetaOnlyRepoSyncDaemonImpl.java:91)[bin/:na] at org.subshare.ls.server.cproc.LocalServerInit$1.run(LocalServerInit.java:63)[bin/:na] Caused by: java.lang.IllegalStateException: Constraint violation: There is already another CryptoRepoFile (id=438) referencing the same RepoFile (id=242)! at org.subshare.local.persistence.CryptoRepoFile.assertUniqueRepoFile(CryptoRepoFile.java:283)[bin/:na] at org.subshare.local.persistence.CryptoRepoFile.jdoPreStore(CryptoRepoFile.java:265)[bin/:na] at org.datanucleus.api.jdo.JDOCallbackHandler.preStore(JDOCallbackHandler.java:130)[datanucleus-api-jdo-4.0.3.jar:na] ... 23 more
No Bugmate found.