Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 19282 invoked from network); 21 Sep 2005 14:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 14:49:51 -0000 Received: (qmail 26050 invoked by uid 500); 21 Sep 2005 14:49:47 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 26025 invoked by uid 500); 21 Sep 2005 14:49:47 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 26012 invoked by uid 99); 21 Sep 2005 14:49:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 07:49:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 07:49:55 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 9F7EE33574 for ; Wed, 21 Sep 2005 16:49:24 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17599-03 for ; Wed, 21 Sep 2005 16:49:16 +0200 (CEST) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id B999D33570 for ; Wed, 21 Sep 2005 16:49:16 +0200 (CEST) Message-ID: <433172EE.2020507@apache.org> Date: Wed, 21 Sep 2005 16:49:18 +0200 From: Sylvain Wallez User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [2.1.8-dev] Real exception is not logged anymore References: <43316846.1050802@apache.org> In-Reply-To: <43316846.1050802@apache.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: >If you log an exception, the real cause for the exception is not logged >anymore. For example, I have a problem for example in a portlet where an >NPE is thrown. THis is later catched several times, the new location >information is added and then finally logged. The logged exception >containes the location information, but the NPE got somehow lost. > >Any idea how to fix this? > > I encountered the same yesterday on one of our portal applications, where only the TransformerException raised by the portal stylesheet was reported. I'll fix this ASAP. Sylvain -- Sylvain Wallez Anyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director