杰表技术论坛 » 简表(JOR) » 使用新版jor后表格无法导出pdf,word,excel
新手上路
java.lang.NumberFormatException: For input string: "2.0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at jatools.core.view.IndexedStyleAttributes.getPx(IndexedStyleAttributes.java:91) at jatools.core.view.BorderStyle.parse(BorderStyle.java:155) at jatools.core.view.Border.validate(Border.java:376) at jatools.core.view.Border.getTopStyle(Border.java:276) at jatools.core.view.Border.paint(Border.java:173) at jatools.core.view.TextView.paint(TextView.java:359) at jatools.core.view.CompoundView.paint(CompoundView.java:135) at jatools.core.view.CompoundView.paint(CompoundView.java:135) at jatools.core.view.CompoundView.paint(CompoundView.java:135) at jatools.core.view.CompoundView.paint(CompoundView.java:135) at jatools.core.view.PageView.print(PageView.java:57) at jatools.engine.export.pdf.PdfExport.export(PdfExport.java:115) at jatools.engine.export.pdf.PdfExport1.export(PdfExport1.java:79) at jatools.engine.export.runnable.PdfRunnable.run(PdfRunnable.java:41) at jatools.engine._Job.generatePage(_Job.java:157) at jatools.engine._Job.printAsPDF(_Job.java:85) at jatools.engine.ReportJob.printAsPDF(ReportJob.java:109) at jatools.server.ReportExporter.export(ReportExporter.java:82) at jatools.server.ReportExporter.service(ReportExporter.java:241) at jatools.server.JatoolsReportServlet.jrservice(JatoolsReportServlet.java:57) at jatools.server.JatoolsReportServlet.doGet(JatoolsReportServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) 2010-12-23 14:36:47 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet jatoolsreport threw exception ExceptionConverter: java.io.IOException: The document has no pages. at com.lowagie.text.pdf.PdfPages.writePageTree(PdfPages.java:107) at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:848) at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:1043) at com.lowagie.text.Document.close(Document.java:497) at jatools.engine.export.pdf.PdfExport.close(PdfExport.java:141) at jatools.engine.export.pdf.PdfExport1.close(PdfExport1.java:91) at jatools.engine._Job.printAsPDF(_Job.java:87) at jatools.engine.ReportJob.printAsPDF(ReportJob.java:109) at jatools.server.ReportExporter.export(ReportExporter.java:82) at jatools.server.ReportExporter.service(ReportExporter.java:241) at jatools.server.JatoolsReportServlet.jrservice(JatoolsReportServlet.java:57) at jatools.server.JatoolsReportServlet.doGet(JatoolsReportServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)
查看详细资料
TOP