Jump to content
We've recently updated our Privacy Statement, available here ×

kishorereddy81

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by kishorereddy81

  1. 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

×
×
  • Create New...