Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

Hi,

 

We have been using Jasper 0.65 Version for last 3 years. We have a requirement to deliver the Report in the

 

RTF format. According to the 0.65 version, Jasper doesn't support Generation of Reports in the RTF format. We

 

would like to migate to 1.3.4 version, we are amazed to findout that 0.65 reports are not opened in the 1.3.4. We

 

are getting the following exception. Please provide the solution for this problem. Immeidately solution required.

 

Do we have any tool to convert from 0.65 to 1.3.4.

code:

String jasperFile=application.getRealPath(System.getProperty("file.separator"))+ "reports"+System.getProperty("file.separator")+"xxx.jasper";

 

File reportFile = new File(jasperFile);

JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());

Getting following exception

 

 

net.sf.jasperreports.engine.JRException: Error loading object from file : E:SJMHreportsxxx.jasper

at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:92)

at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:64)

Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 605, local class serialVersionUID = 10200

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...