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

Remove console warnings when exporting files as PDF, RTF and HTML

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The exported files work fine, at least for PDF; the RTF and HTML ones don't look so good. I got the following errors when I clicked on the Export button:

      • PDF
        2013-03-28 12:56:17,832 [http://localhost:8080/xwiki/bin/export/Sandbox/TestPage1] ERROR o.a.f.a.FOUserAgent            - Invalid property value encountered in page-position="all": org.apache.fop.fo.expr.PropertyException: null:1:1318: No conversion defined all; property:'page-position' (See positio
        n 1:1401)
        2013-03-28 12:56:17,998 [http://localhost:8080/xwiki/bin/export/Sandbox/TestPage1] WARN  o.a.f.a.FOUserAgent            - Font "AR PL UMing CN,normal,700" not found. Substituting with "AR PL UMing CN,normal,400".
        
      • RTF
        2013-03-28 13:00:48,479 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] WARN  o.a.f.a.FOUserAgent            - Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "all-pages". (See position 1:1625)
        2013-03-28 13:00:48,810 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,821 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,822 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,824 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,825 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,828 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,829 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,830 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,830 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,831 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,832 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,833 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,834 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        2013-03-28 13:00:48,835 [http://localhost:8080/xwiki/bin/export/Main/WebHome?format=rtf] ERROR o.a.f.d.LengthBase             - getBaseLength called without context
        
      • HTML
        2013-03-28 12:53:37,660 [http://localhost:8080/xwiki/bin/export/Sandbox/TestPage1?format=html] WARN  c.x.x.w.XWikiAction            - Uncaught exception: Error number 11015 in 11: Exception while exporting
        Wrapped Exception: null
        com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting
        Wrapped Exception: null
                at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:67) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231) [xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.5.3.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.5.3.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.5.3.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.5.3.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.5.3.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.5.3.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(Unknown Source) [na:1.7.0_17]
        Caused by: org.eclipse.jetty.io.EofException: null
                at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:911) ~[na:na]
                at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:517) ~[na:na]
                at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:154) ~[na:na]
                at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:96) ~[na:na]
                at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) ~[na:1.7.0_17]
                at java.util.zip.ZipOutputStream.closeEntry(Unknown Source) ~[na:1.7.0_17]
                at com.xpn.xwiki.export.html.HtmlPackager.addDirToZip(HtmlPackager.java:429) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.export.html.HtmlPackager.addDirToZip(HtmlPackager.java:412) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.export.html.HtmlPackager.addDirToZip(HtmlPackager.java:412) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.export.html.HtmlPackager.addDirToZip(HtmlPackager.java:412) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.export.html.HtmlPackager.export(HtmlPackager.java:323) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.web.ExportAction.exportHTML(ExportAction.java:174) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:62) ~[xwiki-platform-legacy-oldcore-4.5.3.jar:na]
                ... 42 common frames omitted
        Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
                at sun.nio.ch.SocketDispatcher.write0(Native Method) ~[na:1.7.0_17]
                at sun.nio.ch.SocketDispatcher.write(Unknown Source) ~[na:1.7.0_17]
                at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) ~[na:1.7.0_17]
                at sun.nio.ch.IOUtil.write(Unknown Source) ~[na:1.7.0_17]
                at sun.nio.ch.SocketChannelImpl.write(Unknown Source) ~[na:1.7.0_17]
                at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:219) ~[na:na]
                at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:282) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
                at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:855) ~[na:na]
                ... 54 common frames omitted
        2013-03-28 12:53:37,761 [http://localhost:8080/xwiki/bin/export/Sandbox/TestPage1?format=html] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/exceptioninline.vm@1,24
        

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              msmeria Manuel Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: