cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: NPE in OJB block [was Re: svn commit: r177968 - in /cocoon: blocks/unsupported/ojb/trunk/java/org/apache/cocoon/ojb/c]
Date Tue, 31 May 2005 13:58:26 GMT
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

Mime
View raw message