2004 IR Help Posted August 24, 2006 Share Posted August 24, 2006 By: James - psysjal Serializing JasperPrint 2005-12-06 08:52 Hi All, I am currently using version 1.1.0 and am serializing a filled JasperPrint instance. Later I am then reading the serialized object and trying to display it in the viewer. This works fine apart from two issues: - If report is length > 1 page then only the last page is displayed. - If I try to save the report as a pdf nothing happens. These are pretty obvious problems and so I suspect I must be doing something strange. Has anybody any troubleshooting tips/suggestions for this? Thanks, James By: Lucian Chirita - lucianc RE: Serializing JasperPrint 2005-12-06 09:08 Hi Are you using a virtualizer when filling the report? Reports filled with a file virtualizer cannot be yet serialized. Regards, Lucian By: James - psysjal RE: Serializing JasperPrint 2005-12-06 09:28 Hi, Thanks for the quick reply. Yes I am using a file virtualizer, will try without. Thanks, James By: James - psysjal RE: Serializing JasperPrint 2005-12-07 02:54 The file virtualizer was causing the missing pages in the report. The pdf issue seems to be seperate. By: Lucian Chirita - lucianc RE: Serializing JasperPrint 2005-12-07 03:47 What is code for saving the report as PDF? By: James - psysjal RE: Serializing JasperPrint 2005-12-07 04:47 Have tracked the problem down now. The serialization was used because the viewer is a different process. Unfortunately iText was missing from the classpath in the other process and so pdf exporting fails. Thanks for the help, James 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