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

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 JIRA by Yannick Marcon, 1 year ago
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
via JIRA by Yannick Marcon, 1 year ago
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
via GitHub by mdymczyk
, 2 years ago
Cannot index record #28:3: found duplicated key 'myUniqueKey' in index 'clazzdo_nameIdx' previously assigned to the record #28:1
via GitHub by AaronSchulz
, 2 years ago
Cannot index record #11:735814 : found duplicated key '3152437' in index 'ItemIdIdx' previously assigned to the record #11:735804 R ID=#11:735804
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)
at com.orientechnologies.orient.core.index.OIndexAbstract.commit(OIndexAbstract.java:925)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic$2.run(OTransactionOptimistic.java:164)
at com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.commit(OStorageLocal.java:1292)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:176)
at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115)
at org.obiba.opal.core.service.OrientDbServiceImpl.save(OrientDbServiceImpl.java:124)
at org.obiba.opal.core.service.OrientDbServiceImpl.save(OrientDbServiceImpl.java:100)
at org.obiba.opal.core.service.security.DefaultSubjectAclService.addSubjectPermission(DefaultSubjectAclService.java:140)
at org.obiba.opal.core.service.security.authc.SubjectProfileAuthenticationListener.ensureFolderPermissions(SubjectProfileAuthenticationListener.java:96)
at org.obiba.opal.core.service.security.authc.SubjectProfileAuthenticationListener.onSuccess(SubjectProfileAuthenticationListener.java:61)
at org.apache.shiro.authc.AbstractAuthenticator.notifySuccess(AbstractAuthenticator.java:121)
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:233)
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at org.obiba.magma.security.shiro.ShiroAuthorizer.sudoSubject(ShiroAuthorizer.java:44)
at org.obiba.magma.security.shiro.ShiroAuthorizer.sudo(ShiroAuthorizer.java:34)
at org.obiba.magma.security.shiro.ShiroAuthorizer.silentSudo(ShiroAuthorizer.java:26)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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