allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

Stream closed Exception #38

Open milkdeliver opened 9 years ago

milkdeliver commented 9 years ago

Hi, Me again(:. I got this IOException when I ran the program.How should I do to solve this problem?

Best Regards, Sam

17:32:06.998 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed
17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)
17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read1(Unknown Source)
17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read(Unknown Source)
17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
17:32:07.001 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.read(Unknown Source)
17:32:07.001 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.InputStreamReader.read(Unknown Source)
17:32:07.002 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)
17:32:07.003 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)
17:32:07.004 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807)
17:32:07.004 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819)
17:32:07.005 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159)
17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89)
17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78)
17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95)
17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174)
17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)
17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107)
17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182)
17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145)
17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765)
17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247)
17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45)
17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20)
17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67)
17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34)
17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45)
17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)
17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)
17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)
17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706)
17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
17:32:07.016 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
17:32:07.016 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.lang.Thread.run(Unknown Source)
17:32:07.017 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed
17:32:07.018 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)
17:32:07.018 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read1(Unknown Source)
17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read(Unknown Source)
17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.read(Unknown Source)
17:32:07.020 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.InputStreamReader.read(Unknown Source)
17:32:07.020 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)
17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)
17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807)
17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819)
17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159)
17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89)
17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78)
17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95)
17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174)
17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)
17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107)
17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182)
17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67)
17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)
17:32:07.027 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
17:32:07.027 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)
17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)
17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706)
17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.lang.Thread.run(Unknown Source)
17:32:07.032 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed
17:32:07.032 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)
17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read1(Unknown Source)
17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read(Unknown Source)
17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.read(Unknown Source)
17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.InputStreamReader.read(Unknown Source)
17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)
17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)
17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807)
17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819)
17:32:07.036 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159)
17:32:07.036 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89)
17:32:07.038 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78)
17:32:07.040 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95)
17:32:07.040 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174)
17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)
17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107)
17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182)
17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145)
17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765)
17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247)
17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45)
17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20)
17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67)
17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34)
17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45)
17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
17:32:07.045 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.045 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
17:32:07.047 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
17:32:07.047 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
17:32:07.048 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)
17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)
17:32:07.050 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)
17:32:07.052 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.052 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.053 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
17:32:07.054 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
17:32:07.054 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706)
17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.lang.Thread.run(Unknown Source)
17:32:07.058 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed
17:32:07.059 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)
17:32:07.061 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read1(Unknown Source)
17:32:07.062 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.BufferedInputStream.read(Unknown Source)
17:32:07.062 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at sun.nio.cs.StreamDecoder.read(Unknown Source)
17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.io.InputStreamReader.read(Unknown Source)
17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)
17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)
17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807)
17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819)
17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159)
17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89)
17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78)
17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95)
17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174)
17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)
17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107)
17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182)
17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145)
17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765)
17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247)
17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45)
17:32:07.069 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20)
17:32:07.069 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67)
17:32:07.070 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34)
17:32:07.070 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45)
17:32:07.071 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
17:32:07.072 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
17:32:07.073 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
17:32:07.074 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.076 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
17:32:07.076 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205)
17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)
17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706)
17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable -    at java.lang.Thread.run(Unknown Source)
allcolor commented 9 years ago

Hi,

seems the server that sends a stylesheet referenced in the document close the connection.

Either remove the stylesheet from the document or check with the sending server why it closes the connection.

Regards

2015-08-19 11:39 GMT+02:00 Milkdelivery notifications@github.com:

