Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8274

A bad image can break the PDF export

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 4.2
    • Fix Version/s: None
    • Component/s: Old Core - PDF export
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      You can reproduce this by simply exporting a page with this content:

      image:icon:application_view_tile
      

      The generated PDF cannot be opened and the following stack trace is logged:

      2012-10-03 17:06:31,694 [http://localhost:8080/xwiki/bin/export/Sandbox/FF?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0] ERROR o.a.f.a.AreaTreeModel          - Error while rendering page 3 
      java.lang.NullPointerException: Parameter alpha must not be null
      	at org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:57) ~[fop-1.0.jar:na]
      	at org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:71) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:125) ~[fop-1.0.jar:na]
      	at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:828) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.PDFImageHandlerRenderedImage.handleImage(PDFImageHandlerRenderedImage.java:80) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:227) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:183) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:148) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingURI(AbstractIFPainter.java:270) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:146) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.drawImage(IFRenderer.java:1171) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderImage(IFRenderer.java:1158) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:741) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:709) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderViewport(IFRenderer.java:860) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:634) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:912) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:609) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:544) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:432) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:665) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:411) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:345) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:292) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:731) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:265) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:230) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:580) ~[fop-1.0.jar:na]
      	at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:114) ~[fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312) [fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167) [fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:109) [fop-1.0.jar:na]
      	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238) [fop-1.0.jar:na]
      	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120) [fop-1.0.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349) [fop-1.0.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177) [fop-1.0.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) [xalan-2.7.1.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl-2.9.1.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) [xalan-2.7.1.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:440) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHTML(PdfExportImpl.java:390) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:286) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:272) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:204) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-2.5.jar:2.5]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
      2012-10-03 17:06:31,697 [http://localhost:8080/xwiki/bin/export/Sandbox/FF?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0] WARN  c.x.x.w.XWikiAction            - Uncaught exception: Error number 11015 in 11: Exception while exporting
      Wrapped Exception: Error number 12002 in 12: Exception while exporting pdf
      Wrapped Exception: Parameter alpha must not be null 
      com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting
      Wrapped Exception: Error number 12002 in 12: Exception while exporting pdf
      Wrapped Exception: Parameter alpha must not be null
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:67) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-2.5.jar:2.5]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
      Caused by: com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting pdf
      Wrapped Exception: Parameter alpha must not be null
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.createException(PdfExportImpl.java:687) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:456) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHTML(PdfExportImpl.java:390) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:286) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:272) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:204) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	... 42 common frames omitted
      Caused by: java.lang.NullPointerException: Parameter alpha must not be null
      	at org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:57) ~[fop-1.0.jar:na]
      	at org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:71) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:125) ~[fop-1.0.jar:na]
      	at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:828) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.PDFImageHandlerRenderedImage.handleImage(PDFImageHandlerRenderedImage.java:80) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:227) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:183) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:148) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingURI(AbstractIFPainter.java:270) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:146) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.drawImage(IFRenderer.java:1171) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderImage(IFRenderer.java:1158) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:741) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:709) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderViewport(IFRenderer.java:860) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:634) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:912) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:609) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:544) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:581) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:976) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:534) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:432) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:665) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:411) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:345) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:292) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:731) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:265) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:230) ~[fop-1.0.jar:na]
      	at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:580) ~[fop-1.0.jar:na]
      	at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:114) ~[fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312) ~[fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167) ~[fop-1.0.jar:na]
      	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:109) ~[fop-1.0.jar:na]
      	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238) ~[fop-1.0.jar:na]
      	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120) ~[fop-1.0.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349) ~[fop-1.0.jar:na]
      	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177) ~[fop-1.0.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102) ~[xalan-2.7.1.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:na]
      	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) ~[xalan-2.7.1.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:440) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	... 47 common frames omitted
      2012-10-03 17:06:31,731 [http://localhost:8080/xwiki/bin/export/Sandbox/FF?format=pdf&pdfcover=1&pdfcover=0&pdftoc=1&pdftoc=0&comments=0&attachments=0] WARN  c.x.x.p.i.PdfURLFactory        - Failed to save image for PDF export 
      java.io.IOException: Failed to create temporary PDF export file with prefix [pdf], suffix [.] in directory [/tmp/jetty-0.0.0.0-8080-xwiki-_xwiki-any-/xwiki-temp/ofHOqMgU]
      	at com.xpn.xwiki.pdf.impl.PdfURLFactory.getTemporaryFile(PdfURLFactory.java:292) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfURLFactory.getURL(PdfURLFactory.java:157) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.pdf.impl.PdfURLFactory.createAttachmentURL(PdfURLFactory.java:68) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getAttachmentURL(XWikiDocument.java:1508) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.api.Document.getAttachmentURL(Document.java:711) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) [xwiki-commons-velocity-4.2.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) [xwiki-commons-velocity-4.2.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) [xwiki-commons-velocity-4.2.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) [xwiki-commons-velocity-4.2.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) [xwiki-commons-velocity-4.2.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) [xwiki-commons-velocity-4.2.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) [xwiki-commons-velocity-4.2.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) [xwiki-commons-velocity-4.2.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) [xwiki-commons-velocity-4.2.jar:na]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) [xwiki-commons-velocity-4.2.jar:na]
      	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:293) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-2.5.jar:2.5]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.2.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
      Caused by: java.io.IOException: No such file or directory
      	at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[na:1.6.0_24]
      	at java.io.File.checkAndCreate(File.java:1717) ~[na:1.6.0_24]
      	at java.io.File.createTempFile0(File.java:1738) ~[na:1.6.0_24]
      	at java.io.File.createTempFile(File.java:1815) ~[na:1.6.0_24]
      	at com.xpn.xwiki.pdf.impl.PdfURLFactory.getTemporaryFile(PdfURLFactory.java:290) ~[xwiki-platform-legacy-oldcore-4.2.jar:na]
      	... 159 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                oana.tabaranu Elena-Oana Florea
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: