Export PDF error in image added reports
Answered
Hi,
I have created simple report and design part i added one image on that i have done more chnages output is coming as per the expectation, but export is not working fine.
Please find the attached file for your reference.
Hi Karthick,
I hope all is well,
Can you please re-attach the pdf document in question, also it would be great if you could attach a screen shot of the output view of how this is viewed within YF. I look forward to your reply.
Regards,
Mark
Hi Karthick,
I hope all is well,
Can you please re-attach the pdf document in question, also it would be great if you could attach a screen shot of the output view of how this is viewed within YF. I look forward to your reply.
Regards,
Mark
Hi Karthick,
Can you confirm that image "42.png" is how this appears int he Output of YF and image "Issue41.png" is the error you receive after attempting to export to PDF?
Going forward with this can you please send across the following:
I look forward to your reply.
Regards,
Mark
Hi Karthick,
Can you confirm that image "42.png" is how this appears int he Output of YF and image "Issue41.png" is the error you receive after attempting to export to PDF?
Going forward with this can you please send across the following:
I look forward to your reply.
Regards,
Mark
Hi Karthick,
To add to my last post, having the image itself that you are attaching to the canvas when creating the report would help as I would love to try and replicate this at my end. I look forward to your reply.
Regards,
Mark
Hi Karthick,
To add to my last post, having the image itself that you are attaching to the canvas when creating the report would help as I would love to try and replicate this at my end. I look forward to your reply.
Regards,
Mark
Hi Karthick,
I hope all is well,
Further looking into this I can see that this could relate to an issue outside of YF and more towards the BATIK SVG Tool Kit. Having looked through your logs and the error you receive when trying top export to PDF I see the following:
Error: java.lang.NoClassDefFoundError: Could not initialize class org.apache.batik.dom.svg.SVGDOMImplementation
At:
org.apache.batik.transcoder.SVGAbstractTranscoder.<init>(Unknown Source)
org.apache.batik.transcoder.image.ImageTranscoder.<init>(Unknown Source)
org.apache.batik.transcoder.image.PNGTranscoder.<init>(Unknown Source)
com.hof.util.UtilSVG.convertSVGToPNG(UtilSVG.java:26)
This now leads me to suggest that we need to look closely at the BATIK side of things oif which I have found an interesting article that may help: https://issues.apache.org/jira/browse/BATIK-1126 If you can please read through this and get back to me on this I would appreciate this greatly as I would love to assist further with this issue you have. I look forward to your reply.
Regards,
Mark
Hi Karthick,
I hope all is well,
Further looking into this I can see that this could relate to an issue outside of YF and more towards the BATIK SVG Tool Kit. Having looked through your logs and the error you receive when trying top export to PDF I see the following:
Error: java.lang.NoClassDefFoundError: Could not initialize class org.apache.batik.dom.svg.SVGDOMImplementation
At:
org.apache.batik.transcoder.SVGAbstractTranscoder.<init>(Unknown Source)
org.apache.batik.transcoder.image.ImageTranscoder.<init>(Unknown Source)
org.apache.batik.transcoder.image.PNGTranscoder.<init>(Unknown Source)
com.hof.util.UtilSVG.convertSVGToPNG(UtilSVG.java:26)
This now leads me to suggest that we need to look closely at the BATIK side of things oif which I have found an interesting article that may help: https://issues.apache.org/jira/browse/BATIK-1126 If you can please read through this and get back to me on this I would appreciate this greatly as I would love to assist further with this issue you have. I look forward to your reply.
Regards,
Mark
Hi Karthick,
Thank you for the quick response. So far we are still in the investigations stages and I am trying to get as much information together. With this I want to question whether or not you have tried to export to other file types i.e. .doc or xls? - if you can please do this then get back to me with the results I would appreciate this greatly. I look forward to your reply.
Regards,
Mark
Hi Karthick,
Thank you for the quick response. So far we are still in the investigations stages and I am trying to get as much information together. With this I want to question whether or not you have tried to export to other file types i.e. .doc or xls? - if you can please do this then get back to me with the results I would appreciate this greatly. I look forward to your reply.
Regards,
Mark
Hi Karthick,
Sorry for the delay in responding, I have since questioned this with my fellow support team to get some assistance, please expect a reply back very soon.
I have marked this within my calendar to check this so that I don't forget. I hope that is ok.
Regards,
Mark
Hi Karthick,
Sorry for the delay in responding, I have since questioned this with my fellow support team to get some assistance, please expect a reply back very soon.
I have marked this within my calendar to check this so that I don't forget. I hope that is ok.
Regards,
Mark
Hi Karthick,
it sounds like you may have a different version of the batik-all.jar file that we ship with. Could you please go to <yellowfin home>\appserver\webapps\ROOT\WEB-INF\lib and attach the batik-all.jar file to this ticket for us to investigate. You will have to change the file extensiont to .txt so that it doesn't get blocked as a potentially harmful file.
thanks,
Big Dave
Hi Karthick,
it sounds like you may have a different version of the batik-all.jar file that we ship with. Could you please go to <yellowfin home>\appserver\webapps\ROOT\WEB-INF\lib and attach the batik-all.jar file to this ticket for us to investigate. You will have to change the file extensiont to .txt so that it doesn't get blocked as a potentially harmful file.
thanks,
Big Dave
no worries Mark, yeah you were almost there! Although, I've got a bad feeling this may not be the cause of the error....it's hard to imagine them having a different batik-all.jar on their server....we'll see....
no worries Mark, yeah you were almost there! Although, I've got a bad feeling this may not be the cause of the error....it's hard to imagine them having a different batik-all.jar on their server....we'll see....
Hi Karthick,,
thanks for the Batik-all.jar file, but unfortunately it is the correct file which means it isn't the cause of the issue you are experiencing.
However, recently I have seen that a client (for some reason) had old Batik jar files as well as having the correct one in their library then these can cause similar issues as to yours, because the class-loader looks in the older Batik jar rather than the new one and can't find the class it is looking for. So, because of this I ask that you please confirm that there is only one file in your lib folder that starts with the string "Batik-"
thanks,
Big Dave
Hi Karthick,,
thanks for the Batik-all.jar file, but unfortunately it is the correct file which means it isn't the cause of the issue you are experiencing.
However, recently I have seen that a client (for some reason) had old Batik jar files as well as having the correct one in their library then these can cause similar issues as to yours, because the class-loader looks in the older Batik jar rather than the new one and can't find the class it is looking for. So, because of this I ask that you please confirm that there is only one file in your lib folder that starts with the string "Batik-"
thanks,
Big Dave
Hi Karthick,
I'm just going through my work list and checking up on things and I noticed that you haven't responded to this in over a month so I'm asking whether you would like this ticket to be closed now?
regards,
David
Hi Karthick,
I'm just going through my work list and checking up on things and I noticed that you haven't responded to this in over a month so I'm asking whether you would like this ticket to be closed now?
regards,
David
Hi Karthick,
it's been 2 weeks since my last communication about the status of this ticket and there has been no response, so I'm going to close it, however if you feel that is incorrect then just respond and then the ticket will re-open and appear back on my worklist.
regards,
David
Hi Karthick,
it's been 2 weeks since my last communication about the status of this ticket and there has been no response, so I'm going to close it, however if you feel that is incorrect then just respond and then the ticket will re-open and appear back on my worklist.
regards,
David
Replies have been locked on this page!