Hi, Me again(:. I got this IOException when I ran the program.How should I do to solve this problem?

Best Regards, Sam

17:32:06.998 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed 17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.getInIfOpen(Unknown Source) 17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read1(Unknown Source) 17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read(Unknown Source) 17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) 17:32:06.999 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 17:32:07.001 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.read(Unknown Source) 17:32:07.001 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.InputStreamReader.read(Unknown Source) 17:32:07.002 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634) 17:32:07.003 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865) 17:32:07.004 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807) 17:32:07.004 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819) 17:32:07.005 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159) 17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89) 17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78) 17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95) 17:32:07.006 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174) 17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123) 17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107) 17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182) 17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145) 17:32:07.007 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765) 17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247) 17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45) 17:32:07.008 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20) 17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67) 17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34) 17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45) 17:32:07.009 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) 17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 17:32:07.010 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 17:32:07.011 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205) 17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) 17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215) 17:32:07.012 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94) 17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 17:32:07.013 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) 17:32:07.014 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) 17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) 17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706) 17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:32:07.015 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:32:07.016 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 17:32:07.016 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.lang.Thread.run(Unknown Source) 17:32:07.017 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed 17:32:07.018 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.getInIfOpen(Unknown Source) 17:32:07.018 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read1(Unknown Source) 17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read(Unknown Source) 17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) 17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 17:32:07.019 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.read(Unknown Source) 17:32:07.020 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.InputStreamReader.read(Unknown Source) 17:32:07.020 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634) 17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865) 17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807) 17:32:07.021 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819) 17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159) 17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89) 17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78) 17:32:07.022 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95) 17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174) 17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123) 17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107) 17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182) 17:32:07.023 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67) 17:32:07.024 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.025 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 17:32:07.026 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205) 17:32:07.027 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 17:32:07.027 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) 17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215) 17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94) 17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.028 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 17:32:07.029 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) 17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) 17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) 17:32:07.030 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706) 17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 17:32:07.031 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.lang.Thread.run(Unknown Source) 17:32:07.032 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed 17:32:07.032 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.getInIfOpen(Unknown Source) 17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read1(Unknown Source) 17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read(Unknown Source) 17:32:07.033 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) 17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.read(Unknown Source) 17:32:07.034 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.InputStreamReader.read(Unknown Source) 17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634) 17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865) 17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807) 17:32:07.035 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819) 17:32:07.036 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159) 17:32:07.036 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89) 17:32:07.038 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78) 17:32:07.040 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95) 17:32:07.040 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174) 17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123) 17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107) 17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182) 17:32:07.041 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145) 17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765) 17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247) 17:32:07.042 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45) 17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20) 17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67) 17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34) 17:32:07.043 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45) 17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) 17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 17:32:07.044 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 17:32:07.045 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.045 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.046 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 17:32:07.047 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 17:32:07.047 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 17:32:07.048 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205) 17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) 17:32:07.049 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215) 17:32:07.050 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94) 17:32:07.052 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.052 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.053 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 17:32:07.054 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 17:32:07.054 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) 17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) 17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) 17:32:07.055 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706) 17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 17:32:07.056 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.lang.Thread.run(Unknown Source) 17:32:07.058 [http-nio-8080-exec-25] ERROR java.lang.Throwable - java.io.IOException: Stream closed 17:32:07.059 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.getInIfOpen(Unknown Source) 17:32:07.061 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read1(Unknown Source) 17:32:07.062 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.BufferedInputStream.read(Unknown Source) 17:32:07.062 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) 17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at sun.nio.cs.StreamDecoder.read(Unknown Source) 17:32:07.063 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.io.InputStreamReader.read(Unknown Source) 17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634) 17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865) 17:32:07.064 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1807) 17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1819) 17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159) 17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89) 17:32:07.065 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78) 17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95) 17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174) 17:32:07.066 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123) 17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107) 17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:182) 17:32:07.067 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:145) 17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.cl.converter.CHtmlToPdfFlyingSaucerTransformer.transform(CHtmlToPdfFlyingSaucerTransformer.java:765) 17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.allcolor.yahp.converter.CYaHPConverter.convertToPdf(CYaHPConverter.java:247) 17:32:07.068 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.htmlToPdfFile(YaHPConvert.java:45) 17:32:07.069 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.YaHPConvert.html2PdfFile(YaHPConvert.java:20) 17:32:07.069 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.createPdf(GeneratePDFServlet.java:67) 17:32:07.070 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doGet(GeneratePDFServlet.java:34) 17:32:07.070 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at download.GeneratePDFServlet.doPost(GeneratePDFServlet.java:45) 17:32:07.071 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) 17:32:07.072 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 17:32:07.073 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) 17:32:07.074 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.076 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 17:32:07.076 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) 17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 17:32:07.077 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) 17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) 17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.jpaas.security.auth.service.lib.AbstractAuthenticator.invoke(AbstractAuthenticator.java:205) 17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 17:32:07.078 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:215) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:94) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:25) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 17:32:07.079 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) 17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) 17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) 17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747) 17:32:07.080 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1706) 17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 17:32:07.081 [http-nio-8080-exec-25] ERROR java.lang.Throwable - at java.lang.Thread.run(Unknown Source)

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/38.

All those moments will be lost in time, like tears in rain. (Roy Batty/Rutger Hauer)

milkdeliver commented 9 years ago

Hi,

I deleted the link and other style sheet which is useless for the html.It ran correctly without Exception.

Further concerns raise.For each html we need to delete useless link and style.So it means it can't not general purpose.What should I do to make it common?

Best Regards, Sam

allcolor commented 9 years ago

Hi, If you reference a CSS then it should be downloadable, if it is not, then it is your problem, it is not the tool fault that the CSS is not downloadable, it is an error in your HTML file... so it is general purpose, but it is not for bad HTML... it supports some errors, like correcting not closed tags and the like, but any css referenced must be downloadable.

Regards

2015-08-20 11:49 GMT+02:00 Milkdelivery notifications@github.com:

Hi,

I deleted the link and other style sheet which is useless for the html.It ran correctly without Exception.

Further concerns raise.For each html we need to delete useless link and style.So it means it can't not general purpose.What should I do to make it common?

Best Regards, Sam

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/38#issuecomment-132958119 .

All those moments will be lost in time, like tears in rain. (Roy Batty/Rutger Hauer)

milkdeliver commented 9 years ago

Hi,

Downloadable means the CSS is stored in the same domain or different domain with HTML?

Regards

allcolor commented 9 years ago

Means you open the url and get the file and not a connection closed. Le 24 août 2015 07:06, "Milkdelivery" notifications@github.com a écrit :

Hi,

Downloadable means the CSS is stored in the same domain or different domain with HTML?

Regards

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/38#issuecomment-134038440 .

milkdeliver commented 9 years ago

Hi,

Thank you for your kindly answering.

Cheers