Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2719

FaultFailureException Accessing Field of DB Object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.2.B1
    • 5.0-M2
    • Core Library
    • None

    Description

      I've tried to debug this issue myself but am not having any luck - submitting as an issue on the off-chance that there might be a bug in the snapshot build we're running. Thank you as always for this fantastic project.

      The field Order.CREATED_BY in the auto-generated bean is a timestamp/date.

      Stack trace:

      org.apache.cayenne.FaultFailureException: [v.4.2.M4-SNAPSHOT Aug 13 2021 14:42:16] Error resolving fault, no matching row exists in the database for ObjectId:++
      at org.apache.cayenne.BaseContext.prepareForAccess(BaseContext.java:365)
      at org.apache.cayenne.BaseDataObject.beforePropertyRead(BaseDataObject.java:90)
      at org.apache.cayenne.BaseDataObject.readProperty(BaseDataObject.java:103)
      at com.jamesinnes.db.auto._Order.getCreatedBy(_Order.java:391)

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            hvass Peter Hvass
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: