You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alexander Smirnoff <as...@vistar.ca> on 2001/10/02 17:20:26 UTC

Aggregation Error

Hi everyone,

Maybe I do not get the idea of pipelines and the aggregation stuff, but this
what happens:

My sitemap has:

<map:pipeline>
....
   <map:match pattern="account">
       <map:generate src="xsp/account.xsp" type="serverpages"/>
       <map:serialize type="xml"/>
   </map:match>
   <map:match pattern="request/messages">
       <map:aggregate element="Response">
           <map:part src="cocoon:account"/>
       </map:aggregate>
       <map:serialize type="xml"/>
   </map:match>
....
</map:pipeline>

When I send http://loalhost:8080/mysite/request/messages cocoon goes wild by
giving me Exception:

Could not get sitemap source http://localhost:8080/mysite/account:
java.lang.NullPointerException,

but http://localhost:8080/mysite/account does work fine. Any ideas?

Thanks,
Alexander Smirnoff


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>