: 产生数据工厂: com.raqsoft.report.dataset.ProcDataSetFactory 失败 (数据集名称):ds1 错误来源:错误来源:java.lang.NullPointerException at com.raqsoft.report.usermodel.Engine.$1(Unknown Source:199) at com.raqsoft.report.usermodel.Engine.$1(Unknown Source:163) at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:109) at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:137) at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:176) at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:349) at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:271) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: 错误来源:java.lang.NullPointerException at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:558) at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:179) … 35 more Caused by: java.lang.NullPointerException at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:542) … 36 more
at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: 错误来源:java.lang.NullPointerException at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:558) at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:179) … 35 more Caused by: java.lang.NullPointerException at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:542) … 36 more
1. 设计器下预览是否正常
2. 设计器左侧控制台或者服务器后台有详细报错,吧详细的完整错误信息贴一下吧
如果有 causeby 部分,吧这部分贴上来
: 产生数据工厂: com.raqsoft.report.dataset.ProcDataSetFactory 失败 (数据集名称):ds1 错误来源:错误来源:java.lang.NullPointerException
at com.raqsoft.report.usermodel.Engine.$1(Unknown Source:199)
at com.raqsoft.report.usermodel.Engine.$1(Unknown Source:163)
at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:109)
at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:137)
at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:176)
at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:349)
at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:271)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748) Caused by: 错误来源:java.lang.NullPointerException
at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:558)
at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:179)
… 35 more Caused by: java.lang.NullPointerException
at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:542)
… 36 more
: 产生数据工厂: com.raqsoft.report.dataset.ProcDataSetFactory 失败 (数据集名称):ds1 错误来源:错误来源:java.lang.NullPointerExceptionat com.raqsoft.report.usermodel.Engine.$1(Unknown Source:199)at com.raqsoft.report.usermodel.Engine.$1(Unknown Source:163)at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:109)at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:137)at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:176)at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:349)at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:271)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748) Caused by: 错误来源:java.lang.NullPointerException
at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:558)
at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:179)
… 35 more Caused by: java.lang.NullPointerException
at com.raqsoft.report.dataset.ProcDataSetFactory.createDataSetM(Unknown Source:542)
… 36 more
数据集类型是常规 sql 类型还是自定义数据集类型?
能否吧这个报表打成压缩包发上来看一下?
展现报表用 showReport.jsp,rpx 报表文件放到 reportFiles 目录下,URL 直接拼 showReport.jsp?rpx=xxx.rpx 即可
这个问题怎么解决的啊?
上面报错是数据集计算有问题,检查下数据集相关配置,比如数据集本身的语法,参数配置这些
如果参数是必须传值才能正常正常计算数据集,那么在报表–参数–值表达式那配置下默认值