Hello,
My user copy/paste this table from Libreoffice on a xwiki page but wehn he try to export
in PDF format xwiki crash.
Do you know this bug?
Here the source code of the page:
*******************************
Test export PDF tableau HTML
(((
(% cellpadding="4" cellspacing="0" style="page-break-before:
always" width="100%" %)
(% style="vertical-align:TOP" %)|(% style="border-top: 1px solid #000000;
border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: none;
padding-top: 0.1cm; padding-bottom: 0.1cm; padding-left: 0.1cm; padding-right:
0cm;background-color:#e6e6ff" width="25%" %)(% style="font-family:
Liberation Sans, sans-serif; font-size: 0.8em" %)**Point**|(% style="border-top:
1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000;
border-right: none; padding-top: 0.1cm; padding-bottom: 0.1cm; padding-left: 0.1cm;
padding-right: 0cm;background-color:#e6e6ff" width="14%" %)(%
style="font-family: Liberation Sans, sans-serif; font-size: 0.8em" %)Timing|(%
style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left:
1px solid #000000; border-right: none; padding-top: 0.1cm; padding-bottom: 0.1cm;
padding-left: 0.1cm; padding-right: 0cm;background-color:#e6e6ff"
width="23%" %)(% style="font-family:
Liberation Sans, sans-serif; font-size: 0.8em" %)Présentation/animation du thème|(%
style="border: 1px solid #000000; padding: 0.1cm;background-color:#e6e6ff"
width="38%" %)(% style="font-family: Liberation Sans, sans-serif;
font-size: 0.8em" %)Commentaire
(% style="vertical-align:TOP" %)|(% height="26"
style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px solid
#000000; border-right: none; padding-top: 0cm; padding-bottom: 0.1cm; padding-left: 0.1cm;
padding-right: 0cm;background-color:#e6e6e6" width="25%" %)(%
style="font-family: Liberation Sans, sans-serif; font-size: 0.8em"
%)**Introduction**|(% style="border-top: none; border-bottom: 1px solid #000000;
border-left: 1px solid #000000; border-right: none; padding-top: 0cm; padding-bottom:
0.1cm; padding-left: 0.1cm; padding-right: 0cm" width="14%" %)(%
style="font-family: Liberation Sans, sans-serif; font-size: 0.8em" %)10H00 -
10H30|(% style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px
solid #000000; border-right: none; padding-top: 0cm; padding-bottom: 0.1cm; padding-left:
0.1cm; padding-right: 0cm" width="23%" %)(% style="font-family:
Liberation Sans, sans-serif; font-size: 0.8em" %)ggggg|(%
style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px solid
#000000; border-right: 1px solid #000000; padding-top: 0cm; padding-bottom: 0.1cm;
padding-left: 0.1cm; padding-right: 0.1cm" width="38%" %)(((
(% lang="zxx" style="font-weight: normal" %)
(% style="font-family: Liberation Sans, sans-serif; font-size: 0.8em"
%)Attentes
)))
(% style="vertical-align:TOP" %)|(% height="33"
style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px solid
#000000; border-right: none; padding-top: 0cm; padding-bottom: 0.1cm; padding-left: 0.1cm;
padding-right: 0cm;background-color:#e6e6e6" width="25%" %)(((
(% lang="zxx" %)
(% style="font-family: Liberation Sans, sans-serif; font-size: 0.8em"
%)**Bilan**
)))|(% style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px
solid #000000; border-right: none; padding-top: 0cm; padding-bottom: 0.1cm; padding-left:
0.1cm; padding-right: 0cm" width="14%" %)(% style="font-family:
Liberation Sans, sans-serif; font-size: 0.8em" %)16H35-17H00|(%
style="border-top: none; border-bottom: 1px solid #000000; border-left: 1px solid
#000000; border-right: none; padding-top: 0cm; padding-bottom: 0.1cm; padding-left: 0.1cm;
padding-right: 0cm" width="23%" %)(% style="font-family: Liberation
Sans, sans-serif; font-size: 0.8em" %)xxxxxxx|(% style="border-top: none;
border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid
#000000; padding-top: 0cm; padding-bottom: 0.1cm; padding-left: 0.1cm; padding-right:
0.1cm" width="38%" %)(((
fffff
)))
)))
fin du tableau
********************
Here the error:
Information détaillée:
Error number 11015 in 11: Exception while exporting
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:82)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:294)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
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:724)
Caused by: com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting pdf
at com.xpn.xwiki.pdf.impl.PdfExportImpl.createException(PdfExportImpl.java:569)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:343)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHTML(PdfExportImpl.java:271)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:224)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:210)
at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:223)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:79)
... 42 more
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException;
lineNumber: 1; columnNumber: 1; Fin prématurée du fichier.
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:327)
... 47 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Fin prématurée
du fichier.
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1236)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
... 48 more