Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-745

PDF Export fails on page title with Ä, Ö, Ü, ä, ö, or ü

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 2.5.1
    • None
    • PDF, Export, fail

    Description

      When exporting a page to PDF the export fails on some pages and works on others. Incidentally, one of the pages that fails has no special markup or anything. The only thing that is a little different is a Lowercase Alphabetical list. Here is the error log

      2010-11-09 12:55:01,115 [http://localhost/bin/export/PDMLink/Lebenszyklusstatus+%C3%A4ndern?format=pdf&pdfcover=0&pdftoc=0] WARN  impl.PdfExportImpl              - Tidy configuration file doesn't exist. Using default configuration. 
      2010-11-09 12:55:02,527 [http://localhost/bin/export/PDMLink/Lebenszyklusstatus+%C3%A4ndern?format=pdf&pdfcover=0&pdftoc=0] ERROR apps.FOUserAgent                - Invalid property value encountered in page-position="all": org.apache.fop.fo.expr.PropertyException: null:2:1224: No conversion defined all; property:'page-position' (Siehe Position 2:1307) 
      2010-11-09 12:55:02,565 [http://localhost/bin/export/PDMLink/Lebenszyklusstatus+%C3%A4ndern?format=pdf&pdfcover=0&pdftoc=0] WARN  apps.FOUserAgent                - The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (Siehe Position 51:122) 
      2010-11-09 12:55:02,615 [http://localhost/bin/export/PDMLink/Lebenszyklusstatus+%C3%A4ndern?format=pdf&pdfcover=0&pdftoc=0] WARN  web.XWikiAction                 - Uncaught exception: Error number 11015 in 11: Exception while exporting
      Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF
      Wrapped Exception: java.lang.IllegalArgumentException 
      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: java.lang.IllegalArgumentException
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:67)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:401)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      
      Wrapped Exception:
      
      com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting PDF
      Wrapped Exception: java.lang.IllegalArgumentException
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:287)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:206)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:295)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:326)
      	at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:196)
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:401)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      
      Wrapped Exception:
      
      java.lang.IllegalArgumentException
      	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:292)
      	at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
      	at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1042)
      	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:463)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:270)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:206)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:295)
      	at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:326)
      	at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:196)
      	at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:401)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalArgumentException
      	at sun.net.www.ParseUtil.decode(Unknown Source)
      	at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
      	at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
      	at java.net.URL.openConnection(Unknown Source)
      	at org.apache.fop.apps.FOURIResolver.resolve(FOURIResolver.java:279)
      	at org.apache.fop.apps.FopFactory.resolveURI(FopFactory.java:735)
      	at org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:419)
      	at org.apache.fop.apps.FOUserAgent.resolveURI(FOUserAgent.java:392)
      	at org.apache.fop.apps.FOUserAgent$1.resolveURI(FOUserAgent.java:137)
      	at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.newSource(AbstractImageSessionContext.java:74)
      	at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.needSource(AbstractImageSessionContext.java:243)
      	at org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:121)
      	at org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:112)
      	at org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81)
      	at org.apache.fop.fo.FObj.processNode(FObj.java:123)
      	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282)
      	... 57 more
      

      Any suggestions?

      Update: I figured out it only fails on pages with German "Umlaute", so Ä, Ö, Ü, ä, ö, or ü in the page name makes the PDF Export fail!

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              stulle Stulle Ich
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: