Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 67469 invoked from network); 18 Sep 2003 15:56:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Sep 2003 15:56:22 -0000 Received: (qmail 63009 invoked by uid 500); 18 Sep 2003 15:56:10 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 62975 invoked by uid 500); 18 Sep 2003 15:56:09 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 62962 invoked from network); 18 Sep 2003 15:56:09 -0000 Received: from unknown (HELO smarthost4.mail.uk.easynet.net) (212.135.6.14) by daedalus.apache.org with SMTP; 18 Sep 2003 15:56:09 -0000 Received: from [217.205.128.162] (helo=EstafetLaptop) by smarthost4.mail.uk.easynet.net with esmtp (Exim 4.10) id 1A018d-0003mC-00 for commons-user@jakarta.apache.org; Thu, 18 Sep 2003 16:56:12 +0100 Message-ID: <01ee01c37dfd$92f714d0$6714a8c0@EstafetLaptop> From: "Michael Watson" To: "Jakarta Commons Users List" References: <0E67F915-C05E-11D7-9AEF-003065DC754C@blueyonder.co.uk> Subject: Betwixt - CyclicReferenceException Date: Thu, 18 Sep 2003 16:57:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm having issues with cyclic references and was wondering if anyone can shed some light for me. I'm calling BeanWriter.write (on a reasonably complex bean) and occasionally getting a cyclicreferenceexception thrown. I can reproduce the problem easily but the thing that's confusing me is that I can call this method with another instance of the same type of bean (with near identical data) and it doesn't throw an exception. Can anyone explain exactly what a cyclic reference is, how I might be able to identify what part of the bean is causing it and how I can try and avoid it? Thanks in advance. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org