Hmm, usually yes - but as only few people are debugging cocoon anyway, installing the checks keeps everyone happy and noone searches for the
real bug.
And there's also the problem that "assert" is available only in JDK 1.4, unless we want to introduce some compatibility layer or such. So, my question was more philosophical than practical ;-).
Anyway, what are you going to do with my patch? May I suggest applying it (this would at least fix the problems with redirects and the flow), maybe logging a warning when those objects are null? And a comment, too. Would you like me to produce a new patch with these mods?
Ugo
-- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]