cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Aggregation Error
Date Tue, 02 Oct 2001 15:20:26 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message