Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 83820 invoked from network); 21 Sep 2005 17:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 17:24:40 -0000 Received: (qmail 93854 invoked by uid 500); 21 Sep 2005 17:24:38 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 93581 invoked by uid 500); 21 Sep 2005 17:24:36 -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 93568 invoked by uid 99); 21 Sep 2005 17:24:36 -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 10:24:36 -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 10:24:45 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 6D5DC33579 for ; Wed, 21 Sep 2005 19:24:13 +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 22858-03 for ; Wed, 21 Sep 2005 19:23:54 +0200 (CEST) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id E34A433574 for ; Wed, 21 Sep 2005 19:23:54 +0200 (CEST) Message-ID: <4331972C.3030203@apache.org> Date: Wed, 21 Sep 2005 19:23:56 +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> <433172EE.2020507@apache.org> In-Reply-To: <433172EE.2020507@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 Sylvain Wallez wrote: > 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. Fixed. Please cross-check. There's still an issue with SAXException which doesn't seem to print its cause stacktrace, even with JDK 1.4. I'm currently working on it. Sylvain -- Sylvain Wallez Anyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director