Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24773

Only first page of PDF document was rendered in viewfile/viewpdf macro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 3.5.1, 4.1.5
    • None

      Only first page of EstoniaBenefitsNEO14022012.pdf was rendered in viewfile/viewpdf macro.

      Tested in Confluence 3.5.1 & 4.1.5 and got the following stack trace from Tomcat window:

      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:87)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      com.sun.pdfview.PDFParseException: Unknown pattern type 2
              at com.sun.pdfview.pattern.PDFPattern.getPattern(PDFPattern.java:85)
              at com.sun.pdfview.colorspace.PatternSpace.getPaint(PatternSpace.java:103)
              at com.sun.pdfview.PDFParser.doPattern(PDFParser.java:1011)
              at com.sun.pdfview.PDFParser.iterate(PDFParser.java:659)
              at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
              at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
              at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
              at com.sun.pdfview.PDFFile.getPage(PDFFile.java:1546)
              at com.benryan.conversion.SlideConversionThread.convertFile(SlideConvers
      ionThread.java:84)
              at com.benryan.conversion.SlideConversionThread.run(SlideConversionThrea
      d.java:123)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
              at java.util.concurrent.FutureTask.run(FutureTask.java:138)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:662)
      
      

              Unassigned Unassigned
              hsuhailah Hanis Suhailah (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: