cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <>
Subject Redirects to cocoon: URIs broken
Date Mon, 10 Mar 2003 08:42:14 GMT
If you apply the attached patch (which just adds a simple 
<map:redirect-to>) to the current CVS and try to load the default Cocoon 
home page for the webapp, you'll get a nice NPE at 

This is the same problem that causes bug #17673 [1] and it affects all 
redirects to URIs of the form "cocoon:/*". It is apparently due to 
AbstracEnvironment.startingProcessing not being called and consequently 
the sourceResolver member not being initialized.

Right now, I'm printing out stacktraces and looking at the call graph 
for the involved methods, but I'm not very familiar with the internals 
of sitemap processing and thus I'm going very slowly.

Excuse me if I'm insisting on this, but this bug is breaking the whole 
flow plus a lot more things, I think.



Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail:

View raw message