hyanmaz Posted February 7, 2017 Share Posted February 7, 2017 Hi,I have a report with a custom visualization component. I am using a webservice datasource (with json data).I have this error on JasperServerPro :ERROR AsyncJasperPrintAccessor,pool-6-thread-1:315 - Error during report executionnet.sf.jasperreports.engine.JRRuntimeException: No script provided for the Custom Visualization component. at com.jaspersoft.jasperreports.customvisualization.fill.CVFillComponent.loadResource(CVFillComponent.java:455) at com.jaspersoft.jasperreports.customvisualization.fill.CVFillComponent.evaluationPerformed(CVFillComponent.java:317) at com.jaspersoft.jasperreports.customvisualization.fill.CVFillComponent.evaluateDelayedElement(CVFillComponent.java:244) at net.sf.jasperreports.engine.fill.JRFillComponentElement.resolveElement(JRFillComponentElement.java:211) at net.sf.jasperreports.engine.fill.JRFillElement.performDelayedEvaluation(JRFillElement.java:987) at net.sf.jasperreports.engine.fill.JRFillComponentElement.resolveElement(JRFillComponentElement.java:205) at net.sf.jasperreports.engine.fill.ElementEvaluationAction.execute(ElementEvaluationAction.java:69) at net.sf.jasperreports.engine.fill.DelayedFillActions.runActions(DelayedFillActions.java:269) at net.sf.jasperreports.engine.fill.BaseReportFiller.resolveBoundElements(BaseReportFiller.java:769) at net.sf.jasperreports.engine.fill.JRBaseFiller.resolveReportBoundElements(JRBaseFiller.java:1018) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:1051) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:290) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:126) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:119) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:923) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:164) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:879) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1775) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runWithDataSource(EngineServiceImpl.java:1119) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:1048) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:945) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.DiagnosticLoggingContextCompatibleExecutorService$1.run(DiagnosticLoggingContextCompatibleExecutorService.java:61) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: net.sf.jasperreports.engine.JRException: Byte data not found at: etat_avancement_preparation_commandes.min.js. at net.sf.jasperreports.repo.RepositoryUtil.getBytesFromLocation(RepositoryUtil.java:210) at com.jaspersoft.jasperreports.customvisualization.fill.CVFillComponent.loadResource(CVFillComponent.java:424) ... 25 more Is webservice datasource supposed to work with a custom visualization component ?Thanks in advance. Link to comment Share on other sites More sharing options...
feelme.rohit Posted March 15, 2017 Share Posted March 15, 2017 Here the error is different. It is expecting a script file(.js) Link to comment Share on other sites More sharing options...
Solution kkumlien Posted October 4, 2017 Solution Share Posted October 4, 2017 Hi Hulya,as mentioned by Rohit in his comment, the issue is not with the data source but with the CVC setup.See the answer here for more guidance: http://community.jaspersoft.com/questions/845837/jasper-report-custom-visualization-problem Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now