WARNING: 页面写出中[Name : code.cpt] [Parameter : {__BYPAGESIZE__ : false[java.lang.String], __CLEANUP_RECURSION_COUNTER : 1[java.lang.String], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], CC : 1257[java.lang.String], LOGINUSER : mo.pss.domain.Employee@d945a5[mo.pss.domain.Employee], POPENAMES : [systemDictionaryType, purchaseReturn_delete, client_save, productType, depot_save, product_bill, purchaseBill_input, systemDictionaryDetail_delete, role, sellReturn_input, supplier, department_save, stockAllot_auding, purchaseBill_jsonBill, backup_resume, purchaseReturn_input, systemDictionaryType_input, sellBill_delete, sellBill_deleteAuded, productStock, product_save, sellReturnFund_payBack, productType_delete, purchaseBillFund_payBack, stockAllot, backup_input, sellReturn_auding, purchaseReturn_deleteAuded, client_input, sellReturnFund, employee_delete, productStock_allot, stockAllot_save, purchaseBill_auding, client_showCity, supplier_showCity, depot, purchaseBill_chooseBill, sellBill, backup, resource_save, sellReturn, sellBillItem_chart2, product, systemDictionaryType_save, resource_delete, backup_delete, sellBillFund, purchaseBillFund_pay, purchaseBill_save, sellReturn_delete, purchaseBillFund, sellBillItem_query, sellReturn_save, client, role_save, employee_input, sellBill_input, employee_download, purchaseBill_delete, productType_save, depot_delete, purchaseReturn_save, supplier_delete, productType_tree, sellBillItem_findBillItems, sellReturnFund_pay, systemDictionaryDetail_save, sellBillItem, purchaseBillItem, stockAllot_delete, sellBill_jsonBill, product_input, sellReturn_deleteAuded, purchaseBill, supplier_save, productStock_getProductStockNum, systemDictionaryDetail, purchaseReturn_auding, employee_check, purchaseBillFund_payInput, sysPopedom_save, productStock_jsonStock, purchaseBillItem_query, supplier_input, purchaseReturn, role_delete, product_delete, resource_input, backup_save, sellBill_auding, department, purchaseBillItem_findBillItems, purchaseReturnFund, stockAllot_deleteAuded, sellReturnFund_payInput, department_delete, role_input, client_delete, sellBill_save, department_input, employee, employee_save, sysPopedom, purchaseBill_deleteAuded, resource, depot_input, employee_updateStatus, productType_listChild, stockAllot_input, sellBillItem_chart, sellBill_chooseBill, systemDictionaryType_delete][java.util.HashSet], PRODUCTNAME : $("input[code=productName]").val()[java.lang.String], REPORTLET : code.cpt[java.lang.String], REPORTNAME : code.cpt[java.lang.String]}][Type : page] : Data to encode cannot be empty com.fr.report.cell.painter.barcode.BarcodeException: Data to encode cannot be empty at com.fr.report.cell.painter.barcode.BarcodeImpl.<init>(Unknown Source) at com.fr.report.cell.painter.barcode.line.code39.Code39Barcode.<init>(Unknown Source) at com.fr.report.cell.painter.barcode.line.code39.Code39Barcode.<init>(Unknown Source) at com.fr.report.cell.painter.barcode.core.BarcodeFactory.createCode39(Unknown Source) at com.fr.report.cell.painter.barcode.core.BarCodeUtils.getBarcodeImpl(Unknown Source) at com.fr.report.cell.painter.barcode.core.BarCodeUtils.getBarcodeImpl(Unknown Source) at com.fr.report.cell.painter.BarcodePainter.paint(Unknown Source) at com.fr.base.Style.paintContent(Unknown Source) at com.fr.report.cell.cellattr.core.CellUtils.value2Image(Unknown Source) at com.fr.report.core.PaintUtils.paintTag(Unknown Source) at com.fr.web.core.utils.ReportHTMLWriterUtils.value2PaintableTag(Unknown Source) at com.fr.web.core.utils.ReportHTMLWriterUtils.value2PaintableTag(Unknown Source) at com.fr.web.output.html.chwriter.CellHtmlWriter.displayVerticalText(Unknown Source) at com.fr.web.output.html.chwriter.CellHtmlWriter.drawContent(Unknown Source) at com.fr.web.output.html.chwriter.CellHtmlWriter.dealContent(Unknown Source) at com.fr.web.output.html.chwriter.CellHtmlWriter.cell2Tag(Unknown Source) at com.fr.web.output.html.chwriter.TreeCellWriter.cell2Tag(Unknown Source) at com.fr.web.core.HTMLWriter.writeCellElement(Unknown Source) at com.fr.web.core.HTMLWriter.writeTr(Unknown Source) at com.fr.web.core.HTMLWriter.writeClip2Html(Unknown Source) at com.fr.web.core.HTMLWriter.clipReport2Html(Unknown Source) at com.fr.web.core.HTMLWriter.clipReport2Html(Unknown Source) at com.fr.web.core.HTMLWriter.writeReportToHtml(Unknown Source) at com.fr.web.output.html.HTMLOutlet.writeContentWhenNotFrozen(Unknown Source) at com.fr.web.output.html.HTMLOutlet.clippedPageOutput(Unknown Source) at com.fr.web.output.html.HTMLOutlet.clippedPageOutput(Unknown Source) at com.fr.page.ClippedECPage.output(Unknown Source) at com.fr.web.output.html.HTMLOutlet.writeReportPageContent(Unknown Source) at com.fr.web.output.html.HTMLOutlet.out(Unknown Source) at com.fr.web.core.A.pB.A(Unknown Source) at com.fr.web.core.A.pB.A(Unknown Source) at com.fr.web.core.A.pB.A(Unknown Source) at com.fr.web.core.A.pB.A(Unknown Source) at com.fr.web.core.A.EB.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.A.nB.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 javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 浏览器中url为:http://localhost:8889/purchase_sell/ReportServer?reportlet=code.cpt&__bypagesize__=false&productName=裤 模板的sql查询为 SELECT productNum FROM `product` where name LIKE '%${productName}%' and brand_id LIKE '${brand_id}%' and batchNum LIKE '%${batchNum}%',在FineReport里预览的时候查询productName的时候是没有问题的,在浏览器中的时候就会报上面的异常,不查询productName的时候就没有问题 求大神解决 |
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|