Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 93451 invoked from network); 31 May 2005 13:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2005 13:58:44 -0000 Received: (qmail 8199 invoked by uid 500); 31 May 2005 13:58:40 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 8133 invoked by uid 500); 31 May 2005 13:58:39 -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 8072 invoked by uid 99); 31 May 2005 13:58:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lakermmtao02.cox.net (HELO lakermmtao02.cox.net) (68.230.240.37) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 May 2005 06:58:36 -0700 Received: from [192.168.0.103] (really [70.179.64.83]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050531135826.NORL26223.lakermmtao02.cox.net@[192.168.0.103]> for ; Tue, 31 May 2005 09:58:26 -0400 Message-ID: <429C6D82.9020003@reverycodes.com> Date: Tue, 31 May 2005 09:58:26 -0400 From: Vadim Gritsenko User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: NPE in OJB block [was Re: svn commit: r177968 - in /cocoon: blocks/unsupported/ojb/trunk/java/org/apache/cocoon/ojb/c] References: <20050523125718.87041.qmail@minotaur.apache.org> <4291D426.3030008@apache.org> <429AF13B.7050808@apache.org> <429C67C8.7000401@reverycodes.com> <429C6CAC.5040800@apache.org> In-Reply-To: <429C6CAC.5040800@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > Vadim Gritsenko wrote: > >>Probably issue is related to the ordering of component >>instantiation. > > Yeah, I guess so as well, I was wondering why a static variable is > required anyway. OJB will instantiate instances of logger class, which then would need to get them connected back into the Cocoon logging - using this static variable. If OJB instantiates logger instances too early (before Logger component is initialized) it'd cause NPE. Vadim