aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Hi i received  java.io.InvalidClassException whenevery i run my program,please solve my problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Hi i received  java.io.InvalidClassException whenevery i run my program,please solve my problem" Watch "Hi i received  java.io.InvalidClassException whenevery i run my program,please solve my problem" New topic
Author

Hi i received java.io.InvalidClassException whenevery i run my program,please solve my problem

vijay Panner
Ranch Hand

Joined: Sep 29, 2010
Posts: 30

Error is :

java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 10200, local class serialVersionUID = 606
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:86)
... 3 more
Stanislav Lapitsky
Ranch Hand

Joined: Dec 01, 2009
Posts: 53
Looks like serialization issue. Check versions f library you use and version of library used to create the file.

Regards,
Stas
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40041
    
  28
Welcome to JavaRanch

Please remember the code button; since you are new I have edited your post and you can see how much better it looks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hi i received java.io.InvalidClassException whenevery i run my program,please solve my problem