com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #12:5015: found duplicated key 'f2' in index 'User.key' previously assigned to the record #12:5014 DB name="PAM" DB name="PAM" INDEX=User.key RID=#12:5014

GitHub | hirodes | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ODatabaseDocumentTx swallow Exceptions

    GitHub | 5 months ago | hirodes
    com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #12:5015: found duplicated key 'f2' in index 'User.key' previously assigned to the record #12:5014 DB name="PAM" DB name="PAM" INDEX=User.key RID=#12:5014

    Root Cause Analysis

    1. com.orientechnologies.orient.core.storage.ORecordDuplicatedException

      Cannot index record #12:5015: found duplicated key 'f2' in index 'User.key' previously assigned to the record #12:5014 DB name="PAM" DB name="PAM" INDEX=User.key RID=#12:5014

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[rt.jar:1.7.0_79]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[rt.jar:1.7.0_79]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[rt.jar:1.7.0_79]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[rt.jar:1.7.0_79]
      4 frames
    3. com.orientechnologies.orient
      OChannelBinaryAsynchClient.beginResponse
      1. com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.throwSerializedException(OChannelBinaryAsynchClient.java:428)[orientdb-client-2.2.10.jar:2.2.10]
      2. com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:379)[orientdb-client-2.2.10.jar:2.2.10]
      3. com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:261)[orientdb-client-2.2.10.jar:2.2.10]
      4. com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:153)[orientdb-client-2.2.10.jar:2.2.10]
      4 frames
    4. OrientDB Client
      OStorageRemote.commit
      1. com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2133)[orientdb-client-2.2.10.jar:2.2.10]
      2. com.orientechnologies.orient.client.remote.OStorageRemote$28.execute(OStorageRemote.java:1316)[orientdb-client-2.2.10.jar:2.2.10]
      3. com.orientechnologies.orient.client.remote.OStorageRemote$28.execute(OStorageRemote.java:1289)[orientdb-client-2.2.10.jar:2.2.10]
      4. com.orientechnologies.orient.client.remote.OStorageRemote$2.execute(OStorageRemote.java:198)[orientdb-client-2.2.10.jar:2.2.10]
      5. com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:230)[orientdb-client-2.2.10.jar:2.2.10]
      6. com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:195)[orientdb-client-2.2.10.jar:2.2.10]
      7. com.orientechnologies.orient.client.remote.OStorageRemote.commit(OStorageRemote.java:1289)[orientdb-client-2.2.10.jar:2.2.10]
      7 frames
    5. OrientDB Core
      OPartitionedDatabasePool$DatabaseDocumentTxPooled.close
      1. com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:560)[orientdb-core-2.2.10.jar:2.2.10]
      2. com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:106)[orientdb-core-2.2.10.jar:2.2.10]
      3. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2733)[orientdb-core-2.2.10.jar:2.2.10]
      4. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.close(ODatabaseDocumentTx.java:1209)[orientdb-core-2.2.10.jar:2.2.10]
      5. com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.close(OPartitionedDatabasePool.java:470)[orientdb-core-2.2.10.jar:2.2.10]
      5 frames
    6. OrientDB
      OrientBaseGraph.shutdown
      1. com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1172)[orientdb-graphdb-2.2.10.jar:2.2.10]
      2. com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1144)[orientdb-graphdb-2.2.10.jar:2.2.10]
      3. com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:1137)[orientdb-graphdb-2.2.10.jar:2.2.10]
      3 frames