xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: NPE in Fop Task
Date Wed, 15 Feb 2006 08:01:41 GMT
Always state the FOP and JDK version you're using.

You can run Ant using the "-d" or "-v" parameters and then you should
get stack traces.

On 15.02.2006 07:16:55 Eike Stepper wrote:
> Hi,
> 
> I get a NullPointerException when calling Fop from my Ant script:
> 
> 	<macrodef name="pdf">
> 		<attribute name="filename" />
> 		<sequential>
> 			<ant antfile="${docbook.xsl.home}/scripts/build.xml" target="build.fo">
> 				<property name="file.name" value="@{filename}" />
> 				<property name="target.dir" value="pdf" />
> 			</ant>
> 			<fop fofile="pdf/@{filename}.fo" outfile="pdf/@{filename}.pdf" format="application/pdf"
messagelevel="debug" />
> 		</sequential>
> 	</macrodef>
> 
> 	<target name="generate">
> 		<pdf filename="TechReport" />
> 	</target>
> 
> No stacktrace ;-(
> The .fo file is attached.
> 
> Any ideas?
> 
> Cheers
> /Eike
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message