com.orientechnologies.orient.core.exception.ORecordNotFoundException: The record with id '#128:2' was not found DB name="test_db"

GitHub | obi1kenobi | 6 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

    Database import reports success when it actually failed, and has non-deterministic errors

    GitHub | 6 months ago | obi1kenobi
    com.orientechnologies.orient.core.exception.ORecordNotFoundException: The record with id '#128:2' was not found DB name="test_db"
  2. 0

    GitHub comment 6758#250857475

    GitHub | 5 months ago | obi1kenobi
    com.orientechnologies.orient.core.exception.ORecordNotFoundException: The record with id '#128:2' was not found DB name="test_import_downscale"

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cluster 128 is null

      at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.getClusterById()
    2. OrientDB Core
      ODatabaseImport.importDatabase
      1. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.getClusterById(OAbstractPaginatedStorage.java:2474)
      2. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:1132)
      3. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx$SimpleRecordReader.readRecord(ODatabaseDocumentTx.java:3253)
      4. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1884)
      5. com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:115)
      6. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1624)
      7. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:103)
      8. com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:826)
      9. com.orientechnologies.orient.core.index.OPropertyIndexDefinition.getDocumentValueToIndex(OPropertyIndexDefinition.java:72)
      10. com.orientechnologies.orient.core.index.OCompositeIndexDefinition.getDocumentValueToIndex(OCompositeIndexDefinition.java:141)
      11. com.orientechnologies.orient.core.index.OIndexAbstract.indexCluster(OIndexAbstract.java:994)
      12. com.orientechnologies.orient.core.index.OIndexAbstract.fillIndex(OIndexAbstract.java:506)
      13. com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:467)
      14. com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:380)
      15. com.orientechnologies.orient.core.index.OIndexAbstract.removeCluster(OIndexAbstract.java:709)
      16. com.orientechnologies.orient.core.index.OIndexAbstract.removeCluster(OIndexAbstract.java:69)
      17. com.orientechnologies.orient.core.index.OIndexManagerAbstract.removeClusterFromIndex(OIndexManagerAbstract.java:205)
      18. com.orientechnologies.orient.core.index.OIndexManagerProxy.removeClusterFromIndex(OIndexManagerProxy.java:180)
      19. com.orientechnologies.orient.core.metadata.schema.OClassImpl.removeClusterFromIndexes(OClassImpl.java:2685)
      20. com.orientechnologies.orient.core.metadata.schema.OClassImpl.removePolymorphicClusterId(OClassImpl.java:2669)
      21. com.orientechnologies.orient.core.metadata.schema.OClassImpl.removePolymorphicClusterIds(OClassImpl.java:2656)
      22. com.orientechnologies.orient.core.metadata.schema.OClassImpl.removeBaseClassInternal(OClassImpl.java:1284)
      23. com.orientechnologies.orient.core.metadata.schema.OSchemaShared.dropClassInternal(OSchemaShared.java:1260)
      24. com.orientechnologies.orient.core.metadata.schema.OSchemaShared.dropClass(OSchemaShared.java:530)
      25. com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.dropClass(OSchemaProxy.java:146)
      26. com.orientechnologies.orient.core.db.tool.ODatabaseImport.removeDefaultNonSecurityClasses(ODatabaseImport.java:661)
      27. com.orientechnologies.orient.core.db.tool.ODatabaseImport.importDatabase(ODatabaseImport.java:396)
      27 frames
    3. OrientDB Server
      ONetworkProtocolBinary.execute
      1. com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.importDatabase(ONetworkProtocolBinary.java:2916)
      2. com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:635)
      3. com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:320)
      4. com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:196)
      4 frames
    4. OrientDB Core
      OSoftThread.run
      1. com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
      1 frame