AnsweredAssumed Answered

Labs Stable: error PDFParseException: Data format exception

Question asked by jan on Feb 4, 2009
Latest reply on May 17, 2009 by gronfelt
Hi,

Installation: Alfresco Labs Stable running on Ubuntu 8.04 64bit. Share cliënt. OpenOffice 3. CIFS disabled.

In the catalina log I get loads of errors "com.sun.pdfview.PDFParseException: Data format exception:unknown compression method" . When I looked on the internet it had something to do with generating thumnails from pdf's.

I thought that Imagemagic does this, but maybe imagemagic uses a Sun library.  My thumbnails and pdf's get generated fine, so there is no problem in the Share interface. However, do not like those error messages popping up in the Catalina log.

Does somebody have a clue what's going on?

GetPage inner loop:
com.sun.pdfview.PDFParseException: Data format exception:unknown compression method
        at com.sun.pdfview.decode.FlateDecode.decode(FlateDecode.java:85)
        at com.sun.pdfview.decode.PDFDecoder.decodeStream(PDFDecoder.java:60)
        at com.sun.pdfview.PDFObject.decodeStream(PDFObject.java:330)
        at com.sun.pdfview.PDFObject.getStream(PDFObject.java:257)
        at com.sun.pdfview.PDFFile.getContents(PDFFile.java:1098)
        at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1051)
        at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1020)
        at org.alfresco.repo.content.transform.PdfToImageContentTransformer.transformInternal(PdfToImageContentTransformer.java:90)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:216)
        at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:154)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:216)
        at org.alfresco.repo.content.RoutingContentService.transform(RoutingContentService.java:505)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

And the error log just continues ….

Outcomes