Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

By: feryshirano - feryshirano

Error

2006-01-17 16:35

Hello to everybody, it's returning this error:

Exception in thread "main" java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 10003, local class serialVersionUID = 10101

at java.io.ObjectStreamClass.initNonProxy(Unknown Source)

at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

at java.io.ObjectInputStream.readClassDesc(Unknown Source)

at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

at java.io.ObjectInputStream.readClassDesc(Unknown Source)

at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

at java.io.ObjectInputStream.readObject0(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

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

at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)

at JasperTeste.Relatorio.geraRelatorio(Relatorio.java:56)

at JasperTeste.Relatorio.main(Relatorio.java:74)

 

NESTED BY :

net.sf.jasperreports.engine.JRException: Error loading object from file : C:eclipseworkspaceTesteJasperTesteReport.jasper

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

at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)

at JasperTeste.Relatorio.geraRelatorio(Relatorio.java:56)

at JasperTeste.Relatorio.main(Relatorio.java:74)

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

at java.io.ObjectStreamClass.initNonProxy(Unknown Source)

at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

at java.io.ObjectInputStream.readClassDesc(Unknown Source)

at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)

at java.io.ObjectInputStream.readClassDesc(Unknown Source)

at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

at java.io.ObjectInputStream.readObject0(Unknown Source)

at java.io.ObjectInputStream.readObject(Unknown Source)

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

... 3 more

 

 

What am I doing wrong?

 

 

 

 

By: Pavel A. Zvyagin - pzvyagin

RE: Error

2006-01-17 18:45

You're using JasperReports 1.0.3 to run a report compiled with JasperReports 1.1.1. It doesn't work this way. Either recompile the report with 1.0.3 or run it with 1.1.1.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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