xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Hofmann" <powers...@web.de>
Subject Fop 1.1 / fop-pdf-images / PDFBox 1.8.3/4
Date Tue, 04 Feb 2014 13:26:03 GMT
Hello *,

I have an old Fop with an old fop-pdf-images release perfectly running since years :)
But now I updated to FOP 1.1 release, fop-pdf-images trunk (also tested 2.0.1) and PDFBox
1.8.3/4.
That because I use PDFBox in my code also by myself with some newer features. 
 
So my first problem was that with PDFBox 1.8.3 I got exceptions from PDFBox - which seems
to be solved with updating today to 1.8.4 :)
The problem now is different - when running in debug more nothing more happens after the following
output:

2014-02-04 10:55:01,611 [PollScheduler] DEBUG org.apache.fop.layoutmgr.AbstractBreaker - PLM>
part: 1, start at pos 0, break at pos 3, break class = ANY
2014-02-04 10:55:01,611 [PollScheduler] DEBUG org.apache.fop.layoutmgr.AbstractBreaker - 
    addAreas from 0 to 0
2014-02-04 10:55:01,614 [PollScheduler] DEBUG org.apache.fop.area.IDTracker - signalIDProcessed()
2014-02-04 10:55:01,614 [PollScheduler] DEBUG org.apache.fop.area.IDTracker - signalIDProcessed()
2014-02-04 10:55:01,614 [PollScheduler] DEBUG org.apache.fop.area.IDTracker - signalIDProcessed()
2014-02-04 10:55:01,960 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@86ad0a with penalty 0
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@1a966b9 Converters: [org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D@972698,
org.apache.xmlgraphics.image.loader.impl.ImageConverterG2D2Bitmap@166d0be, org.apache.xmlgraphics.image.loader.impl.ImageConverterBuffered2Rendered@1127906,
org.apache.xmlgraphics.image.loader.impl.ImageConverterRendered2PNG@1c79e64] with penalty
1020
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@6fe64f Converters: [org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D@972698]
with penalty 1000
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@7953f0 Converters: [org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D@972698,
org.apache.xmlgraphics.image.loader.impl.ImageConverterG2D2Bitmap@166d0be] with penalty 1010
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@175dce3 Converters: [org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D@972698,
org.apache.xmlgraphics.image.loader.impl.ImageConverterG2D2Bitmap@166d0be, org.apache.xmlgraphics.image.loader.impl.ImageConverterBuffered2Rendered@1127906]
with penalty 1010
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.pipeline.PipelineFactory
- Pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@f8f12c Converters: [org.apache.fop.render.pdf.pdfbox.ImageConverterPDF2G2D@972698,
org.apache.fop.image.loader.batik.ImageConverterG2D2SVG@1a19cec] with penalty 1010
2014-02-04 10:55:01,963 [PollScheduler] DEBUG org.apache.xmlgraphics.image.loader.ImageManager
- Chosen pipeline: Loader: org.apache.fop.render.pdf.pdfbox.ImageLoaderPDF@86ad0a

Looks like no crash happens, no exception, also no cpu consumtion - really strange.
When trying the older fop-pdf-images 2.0.1 it stops (maybe) at the same point - but gives
me a warning that a pdf 1.5 was used which might result in unexpected results. But also nothing
more happens.

I also checked out the fop-pdf-images source code to find out more, but without much luck.

One time I got a Null pointer expection from PreloaderPDF.loadPDF(..) line 117:

pddoc.getDocument().setWarnMissingClose(false);

But can't reproduce this at the moment.

Can somebody help with this?


Greetings and thanks

     PowerStat

-- 
Kai Hofmann           EMail: powerstat@web.de
Bremen/Germany

---------------------------------------------------------------------
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