Return-Path: Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 72825 invoked by uid 500); 18 Aug 2003 19:10:51 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 72803 invoked from network); 18 Aug 2003 19:10:50 -0000 Received: from pjcourcouxdsl.claranet.co.uk (HELO pjc.courcoux.biz) (217.158.80.250) by daedalus.apache.org with SMTP; 18 Aug 2003 19:10:50 -0000 Received: (from peter@localhost) by pjc.courcoux.biz (8.11.6/linuxconf) id h7IJAo706642 for torque-user@db.apache.org; Mon, 18 Aug 2003 20:10:50 +0100 Subject: Re: Village - NegativeArraySizeException From: Peter Courcoux To: Apache Torque Users List In-Reply-To: <3F41228B.6090506@ericemminger.com> References: <1061199434.1881.22.camel@pjc.courcoux.biz> <3F41228B.6090506@ericemminger.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1061233848.1881.43.camel@pjc.courcoux.biz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 18 Aug 2003 20:10:49 +0100 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Eric, Thanks for looking at this. I am calling save on an object from the following table :-
On Mon, 2003-08-18 at 20:01, Eric Emminger wrote: > Peter > > > 2003-08-18 10:04:17,643 [Ajp13Processor[8009][4]] ERROR com.mydomain.myproject.modules.actions.MyAction - doUpdate() : Exception caught > > java.lang.NegativeArraySizeException > > at org.postgresql.jdbc1.AbstractJdbc1Statement.setBinaryStream(AbstractJdbc1Statement.java:1257) > > at com.workingdogs.village.Value.setPreparedStatementValue(Unknown Source) > > at com.workingdogs.village.Record.saveWithUpdate(Unknown Source) > > at com.workingdogs.village.Record.save(Unknown Source) > > at com.workingdogs.village.Record.save(Unknown Source) > > at org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:896) > > at org.apache.torque.util.BasePeer.doUpdate(BasePeer.java:1928) > > Have you tried checking the size of the array before using it? Are you > getting any exceptions specific to your code? > > Eric > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org -- Peter Courcoux --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org