xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Bernardo <lmpmberna...@gmail.com>
Subject Re: FOP 1.1 + latest PDF-image plugin not so happy
Date Tue, 20 Nov 2012 09:34:58 GMT
Can you please provide an example that causes this? I did not see the
issue in the tests I ran, but the examples were also quite simple.

On Tue, Nov 20, 2012 at 2:14 AM, Martin Edge
<Martin.Edge@intellimail.com.au> wrote:
> Hi,
>
>
>
> Have upgraded to FOP 1.1 and the latest build of the pdf-image library, and
> as much as it’s seems pretty clear it’s a PDFBox issue more than anything,
> I’m seeing this;
>
>
>
> 20/11/2012 1:11:25 PM org.apache.fop.events.LoggingEventListener
> processEvent
>
> SEVERE: Error while writing an image to the target file. Reason:
> java.io.IOException: The handle is invalid
>
> java.io.IOException: The handle is invalid
>
>         at java.io.RandomAccessFile.seek(Native Method)
>
>         at
> org.apache.pdfbox.io.RandomAccessFile.seek(RandomAccessFile.java:59)
>
>         at
> org.apache.pdfbox.io.RandomAccessFileInputStream.read(RandomAccessFileInputStream.java:96)
>
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>
>         at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
>
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>
>         at java.io.FilterInputStream.read(FilterInputStream.java:90)
>
>         at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:189)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:110)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:141)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:110)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:106)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:200)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:110)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:106)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:200)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:110)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:106)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:200)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:110)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.cloneForNewDocument(PDFBoxAdapter.java:106)
>
>         at
> org.apache.fop.render.pdf.pdfbox.PDFBoxAdapter.createFormFromPDFBoxPa
>
>
>
> Exactly the same stylesheet / PDF works in FOP 1.0 and 2.0.0 …
>
>
>
> I have managed to achieve what I need using the old version – but wondering
> if there is a suggestion on how to get past this in the new version?
>
>
>
> Thanks
> Martin.
>
>
>
>

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