Andreas L Delmelle wrote:




Cannot reproduce it here...

Strange. The patch is definitely applied and I tried building it twice just to make sure. The second time it run and generated about 100 docs before failure.



java.lang.NullPointerException
at org.apache.fop.fo.properties.PropertyCache.cleanSegment (PropertyCache.java:99)


... and this line can normally not cause an NPE.

Which JVM did you test it on? Do you run multiple concurrent threads, or is it just a plain single-threaded iteration?

Sun 1.5.0_12 on Windows XP SP 2. The test app is running in a single thread although I can configure it to run more threads. I should mention that my machine is a Quad Core :) I don't think that should matter since the application is single threaded.



<snip />
Also, I'm not sure why synchronization is needed if the cleaner threads have been removed?


Because the caches are shared between multiple FOP sessions in the same VM.

Good point.

Thanks,

Chris


Reply via email to