com.orientechnologies.orient.core.exception.OValidationException: The field 'auditOn.in' has been declared as LINK of type 'BaseEntity' but the value is the document #154:1 of class 'Taxonomy'

Stack Overflow | user1419827 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OrientDB with Spring polymorphism

    Stack Overflow | 8 months ago | user1419827
    com.orientechnologies.orient.core.exception.OValidationException: The field 'auditOn.in' has been declared as LINK of type 'BaseEntity' but the value is the document #154:1 of class 'Taxonomy'

    Root Cause Analysis

    1. com.orientechnologies.orient.core.exception.OValidationException

      The field 'auditOn.in' has been declared as LINK of type 'BaseEntity' but the value is the document #154:1 of class 'Taxonomy'

      at com.orientechnologies.orient.core.record.impl.ODocument.validateLink()
    2. OrientDB Core
      ODocument.toStream
      1. com.orientechnologies.orient.core.record.impl.ODocument.validateLink(ODocument.java:484)
      2. com.orientechnologies.orient.core.record.impl.ODocument.validateField(ODocument.java:275)
      3. com.orientechnologies.orient.core.record.impl.ODocument.validate(ODocument.java:1953)
      4. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2259)
      5. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)
      6. com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1727)
      7. com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1718)
      8. com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:76)
      9. com.orientechnologies.orient.core.db.record.ridbag.embedded.OEmbeddedRidBag.serialize(OEmbeddedRidBag.java:371)
      10. com.orientechnologies.orient.core.db.record.ridbag.ORidBag.toStream(ORidBag.java:274)
      11. com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:581)
      12. com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:261)
      13. com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:105)
      14. com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2100)
      15. com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:695)
      15 frames
    3. OrientDB Client
      OStorageRemote.commitEntry
      1. com.orientechnologies.orient.client.remote.OStorageRemote.commitEntry(OStorageRemote.java:1998)
      1 frame