On 28 May 2009, at 15:46, Sergiu Dumitriu wrote:
Andreas Delmelle wrote:
Not sure if it is a possibility for you to download and build FOP
Trunk. If you have Subversion and Ant available on your system,
then it requires virtually no extra effort. Just check out with
Subversion, navigate to FOP's root directory in a terminal window,
and run 'ant package' to create the fop.jar.
Not exactly, I had some problems when trying this on the command
line, but it worked from Eclipse.
<snip />
codegen:
[echo] Generating the java files from xml resources
compile-java:
resourcegen:
BUILD FAILED
java.lang.NullPointerException
at
org
.apache
.fop
.tools
.EventProducerCollector
.createMethodModel(EventProducerCollector.java:138)
Seems that QDox' JavaMethod.isReturns() may produce null in some
cases, which results in Type.isVoid() yielding a NPE. Their API docs
do not offer a lot of explanation, unfortunately....
Do you have another version of QDox in the classpath? Does Eclipse use
the exact same Java version/build?
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]