danidin Report post Posted August 3, 2011 Hello, I'm trying to export a chart on the server side (Java) and I have a strange problem. Everything is working as expected, except that after the export is almost complete, and the chart image is saved on the server, I get a JavaScript error: invalid property id :"null",width:900,height:300,DOMId:"ab...}))) ; } catch (e) { "<undefined/>"; } This even happens when I try to export a chart using an example supplied in your website. One thing worth mentioning - I'm using an export handler JSP that I wrote, based on the one supplied in the fusion charts kit. The String that is being sent back by the JSP is: &width=900&height=300&DOMId=abc&fileName=http://DOMAIN/PATH/TO/IMAGE/FusionCharts.jpg¬ice=&statusCode=1&statusMessage=successful so it looks good. It seems that the value that is returned from the server upon the export completion is not valid. I was not able to find the cause of this problem in the last 2 days, so I'd really appreciate and suggestions. I did see some people referring to identical or similar problems in the forum, but no solution was supplied. Thanks in advance. Dani Share this post Link to post Share on other sites
Guest Angshu Report post Posted August 3, 2011 Hi, Welcome to FusionCharts Forum! Could you please send us a screenshot or any live link to look into the issue? if possible, please send us the entire code to test it from our end. Awaiting for your response. Share this post Link to post Share on other sites
danidin Report post Posted August 3, 2011 Thanks for the quick response. Actually I figured it out by myself - the problem was that the JSP I wrote to handle the export request has import statements for other classes, and each import statement was in a separate line. I guess that the white space of the new line was sent back to the output stream of the JSP and this caused the problem. If the response was trimmed on the client side before it was used the problem might have been prevented. Dani Share this post Link to post Share on other sites
Guest Angshu Report post Posted August 3, 2011 Hi, Glad to know that you have managed to resolve your problem. Happy FusionCharting! Share this post Link to post Share on other sites