forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: java.lang.NullPointerException
Date Wed, 27 Oct 2004 13:07:27 GMT
Stephan E. Schlierf wrote:
> I'm still working on the creation of a pdf-file that is aggregated from a 
> group of documents.
> With forrest 0.5.1 it works like a charm.
> 
> With forrest 0.6 I get the following error message during a "forrest site":
> 
> ---snip---
> X [0]  linkmap.pdf   BROKEN: java.lang.NullPointerException
> ---snip---

is there anything of significance in your logs?

See build/webapp/WEB-INF/logs

Ross

> 
> With forrest 0.6 I use a minimalized sitemap.xmap:
> 
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>   <map:pipelines>
>     <map:pipeline internal-only="false">
>       <map:match pattern="**.xml">
>         <map:match pattern="workflow_doku.xml">
>           <map:mount uri-prefix="" src="workflow_doku.xmap" 
> check-reload="yes" />
>         </map:match>
>       </map:match>
>     </map:pipeline>
>   </map:pipelines>
> </map:sitemap>
> 
> My workflow_doku.xmap looks like:
> 
> <?xml version="1.0"?>
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>   <map:components>
>     <map:generators default="file"/>
>     <map:serializers default="html"/>
>     <map:transformers default="xslt">
>       <map:transformer name="cinclude" 
> src="org.apache.cocoon.transformation.CIncludeTransformer"/>
>     </map:transformers>
>     <map:matchers default="wildcard"/>
>   </map:components>
> 
>   <map:pipelines>
>     <map:pipeline>
>         <map:match pattern="*.xml">
>             <map:generate src="cocoon://abs-linkmap"/>
>             <map:transform type="xpath">
>                 <map:parameter name="include" 
> value="/*[name()='site']/*[name()='wflow']"/>
>             </map:transform>
>             <map:transform src="resources/stylesheets/site2book.xsl" />
>             <map:transform 
> src="resources/stylesheets/aggregates/book2cinclude.xsl">
>               <map:parameter name="title" value="{conf:project-name}: 
> Workflows"/>
>             </map:transform>
>             <map:transform type="cinclude"/>
>             <map:transform 
> src="resources/stylesheets/aggregates/doc2doc-uniqueids.xsl"/>
>             <map:transform 
> src="resources/stylesheets/aggregates/docs2document.xsl"/>
>             <map:serialize type="xml"/>
>         </map:match>
> 
>       <map:match pattern="linkmap-*.*">
>         <map:generate src="cocoon://abs-linkmap" />
>         <map:transform 
> src="resources/stylesheets/aggregates/relativize-split-linkmap.xsl">
>           <map:parameter name="path" value="{1}.{2}" />
>         </map:transform>
>         <map:serialize type="xml"/>
>       </map:match>
>     </map:pipeline>
>   </map:pipelines>
> </map:sitemap>
> 
> Any ideas?
> TIA,
> Stephan
> 
> 


Mime
View raw message