Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-53942

Some PDFs are causing an error on visualization

    XMLWordPrintable

Details

    Description

      Some PDFs files when viewed with the PDF macro are blank and the following stacktrace can be seen:

      @4000000054f869e025edc52c com.sun.pdfview.PDFParseException: Unknown command: qq
      @4000000054f869e025edccfc       at com.sun.pdfview.PDFParser.iterate(PDFParser.java:800)
      @4000000054f869e025edccfc       at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
      @4000000054f869e025edd0e4       at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
      @4000000054f869e025edd0e4       at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
      @4000000054f869e025edd4cc       at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1547)
      @4000000054f869e025ee0f64       at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:105)
      @4000000054f869e025ee0f64       at com.benryan.conversion.PdfSlideConversionBatchTask.convertFile(PdfSlideConversionBatchTask.java:33)
      @4000000054f869e025ee134c       at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50)
      @4000000054f869e025ee1734       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      @4000000054f869e025ee1b1c       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      @4000000054f869e025ee22ec       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      @4000000054f869e025ee26d4       at java.lang.Thread.run(Thread.java:745)
      

      You have to click the arrow to the next page a few times to get the stacktrace.

      This seems to be a problem with specific PDF files.

      Steps to reproduce

      1. Create a page and attach one of the PDF files that are causing this error
      2. Add the PDF view with that file
      3. Save the page

      Expected behavior

      • The page displays the content in the PDF correctly

      Actual behavior

      • The PDF view is blank
      • A stacktrace can be seen in the logs

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsilveira Jaime S
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: