com.orientechnologies.orient.core.exception.ODatabaseException: Error on saving record #561:10 DB name="default"

GitHub | vantonov1 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE while updating Lucene-indexed field

    GitHub | 7 months ago | vantonov1
    com.orientechnologies.orient.core.exception.ODatabaseException: Error on saving record #561:10 DB name="default"

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.orientechnologies.lucene.tx.OLuceneTxChangesMultiRid.remove()
    2. com.orientechnologies.lucene
      OLuceneIndexNotUnique.remove
      1. com.orientechnologies.lucene.tx.OLuceneTxChangesMultiRid.remove(OLuceneTxChangesMultiRid.java:58)
      2. com.orientechnologies.lucene.index.OLuceneIndexNotUnique.remove(OLuceneIndexNotUnique.java:159)
      2 frames
    3. OrientDB Core
      OTransactionOptimistic.addRecord
      1. com.orientechnologies.orient.core.index.OClassIndexManager.removeFromIndex(OClassIndexManager.java:617)
      2. com.orientechnologies.orient.core.index.OClassIndexManager.deleteIndexKey(OClassIndexManager.java:268)
      3. com.orientechnologies.orient.core.index.OClassIndexManager.processIndexUpdateFieldAssignment(OClassIndexManager.java:206)
      4. com.orientechnologies.orient.core.index.OClassIndexManager.processSingleIndexUpdate(OClassIndexManager.java:179)
      5. com.orientechnologies.orient.core.index.OClassIndexManager.processIndexUpdate(OClassIndexManager.java:456)
      6. com.orientechnologies.orient.core.index.OClassIndexManager.onRecordAfterUpdate(OClassIndexManager.java:440)
      7. com.orientechnologies.orient.core.hook.ODocumentHookAbstract.onTrigger(ODocumentHookAbstract.java:260)
      8. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.callbackHooks(ODatabaseDocumentTx.java:1075)
      9. com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:501)
      9 frames