You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2007/12/19 04:50:59 UTC

NPE in Sitemap Source

There is a problem with internal requests error handling; for some  
reason it causes NPE in the cocoon: source. Check this out:

http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/aggregate/custom-sitemap
http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/include/custom-sitemap

Currently it results in NPE in the SitemapSource.java:293, but it  
should generate output similar to these pages:

http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/aggregate/custom-setup
http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/include/custom-setup

Any clues why this is happening?

Vadim

Re: NPE in Sitemap Source

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Found & squished. Was extremely juicy - it's working in 2.1 only by  
coincidence.

Vadim

On Dec 18, 2007, at 10:50 PM, Vadim Gritsenko wrote:

> There is a problem with internal requests error handling; for some  
> reason it causes NPE in the cocoon: source. Check this out:
>
> http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/aggregate/custom-sitemap
> http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/include/custom-sitemap
>
> Currently it results in NPE in the SitemapSource.java:293, but it  
> should generate output similar to these pages:
>
> http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/aggregate/custom-setup
> http://cocoon.zones.apache.org/demos/trunk/samples/core/errorhandling/internal/include/custom-setup
>
> Any clues why this is happening?
>
> Vadim