com.orientechnologies.orient.core.index.OIndexException

Error on rebuilding the index for clusters: [<foo>, <bar>_7, <bar>_5, <bar>_6, <bar>_3, <bar>_4, <baz>_5, <baz>_6, <baz>_3, <baz>_4, <baz>_7, <foo>_1, <foo>_2, <foo>_3, <foo>_4, <foo>_5, <foo>_6, <baz>_1, <foo>_7, <baz>_2, <bar>_1, <bar>_2] DB name="test_db"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web48

  • Error on rebuilding the index for clusters: [<foo>, <bar>_7, <bar>_5, <bar>_6, <bar>_3, <bar>_4, <baz>_5, <baz>_6, <baz>_3, <baz>_4, <baz>_7, <foo>_1, <foo>_2, <foo>_3, <foo>_4, <foo>_5, <foo>_6, <baz>_1, <foo>_7, <baz>_2, <bar>_1, <bar>_2] DB name="test_db"
  • via Google Groups by Yannick Lecaillez, 1 year ago
    Found duplicated key 'OCompositeKey{keys=[foo, bar]}' previously assigned to the record #5:0
  • Error on rebuilding the index for clusters: []
  • Stack trace

    • com.orientechnologies.orient.core.index.OIndexException: Error on rebuilding the index for clusters: [<foo>, <bar>_7, <bar>_5, <bar>_6, <bar>_3, <bar>_4, <baz>_5, <baz>_6, <baz>_3, <baz>_4, <baz>_7, <foo>_1, <foo>_2, <foo>_3, <foo>_4, <foo>_5, <foo>_6, <baz>_1, <foo>_7, <baz>_2, <bar>_1, <bar>_2] DB name="test_db" at com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:479) at com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:380) at com.orientechnologies.orient.core.index.OIndexAbstract.removeCluster(OIndexAbstract.java:709) at com.orientechnologies.orient.core.index.OIndexAbstract.removeCluster(OIndexAbstract.java:69) at com.orientechnologies.orient.core.index.OIndexManagerAbstract.removeClusterFromIndex(OIndexManagerAbstract.java:205) at com.orientechnologies.orient.core.index.OIndexManagerProxy.removeClusterFromIndex(OIndexManagerProxy.java:180) at com.orientechnologies.orient.core.metadata.schema.OClassImpl.removeClusterFromIndexes(OClassImpl.java:2685) at com.orientechnologies.orient.core.metadata.schema.OClassImpl.removePolymorphicClusterId(OClassImpl.java:2669) at com.orientechnologies.orient.core.metadata.schema.OClassImpl.removePolymorphicClusterIds(OClassImpl.java:2656) at com.orientechnologies.orient.core.metadata.schema.OClassImpl.removeBaseClassInternal(OClassImpl.java:1284) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.dropClassInternal(OSchemaShared.java:1260) at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.dropClass(OSchemaShared.java:530) at com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.dropClass(OSchemaProxy.java:146) at com.orientechnologies.orient.core.db.tool.ODatabaseImport.removeDefaultNonSecurityClasses(ODatabaseImport.java:661) at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importDatabase(ODatabaseImport.java:396) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.importDatabase(ONetworkProtocolBinary.java:2916) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:635) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:320) at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:196) at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77) Caused by: java.lang.IllegalArgumentException: Cluster '<foo>_5' was not found at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.countClusterElements(ODatabaseDocumentTx.java:797) at com.orientechnologies.orient.core.index.OIndexAbstract.fillIndex(OIndexAbstract.java:499) at com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:467) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.