[ https://issues.apache.org/jira/browse/CAY-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev reassigned CAY-2719: ------------------------------------ Assignee: Nikita Timofeev > FaultFailureException Accessing Field of DB Object > -------------------------------------------------- > > Key: CAY-2719 > URL: https://issues.apache.org/jira/browse/CAY-2719 > Project: Cayenne > Issue Type: Bug > Components: Core Library > Affects Versions: 4.2.B1 > Reporter: Peter Hvass > Assignee: Nikita Timofeev > Priority: Minor > Fix For: 4.2.B1 > > > 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) -- This message was sent by Atlassian Jira (v8.3.4#803005)