|
楼主 |
发表于 2017-7-15 09:53:19
|
显示全部楼层
直接用barCodeImage组件显示没有报错,在报表中就报错:
[ERROR] 2017-07-15 09:54:50,746 com.justep.report.controller.OutputController - 报表输出失败
报表转换文件失败
com.justep.report.exception.ReportServerException: 报表输出失败
at com.justep.report.controller.OutputController.execute(Unknown Source)
at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
at com.justep.report.controller.CacheController.execute(Unknown Source)
at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
at com.justep.report.controller.ReportController.execute(Unknown Source)
at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
at com.justep.report.controller.DataController.execute(Unknown Source)
at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
at com.justep.report.controller.InitController.execute(Unknown Source)
at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
at com.justep.report.Servlet.a(Unknown Source)
at com.justep.report.Servlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 报表转换文件失败
... 26 more
Caused by: java.lang.RuntimeException: 生成PDF文件失败,文件名:D:\BeX5_V3.6\apache-tomcat\temp\com.justep.report.convertor.StreamCache-292984936675380120.temp
at com.justep.report.convertor.PDFConvertor.generateByte(Unknown Source)
... 26 more
Caused by: java.lang.RuntimeException: FO生成PDF文件失败
at com.justep.report.convertor.PDFConvertor.a(Unknown Source)
... 27 more
Caused by: java.lang.IllegalArgumentException: URI is invalid: Illegal character in fragment at index 256: http://localhost:8080/x5/UI2/system/service/common/bizAction.j?bsessionid=49971970F6A0910DF9141E3F664B30A8&activity=barcodeActivity&process=/SA/barcode/barcode/barcodeProcess&action=barcodeGenAction&type=qr&code=TC085#4500739501:1:1514-55V90LX0-01:PCS:5000#4500739501:2:1514-55V90RX0-01:PCS:5000#4500739501:3:1530-55V90L00-01:PCS:5000&config={dpi:200,mw:1.5,height:174,width:198}
at org.apache.xmlgraphics.image.loader.util.ImageUtil.getPageIndexFromURI(ImageUtil.java:368)
at org.apache.xmlgraphics.image.loader.util.ImageUtil.needPageIndexFromURI(ImageUtil.java:388)
at org.apache.xmlgraphics.image.loader.impl.imageio.ImageLoaderImageIO.loadImage(ImageLoaderImageIO.java:104)
at org.apache.xmlgraphics.image.loader.pipeline.ImageProviderPipeline.execute(ImageProviderPipeline.java:153)
at org.apache.xmlgraphics.image.loader.pipeline.ImageProviderPipeline.execute(ImageProviderPipeline.java:98)
at org.apache.xmlgraphics.image.loader.ImageManager.getImage(ImageManager.java:245)
at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1798)
at org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1744)
at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:743)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:621)
at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:626)
at org.apache.fop.render.pdf.PDFRenderer.renderInlineArea(PDFRenderer.java:1410)
at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:601)
at org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:1401)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:536)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:573)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1394)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderReferenceArea(AbstractPathOrientedRenderer.java:548)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:560)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1394)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:573)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1394)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:526)
at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:424)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:577)
at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:403)
at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:337)
at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:282)
at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:255)
at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:229)
at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:811)
at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:113)
at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:167)
at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:284)
at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:494)
at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:398)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:421)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:371)
at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:346)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:340)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169)
at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391)
at net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213)
at net.sf.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:441)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:404)
at net.sf.saxon.event.Sender.send(Sender.java:214)
at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:30)
... 28 more
|
|