Resending - I have the impression the first attempt did not make it for some reason.
Peter > From: Peter Coppens <[EMAIL PROTECTED]> > Date: Thu, 27 Nov 2008 14:57:17 +0100 > To: <[email protected]> > Conversation: pdf-image extension - exception when referred page does not > exist > Subject: Re: pdf-image extension - exception when referred page does not exist > > Jeremias, > > Have you ever found the time to make progress on this? Or did I miss the > message on the list? > > Is there anything I can do the help to move this forward? > > Thanks, > > Peter > > >> From: Jeremias Maerki <[EMAIL PROTECTED]> >> Reply-To: <[email protected]> >> Date: Mon, 13 Oct 2008 14:23:44 +0200 >> To: <[email protected]> >> Subject: Re: pdf-image extension - exception when referred page does not >> exist >> >> I will take a look at this ASAP. >> >> On 01.10.2008 13:47:13 Peter Coppens wrote: >>> >>> 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.j>>> a >>> va:165) >>> at >>> org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCach>>> e >>> .java:96) >>> at >>> org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.j>>> a >>> va: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-doe>>> s >>> -not-exist-tp19758780p19758780.html >>> Sent from the FOP - Users mailing list archive at Nabble.com. >>> >> >> >> >> Jeremias Maerki >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
