Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 16586 invoked from network); 10 May 2006 14:08:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2006 14:08:12 -0000 Received: (qmail 97840 invoked by uid 500); 10 May 2006 14:01:23 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 97827 invoked by uid 500); 10 May 2006 14:01:23 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 97818 invoked by uid 99); 10 May 2006 14:01:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 07:01:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cris.daniluk@gmail.com designates 64.233.162.203 as permitted sender) Received: from [64.233.162.203] (HELO nz-out-0102.google.com) (64.233.162.203) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 07:01:22 -0700 Received: by nz-out-0102.google.com with SMTP id 4so167412nzn for ; Wed, 10 May 2006 07:01:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tcsmATcPEOELTAjMas6cQKgc9H6dtTlfIKSquPsQP0WFW3TvbfKI+AqlypAnEkqsO524ga061ahZoHyLWZRIHsgRUSrJ6IF88VgNbuGp9WhdD8mOXrXKiwXch9rdw2bb+iJkMmm9eAt1W6b6NRxNhAF8HI6lE7VOtfYzLcAuV5g= Received: by 10.36.67.8 with SMTP id p8mr698113nza; Wed, 10 May 2006 07:01:02 -0700 (PDT) Received: by 10.36.220.68 with HTTP; Wed, 10 May 2006 07:01:01 -0700 (PDT) Message-ID: Date: Wed, 10 May 2006 10:01:01 -0400 From: "Cris Daniluk" To: cayenne-user@incubator.apache.org Subject: weird stacktrace MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I haven't started debugging this fully yet, but on a production system that is taking a couple thousand hits a day (which all hit the DB/Cayenne stack), and which has been deployed for months now, we all of sudden started receiving this exception on just about every write operation: exception: [v.1.2M11 February 13 2006] java.lang.IllegalArgumentException: DataDomain can only work with DataContext. Unsupported context type: null org.objectstyle.cayenne.access.Transaction.onQuery(Transaction.java:218) org.objectstyle.cayenne.access.DataDomain.onQuery(DataDomain.java:721) org.objectstyle.cayenne.access.DataRowStore.getSnapshot(DataRowStore.java:3= 55) org.objectstyle.cayenne.access.ObjectStore.getSnapshot(ObjectStore.java:855= ) org.objectstyle.cayenne.access.ObjectStore.resolveHollow(ObjectStore.java:1= 066) org.objectstyle.cayenne.access.DataContext.prepareForAccess(DataContext.jav= a:1660) org.objectstyle.cayenne.CayenneDataObject.readProperty(CayenneDataObject.ja= va:238) Restarting the app server magically fixed the problem :) Any idea what might have happened to trigger this for writes (while reads are fine) across all DataContexts?