forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan E. Schlierf" <stephan.schli...@vsa.de>
Subject Re: java.lang.NullPointerException
Date Thu, 28 Oct 2004 09:29:59 GMT
Am Donnerstag, 28. Oktober 2004 10:04 schrieb Scherler, Thorsten:
> El jue, 28-10-2004 a las 09:52, Stephan E. Schlierf escribió:
> > Am Donnerstag, 28. Oktober 2004 06:24 schrieb David Crossley:
> > > Stephan E. Schlierf wrote:
> > > > schrieb Ross Gardler:
> > > > > 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
> > > >
> > > > Hm, in core.log you can find:
> > > > FATAL_E (2004-10-27) 15:22.31:668   [core.xslt-processor]
> > > > (Unknown-URI) Unknown-thread/TraxErrorHandler: Error in
> > > > TraxTransformer:
> > > > file:/home/stephan/apache-forrest-0.6/src/core/context/skins/pelt/xsl
> > > >t/fo /../../../common/xslt/fo/document2fo.xsl; Line 162; Column 59; ;
> > > > SystemID:
> > > > file:/home/stephan/apache-forrest-0.6/src/core/context/skins/pelt/xsl
> > > >t/fo /../../../common/xslt/fo/document2fo.xsl; Line#: 162; Column#: 59
> > > > javax.xml.transform.TransformerException:
> > > > java.lang.NullPointerException
> > > >
> > > > Line 162 in document2fo.xsl is
> > > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> > > >
> > > > Just an idea:
> > > > Is it possible that Forrest tries to generate a pdf-file for the
> > > > linkmap.html ? In apache-forrest-0.6/status.xml I found an entry by
> > > > NKB: "Requesting linkmap.html Forrest now renders the site.xml file
> > > > as a table of contents."
> > >
> > > Forrest does generate linkmap.pdf by default, and the local
> > > core Forrest docs do build okay for me. The difference
> > > is that you are doing an aggregated group of docs.
> > >
> > > Perhaps the inclusion of this "linkmap" document into
> > > the aggregation is one cause.
> >
> > o.k., so my question is now: Is it possible to prevent Forrest from
> > generating linkmap.html and linkmap.pdf ?
>
> try:
> <linkmap label="linkmap" href="linkmap.html"
>    description="linkmap" wholesite='false'/>

Unfortunately this does not work. As far as I can see I can't use the 
"wholesite" attribute because I do not want to generate one pdf-file for the 
whole project but different pdf-files for different groups of documents.
Therefore I used to define something like
...
<map:parameter name="include" value="/*[name()='site']/*[name()='wflow']"/>
...
in my special xmap-file. So only the element <wflow>...</wflow> and its 
children of site.xml are included.
Any other way to deactivate linkmap.html ?

TIA,
Stephan

Mime
View raw message