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

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(
        at com.sun.pdfview.decode.PDFDecoder.decodeStream(
        at com.sun.pdfview.PDFObject.decodeStream(
        at com.sun.pdfview.PDFObject.getStream(
        at com.sun.pdfview.PDFFile.getContents(
        at com.sun.pdfview.PDFFile.getPage(
        at com.sun.pdfview.PDFFile.getPage(
        at org.alfresco.repo.content.transform.PdfToImageContentTransformer.transformInternal(
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(
        at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(
        at org.alfresco.repo.content.RoutingContentService.transform(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

And the error log just continues ….