com.atlassian.confluence.importexport.ImportExportException: Exception thrown while rendering the page 'Test Page' to the PDF document /Users/rchang/atl/conf542/home/temp/pdfexport-20140528-280514-1747-6/TEST-280514-1747-7.pdf

Atlassian JIRA | Robert Chang [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Summary Pages containing certain types of .bmp files will fail to be imported out to PDF. This affects both single-page PDF exports or space-level PDF exports that includes this page. h3. Steps to Reproduce # Have a Confluence page # Add the attached bmp file to the page [^example.bmp] # Export this page to PDF (Page tools > Export to PDF) h3. Expected Results PDF export created succesfully h3. Actual Results Export failed. The below exception is thrown in the atlassian-confluence.log file: {code} 2014-05-28 17:50:02,236 ERROR [Long running task: PDF Space Export] [core.task.longrunning.AbstractLongRunningTask] doInTransactionWithoutResult Error during PDF export -- url: /spaces/flyingpdf/doflyingpdf.action | userName: admin | referer: http://localhost:5542/spaces/flyingpdf/flyingpdf.action?key=TEST | action: doflyingpdf com.atlassian.confluence.importexport.ImportExportException: Exception thrown while rendering the page 'Test Page' to the PDF document /Users/rchang/atl/conf542/home/temp/pdfexport-20140528-280514-1747-6/TEST-280514-1747-7.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:111) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForSpace(FlyingSaucerPdfExporterService.java:60) at com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask$1.doInTransactionWithoutResult(PdfExportLongRunningTask.java:72) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask.runInternal(PdfExportLongRunningTask.java:52) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.RuntimeException: Failed to read image at com.atlassian.confluence.extra.flyingpdf.LightITextFSImage.getImage(LightITextFSImage.java:128) at org.xhtmlrenderer.pdf.ITextOutputDevice.drawImage(ITextOutputDevice.java:768) at org.xhtmlrenderer.pdf.ITextImageElement.paint(ITextImageElement.java:72) at org.xhtmlrenderer.pdf.ITextOutputDevice.paintReplacedElement(ITextOutputDevice.java:183) at org.xhtmlrenderer.layout.Layer.paintReplacedElement(Layer.java:554) at org.xhtmlrenderer.layout.Layer.paintReplacedElements(Layer.java:511) at org.xhtmlrenderer.layout.Layer.paintAsLayer(Layer.java:485) at org.xhtmlrenderer.render.BlockBox.paintInline(BlockBox.java:265) at org.xhtmlrenderer.layout.Layer.paintInlineContent(Layer.java:274) at org.xhtmlrenderer.layout.Layer.paint(Layer.java:346) at org.xhtmlrenderer.pdf.ITextRenderer.paintPage(ITextRenderer.java:384) at org.xhtmlrenderer.pdf.ITextRenderer.writePDF(ITextRenderer.java:348) at org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:315) at org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:246) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:94) ... 12 more Caused by: java.lang.RuntimeException: BMP version 5 not implemented yet. at com.lowagie.text.pdf.codec.BmpImage.process(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.<init>(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.Image.getInstance(Unknown Source) at com.atlassian.confluence.extra.flyingpdf.LightITextFSImage.getImage(LightITextFSImage.java:122) ... 26 more {code} h3. Notes In the case of generating space-level PDF exports, it's worth noting that the page referenced in the error is not necessarily the page that contains the BMP files. It is simply the name of the _last page_ generated; the actual problematic page could be elsewhere. h3.Workaround Take out the .bmp images from the page first before proceeding with the export

    Atlassian JIRA | 3 years ago | Robert Chang [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: Exception thrown while rendering the page 'Test Page' to the PDF document /Users/rchang/atl/conf542/home/temp/pdfexport-20140528-280514-1747-6/TEST-280514-1747-7.pdf
  2. 0

    h3. Summary Pages containing certain types of .bmp files will fail to be imported out to PDF. This affects both single-page PDF exports or space-level PDF exports that includes this page. h3. Steps to Reproduce # Have a Confluence page # Add the attached bmp file to the page [^example.bmp] # Export this page to PDF (Page tools > Export to PDF) h3. Expected Results PDF export created succesfully h3. Actual Results Export failed. The below exception is thrown in the atlassian-confluence.log file: {code} 2014-05-28 17:50:02,236 ERROR [Long running task: PDF Space Export] [core.task.longrunning.AbstractLongRunningTask] doInTransactionWithoutResult Error during PDF export -- url: /spaces/flyingpdf/doflyingpdf.action | userName: admin | referer: http://localhost:5542/spaces/flyingpdf/flyingpdf.action?key=TEST | action: doflyingpdf com.atlassian.confluence.importexport.ImportExportException: Exception thrown while rendering the page 'Test Page' to the PDF document /Users/rchang/atl/conf542/home/temp/pdfexport-20140528-280514-1747-6/TEST-280514-1747-7.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:111) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForSpace(FlyingSaucerPdfExporterService.java:60) at com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask$1.doInTransactionWithoutResult(PdfExportLongRunningTask.java:72) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask.runInternal(PdfExportLongRunningTask.java:52) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26) at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.RuntimeException: Failed to read image at com.atlassian.confluence.extra.flyingpdf.LightITextFSImage.getImage(LightITextFSImage.java:128) at org.xhtmlrenderer.pdf.ITextOutputDevice.drawImage(ITextOutputDevice.java:768) at org.xhtmlrenderer.pdf.ITextImageElement.paint(ITextImageElement.java:72) at org.xhtmlrenderer.pdf.ITextOutputDevice.paintReplacedElement(ITextOutputDevice.java:183) at org.xhtmlrenderer.layout.Layer.paintReplacedElement(Layer.java:554) at org.xhtmlrenderer.layout.Layer.paintReplacedElements(Layer.java:511) at org.xhtmlrenderer.layout.Layer.paintAsLayer(Layer.java:485) at org.xhtmlrenderer.render.BlockBox.paintInline(BlockBox.java:265) at org.xhtmlrenderer.layout.Layer.paintInlineContent(Layer.java:274) at org.xhtmlrenderer.layout.Layer.paint(Layer.java:346) at org.xhtmlrenderer.pdf.ITextRenderer.paintPage(ITextRenderer.java:384) at org.xhtmlrenderer.pdf.ITextRenderer.writePDF(ITextRenderer.java:348) at org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:315) at org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:246) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:94) ... 12 more Caused by: java.lang.RuntimeException: BMP version 5 not implemented yet. at com.lowagie.text.pdf.codec.BmpImage.process(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.<init>(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source) at com.lowagie.text.Image.getInstance(Unknown Source) at com.atlassian.confluence.extra.flyingpdf.LightITextFSImage.getImage(LightITextFSImage.java:122) ... 26 more {code} h3. Notes In the case of generating space-level PDF exports, it's worth noting that the page referenced in the error is not necessarily the page that contains the BMP files. It is simply the name of the _last page_ generated; the actual problematic page could be elsewhere. h3.Workaround Take out the .bmp images from the page first before proceeding with the export

    Atlassian JIRA | 3 years ago | Robert Chang [Atlassian]
    com.atlassian.confluence.importexport.ImportExportException: Exception thrown while rendering the page 'Test Page' to the PDF document /Users/rchang/atl/conf542/home/temp/pdfexport-20140528-280514-1747-6/TEST-280514-1747-7.pdf
  3. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException : CONFIGURATION FAILED! Class org.jboss.as.web.deployment.jsf.JandexAnnotationPr ovider is not an instance of com.sun.faces.spi.AnnotationProvider at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi stener.java:292) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(Standar dContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 821) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error initializing GroovyPageView

    Stack Overflow | 3 years ago | mrquad
    org.codehaus.groovy.grails.web.mapping.exceptions.UrlMappingException: Error map ping onto view [/index]: Error initializing GroovyPageView
  6. 0

    Android Asynctask method does not display the data

    Stack Overflow | 3 years ago | user3316775
    java.lang.RuntimeException: An error occured while executing doInBackground() android.os.AsyncTask$3.done(AsyncTask.java:278) java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273) java.util.concurrent.FutureTask.setException(FutureTask.java:124) java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307) java.util.concurrent.FutureTask.run(FutureTask.java:137) android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      BMP version 5 not implemented yet.

      at com.lowagie.text.pdf.codec.BmpImage.process()
    2. iText-4.2.1
      Image.getInstance
      1. com.lowagie.text.pdf.codec.BmpImage.process(Unknown Source)
      2. com.lowagie.text.pdf.codec.BmpImage.<init>(Unknown Source)
      3. com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source)
      4. com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source)
      5. com.lowagie.text.pdf.codec.BmpImage.getImage(Unknown Source)
      6. com.lowagie.text.Image.getInstance(Unknown Source)
      6 frames
    3. com.atlassian.confluence
      LightITextFSImage.getImage
      1. com.atlassian.confluence.extra.flyingpdf.LightITextFSImage.getImage(LightITextFSImage.java:122)
      1 frame
    4. FlyingSaucer XHTML Renderer
      ITextOutputDevice.paintReplacedElement
      1. org.xhtmlrenderer.pdf.ITextOutputDevice.drawImage(ITextOutputDevice.java:768)
      2. org.xhtmlrenderer.pdf.ITextImageElement.paint(ITextImageElement.java:72)
      3. org.xhtmlrenderer.pdf.ITextOutputDevice.paintReplacedElement(ITextOutputDevice.java:183)
      3 frames
    5. Flying Saucer Core Renderer
      Layer.paint
      1. org.xhtmlrenderer.layout.Layer.paintReplacedElement(Layer.java:554)
      2. org.xhtmlrenderer.layout.Layer.paintReplacedElements(Layer.java:511)
      3. org.xhtmlrenderer.layout.Layer.paintAsLayer(Layer.java:485)
      4. org.xhtmlrenderer.render.BlockBox.paintInline(BlockBox.java:265)
      5. org.xhtmlrenderer.layout.Layer.paintInlineContent(Layer.java:274)
      6. org.xhtmlrenderer.layout.Layer.paint(Layer.java:346)
      6 frames
    6. FlyingSaucer XHTML Renderer
      ITextRenderer.createPDF
      1. org.xhtmlrenderer.pdf.ITextRenderer.paintPage(ITextRenderer.java:384)
      2. org.xhtmlrenderer.pdf.ITextRenderer.writePDF(ITextRenderer.java:348)
      3. org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:315)
      4. org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:246)
      4 frames
    7. com.atlassian.confluence
      PdfExportLongRunningTask$1.doInTransactionWithoutResult
      1. com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:94)
      2. com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForSpace(FlyingSaucerPdfExporterService.java:60)
      3. com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask$1.doInTransactionWithoutResult(PdfExportLongRunningTask.java:72)
      3 frames
    8. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
      2 frames
    9. com.atlassian.confluence
      ManagedTask.run
      1. com.atlassian.confluence.extra.flyingpdf.PdfExportLongRunningTask.runInternal(PdfExportLongRunningTask.java:52)
      2. com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26)
      3. com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35)
      3 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:744)
      5 frames