Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 52176 invoked from network); 29 Oct 2003 16:24:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Oct 2003 16:24:50 -0000 Received: (qmail 7771 invoked by uid 500); 29 Oct 2003 16:24:36 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 7713 invoked by uid 500); 29 Oct 2003 16:24:35 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 7635 invoked from network); 29 Oct 2003 16:24:34 -0000 Received: from unknown (HELO mail.cbim.it) (212.131.130.82) by daedalus.apache.org with SMTP; 29 Oct 2003 16:24:34 -0000 Received: from cuprouter.cbim.it (cuprouter.cbim.it [192.168.4.10]) by mail.cbim.it (8.11.6/8.11.0) with ESMTP id h9TGndM02173 for ; Wed, 29 Oct 2003 17:49:39 +0100 Received: from cbim.it (caterina.cbim.it [192.168.4.42]) by cuprouter.cbim.it (8.9.3/8.9.3) with ESMTP id RAA05086 for ; Wed, 29 Oct 2003 17:25:03 +0100 Message-ID: <3F9FEAA1.3030600@cbim.it> Date: Wed, 29 Oct 2003 17:28:17 +0100 From: Ugo Cei Organization: C.B.I.M. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: NPEs in FlowLayer References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Jeremy Quinn wrote: > I will login successfully, logout, then login again, the second time > around, I get NPEs from cocoon.log.info. NPEs that I did not get the > first time around. I suggest that you add some more null checks in FOM_Cocoon, if you have identified the source lines that dereference nulls in your case. Defensive programming is A Good Thing (TM). Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: u.cei@cbim.it