If you use the provided Ant tasks to generate a PDF from an HR-XML document, you may encounter the following error:
java.lang.IllegalStateException: FOTreeBuilder (and the Fop class) cannot be reused. Please instantiate a new instance.
The probable cause is that the Saxon library is already on your CLASSPATH. To fix this problem, remove all Saxon references from your CLASSPATH.