com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #62:0: found duplicated key 'null' in index 'v_user.ID' previously assigned to the record #57:0 DB name="archiva$smpl"

GitHub | jamieb22 | 3 months ago
  1. 0

    Cannot index record #62:0: found duplicated key 'null' in index 'v_user.ID' previously assigned to the record #57:0

    GitHub | 3 months ago | jamieb22
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #62:0: found duplicated key 'null' in index 'v_user.ID' previously assigned to the record #57:0 DB name="archiva$smpl"
  2. 0

    Unusual ORecordDuplicatedException errors

    GitHub | 2 years ago | AaronSchulz
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #11:735814 : found duplicated key '3152437' in index 'ItemIdIdx' previously assigned to the record #11:735804 R ID=#11:735804
  3. 0

    How to detect that something was added before a commit but will be conflicting with existing vertex in an index after a commit?

    GitHub | 1 year ago | zifnab87
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #30:14: found duplicated key '11/22/3333' in index 'Date.date' previously assigned to the record #30:13 RID=#30:13
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    * select a project * create a view {code} com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #11:15: found duplicated key 'OCompositeKey{keys=[opal, /files/home/org.obiba.opal.core.service.security.realm.SudoRealm$SudoPrincipal@19acd84b, org.obiba.opal.core.service.security.realm.SudoRealm$SudoPrincipal@19acd84b, USER, FILES_SHARE]}' in index 'SubjectAcl.domain.node.principal.type.permission' previously assigned to the record #11:14 at com.orientechnologies.orient.core.index.OIndexUnique.commitSnapshot(OIndexUnique.java:135) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.index.OIndexAbstract.commit(OIndexAbstract.java:925) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.tx.OTransactionOptimistic$2.run(OTransactionOptimistic.java:164) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.commit(OStorageLocal.java:1292) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:176) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115) ~[orientdb-core-1.6.2.jar:1.6.2] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:454) ~[orientdb-core-1.6.2.jar:1.6.2] at org.obiba.opal.core.service.OrientDbServiceImpl.save(OrientDbServiceImpl.java:124) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.OrientDbServiceImpl.save(OrientDbServiceImpl.java:100) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.security.DefaultSubjectAclService.addSubjectPermission(DefaultSubjectAclService.java:140) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.security.authc.SubjectProfileAuthenticationListener.ensureFolderPermissions(SubjectProfileAuthenticationListener.java:96) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.obiba.opal.core.service.security.authc.SubjectProfileAuthenticationListener.onSuccess(SubjectProfileAuthenticationListener.java:61) ~[opal-core-2.0-SNAPSHOT.jar:na] at org.apache.shiro.authc.AbstractAuthenticator.notifySuccess(AbstractAuthenticator.java:121) ~[shiro-tools-hasher-1.2.2-cli.jar:na] at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:233) ~[shiro-tools-hasher-1.2.2-cli.jar:na] at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) ~[shiro-tools-hasher-1.2.2-cli.jar:na] at org.obiba.magma.security.shiro.ShiroAuthorizer.sudoSubject(ShiroAuthorizer.java:44) ~[magma-security-1.8-20131216.220033-104.jar:1.8-SNAPSHOT] at org.obiba.magma.security.shiro.ShiroAuthorizer.sudo(ShiroAuthorizer.java:34) ~[magma-security-1.8-20131216.220033-104.jar:1.8-SNAPSHOT] at org.obiba.magma.security.shiro.ShiroAuthorizer.silentSudo(ShiroAuthorizer.java:26) ~[magma-security-1.8-20131216.220033-104.jar:1.8-SNAPSHOT] ... 86 common frames omitted {code}

    JIRA | 3 years ago | Yannick Marcon
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #11:15: found duplicated key 'OCompositeKey{keys=[opal, /files/home/org.obiba.opal.core.service.security.realm.SudoRealm$SudoPrincipal@19acd84b, org.obiba.opal.core.service.security.realm.SudoRealm$SudoPrincipal@19acd84b, USER, FILES_SHARE]}' in index 'SubjectAcl.domain.node.principal.type.permission' previously assigned to the record #11:14
  6. 0

    GitHub comment 6210#224501883

    GitHub | 6 months ago | ghatwala
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #42:0: found duplicated key '1465366963469' in index 'VC1.p1' previously assigned to the record #41:0 DB name="GraphTest"INDEX=VC1.p1 RID=#41:0

    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. com.orientechnologies.orient.core.storage.ORecordDuplicatedException

      Cannot index record #62:0: found duplicated key 'null' in index 'v_user.ID' previously assigned to the record #57:0 DB name="archiva$smpl"

      at com.orientechnologies.orient.core.index.OIndexUnique.put()
    2. OrientDB Core
      ODatabaseDocumentTx.commit
      1. com.orientechnologies.orient.core.index.OIndexUnique.put(OIndexUnique.java:64)
      2. com.orientechnologies.orient.core.index.OIndexUnique.put(OIndexUnique.java:34)
      3. com.orientechnologies.orient.core.index.OIndexAbstract.putInSnapshot(OIndexAbstract.java:905)
      4. com.orientechnologies.orient.core.index.OIndexAbstract.applyIndexTxEntry(OIndexAbstract.java:737)
      5. com.orientechnologies.orient.core.index.OIndexAbstract.addTxOperation(OIndexAbstract.java:711)
      6. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitIndexes(OAbstractPaginatedStorage.java:1520)
      7. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1484)
      8. com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:566)
      9. com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:106)
      10. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2733)
      11. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2703)
      11 frames
    3. OrientDB
      OrientTransactionalGraph.commit
      1. com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:175)
      1 frame