cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: NPEs in FlowLayer
Date Wed, 29 Oct 2003 17:10:16 GMT
Ugo Cei wrote:

> 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
>
>
Sorry, but I don't agree. NPE's are indications of bugs. Hiding those 
with checks for null doesn't help matters, IMO.

My $0.02,

Chris


Mime
View raw message