Thanks for the test file. I was able to reproduce and fix the bug. It is
fixed in FOP Trunk:
http://svn.apache.org/viewvc?view=rev&rev=517415

If you can't use FOP Trunk you can work around the problem by
explicitely setting the height or block-progression-dimension property
on the block-container.

On 12.03.2007 20:43:05 nick humphrey wrote:
> see attached file...
> i echo the java_home variable in the fop script and it is using the
> correct java version, to where i also made the endorsed directory
> ($JAVA_HOME/lib), but like i said, still the same errors. when i run
> fop with just the fo and pdf statements:
> ./fop XXX.fo XXX.pdf
> 
> then some errors aren't present/repeated (like when i run with -xml
> -xsl -pdf parameters), i only get this:
> ================
> 12/03/2007 10:17:32 org.apache.fop.apps.FOUserAgent setTargetResolution
> INFO: target-resolution set to: 72.0dpi (px2mm=0.35277778)
> 12/03/2007 10:17:34 org.apache.fop.cli.Main startFOP
> SEVERE: Exception
> java.lang.IllegalStateException: lineWidth must be set and positive,
> but it is: -2834
<snip/>
> java.lang.IllegalStateException: lineWidth must be set and positive,
> but it is: -2834
>         at 
> org.apache.fop.layoutmgr.BreakingAlgorithm.getLineWidth(BreakingAlgorithm.java:1087)
<snip/>
> =================
> 
> 
> would really like to get this working so i don't have to use jasperreports...

:-)

<snip/>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to