forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scherler, Thorsten" <thors...@apache.org>
Subject Re: java.lang.NullPointerException
Date Thu, 28 Oct 2004 08:04:44 GMT
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/xslt/fo
> > >/../../../common/xslt/fo/document2fo.xsl; Line 162; Column 59;
> > > ; SystemID:
> > > file:/home/stephan/apache-forrest-0.6/src/core/context/skins/pelt/xslt/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'/>

HTH
thorsten


Mime
View raw message