Hello,

When referring to a page that is not present in the pdf, the pdf-image
extension throws an exception.

SEVERE: Exception stack tracejava.lang.IndexOutOfBoundsException: Index: 3,
Size: 2
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.pdfbox.pdmodel.PDDocument.getPageFormat(PDDocument.java:776)
        at
org.apache.fop.render.pdf.pdfbox.PreloaderPDF.loadPDF(PreloaderPDF.java:114)
        at
org.apache.fop.render.pdf.pdfbox.PreloaderPDF.preloadImage(PreloaderPDF.java:73)
        at
org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:165)
        at
org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:96)
        at
org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:112)
        at
org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:79)


Is it thinkable to (optionally) change this behavior so that a "SEVERE"
message is logged but that processing continues...much like fop's standard
behavior when referring to non-existent images.

Thanks,

Peter
-- 
View this message in context: 
http://www.nabble.com/pdf-image-extension---exception-when-referred-page-does-not-exist-tp19758780p19758780.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to