Dufflepod Posted December 12, 2008 Share Posted December 12, 2008 I updated my environment to JDK1.6.0_11. I have rebuilt JasperReports from source and all my reports too, but I still get this UID mismatch at runtime from class JasperFillManager:Caused by: java.io.InvalidClassException: java.util.ArrayList; local class incompatible: stream classdesc serialVersionUID = 8664875232659988799, local class serialVersionUID = 8683452581122892189 Like I say, I've rebuilt everything, so I'm confused. Any ideas?Regards. Link to comment Share on other sites More sharing options...
svenn Posted December 12, 2008 Share Posted December 12, 2008 Whar version of Jasper are you using? It might not be compatible with the lastest Java version. Link to comment Share on other sites More sharing options...
Dufflepod Posted December 15, 2008 Author Share Posted December 15, 2008 Problem solved. The class I used to compile the reports copied them to their final location. But I had used FileWrite/FileReader to do the copy instead of InputStream/OutputStream. Some binary bytes were not correctly copied, and it seems these happened to be in the serialVersionID. So it was a complete red herring! I had even rebuilt the Apache commons JARs to try and get to the bottom of this. What a waste of time. As a German friend of mine once said to me, 99% of the time - you can blame the programmer sitting infront of the machine. How true. Link to comment Share on other sites More sharing options...
ask4saif Posted June 6, 2011 Share Posted June 6, 2011 Hi Dear,I am having the same issue as yours, can you please help me in solving this issue.I am compiling my jasper reports using jasperreports-maven-plugin. Thanx in advance.Saif 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