问题如题。 设计器填报预览模式,上报成功: 部署到tomcat后,在上报系统中上报时报错: 注:其他没有附件上传的上报模板均正常。 数据库表结构如下: cpt模板如下: cpt报表填报属性如下: 上报时用到了文件上传下载插件版本是V5.9.5。 log记录如下: 10:17:35 http-nio-8080-exec-3 WARN [root] 文件读取中[Name : 项目图片-测试 - .cpt] : com.fr.plugin.customsubmmit.report.ServerPathSubmiterJob java.lang.ClassNotFoundException: com.fr.plugin.customsubmmit.report.ServerPathSubmiterJob at com.fr.plugin.A.F.B.classForName(Unknown Source) at com.fr.stable.xml.StableXMLUtils$1.getAttrAsClass(Unknown Source) at com.fr.stable.xml.XMLableReader.getAttrAsClass(Unknown Source) at com.fr.stable.xml.XMLableReader.getAttrAsClass(Unknown Source) at com.fr.general.xml.GeneralXMLTools.readXMLable(Unknown Source) at com.fr.report.write.WClassSubmiter.readXML(Unknown Source) at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source) at com.fr.general.xml.GeneralXMLTools.readXMLable(Unknown Source) at com.fr.report.write.ReportWriteAttr.readXML(Unknown Source) at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source) at com.fr.report.worksheet.WorkSheet.readXML(Unknown Source) at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source) at com.fr.main.AbstractFineBook.readReportXML(Unknown Source) at com.fr.main.AbstractFineBook.readXML(Unknown Source) at com.fr.main.AbstractTemplateWorkBook.readXML(Unknown Source) at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source) at com.fr.main.impl.WorkBook.readStream(Unknown Source) at com.fr.main.impl.WorkBook.readStream(Unknown Source) at com.fr.io.TemplateWorkBookIO.readTemplateWorkBook(Unknown Source) at com.fr.web.cache.ReportEntry.getWorkBookTemplate(Unknown Source) at com.fr.main.impl.WorkBookTemplateDelegate.__GetCacheWorkBookTemplate(Unknown Source) at com.fr.main.impl.WorkBookTemplateDelegate.apply4Parameters(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.apply4Parameters(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.<init>(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.<init>(Unknown Source) at com.fr.web.core.Reportlet.createSessionIDInfor(Unknown Source) at com.fr.web.core.SessionDealWith.generateSessionID(Unknown Source) at com.fr.web.core.reserve.ReportletDealWith.dealWithReportlet(Unknown Source) at com.fr.web.core.Reportlet.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source) at com.fr.web.BaseServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 10:17:45 http-nio-8080-exec-10 WARN [root] submiter error happens. 数据提交出错 null com.fr.write.WriteSubmitException: submiter error happens. 数据提交出错 null at com.fr.report.write.SubmitHelper.submit(Unknown Source) at com.fr.web.core.A.SB.actionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source) at com.fr.web.core.A.uC.process(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source) at com.fr.web.BaseServlet.doGet(Unknown Source) at com.fr.web.BaseServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: com.fr.write.WriteSubmitException: 数据提交出错 null at com.fr.report.write.ReportWriteAttr.submit(Unknown Source) at com.fr.report.write.SubmitHelper.submit(Unknown Source) ... 35 more Caused by: java.lang.NullPointerException at com.fr.report.write.WClassSubmiter.getDBName(Unknown Source) at com.fr.report.write.ReportWriteAttr.dealWithConnOfWClassSubmiter(Unknown Source) at com.fr.report.write.ReportWriteAttr.dealWithConn(Unknown Source) ... 37 more 编辑于 2018-6-28 10:22 编辑于 2018-6-28 10:24 |