Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE84698E7 for ; Tue, 20 Dec 2011 12:19:45 +0000 (UTC) Received: (qmail 31605 invoked by uid 500); 20 Dec 2011 12:19:45 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 31546 invoked by uid 500); 20 Dec 2011 12:19:45 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 31538 invoked by uid 99); 20 Dec 2011 12:19:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 12:19:44 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2011 12:19:37 +0000 Received: by vbbfq11 with SMTP id fq11so8578966vbb.16 for ; Tue, 20 Dec 2011 04:19:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.94.148 with SMTP id dc20mr746882vdb.109.1324383555370; Tue, 20 Dec 2011 04:19:15 -0800 (PST) Received: by 10.220.108.200 with HTTP; Tue, 20 Dec 2011 04:19:15 -0800 (PST) Date: Tue, 20 Dec 2011 13:19:15 +0100 Message-ID: Subject: No object is registered in context with Id ? From: Arnaud Garcia To: user@cayenne.apache.org Content-Type: multipart/alternative; boundary=bcaec5015f2b5d3d1604b4851313 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5015f2b5d3d1604b4851313 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I have this error that I don't understand ? (see below), what does it means ? remark: My SXDBPatient Cayenne object has a pk attribute (key) and also an attribute wich is id thanks for help, Arnaud org.apache.cayenne.CayenneRuntimeException: [v.3.0.2 Jun 11 2011 09:31:18] No object is registered in context with Id at org.apache.cayenne.access.ObjectStore.registerDiff(ObjectStore.java:190) at org.apache.cayenne.access.ObjectStore.nodePropertyChanged(ObjectStore.java:1090) at org.apache.cayenne.util.ObjectContextGraphAction.handleSimplePropertyChange(ObjectContextGraphAction.java:83) at org.apache.cayenne.util.ObjectContextGraphAction.handlePropertyChange(ObjectContextGraphAction.java:67) at org.apache.cayenne.access.DataContext.propertyChanged(DataContext.java:1506) at org.apache.cayenne.CayenneDataObject.writeProperty(CayenneDataObject.java:244) at com.systemx.db.model.auto._SXDBPatient.setId(_SXDBPatient.java:42) --bcaec5015f2b5d3d1604b4851313--