Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-22867

Viewfile PDF causes Confluence to crash

    XMLWordPrintable

    Details

      Description

      Specific PDF file causes Confluence to crash when viewed through Viewfile. No errors in Confluence logs, Tomcat logs show the following:

      2011-07-07 10:41:33,383 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.5.6 (build #2162)
      2011-07-07 10:41:37,425 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
      2011-07-07 10:41:37,722 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:00.295
      [Deprecated] Xalan: org.apache.xalan.processor.TransformerFactoryImpl
      Jul 7, 2011 10:42:11 AM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      Jul 7, 2011 10:42:11 AM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 41907 ms
      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(SlideConversionThread.java:87)
      	at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.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(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:637)
      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(SlideConversionThread.java:87)
      	at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.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(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:637)
      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(SlideConversionThread.java:87)
      	at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.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(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:637)
      Invalid access of stack red zone 0x146b02fc8 rip=0x13cbade48
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  6 years, 19 weeks, 1 day ago