Hi ,
I am facing problem with Custom Visualization Component while exporting it in pdf format. Html format is working fine but pdf/java is not working.
I have checked the phantomjs path, It is set correctly and tested with command promp also.
I have also changed phantomjs version from 2.0 to 1.9.2. Still the problem exist.
Due to this issue i am not able to export my CVC reports.
Kindly help regarding this. It is important. !!!
3 Answers:
Posted on January 31, 2016 at 11:41pm
Hi,
Thanks for your answer. I checked my server log i am getting the following error:
ERROR CVElementPhantomJSImageProvider,pool-15-thread-2:91 - Generating image for Custom Visualization element 1334138075 failed.
net.sf.jasperreports.engine.JRRuntimeException: Error while executing the javascript file to generate the SVG image: External process did not end properly; exit value: 1; process output:
--- Running highcharts.src.js from GitHub, branch/commit/tag "master" ---
SCRIPT_SUCCESS
Now after some times i get empty PDF reports.
HTML Output is working great always.
Kindly guide me in solving this. Urgent !!!
I request Jasper Team to help quickly.
My Javascript code is as follow :