wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes IncompatibleClassChangeError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "IncompatibleClassChangeError" Watch "IncompatibleClassChangeError" New topic
Author

IncompatibleClassChangeError

Mike Broadbear
Ranch Hand

Joined: Jan 14, 2002
Posts: 39
I am having trouble figuring out what InconpatibleClassChangeError means. I am getting the error at line 170 in the code below. I can show more code, but I would rather a more in depth example of why this error occurs. The jvadocs are too concise.

Thank you,
Mike
Mike Broadbear
Ranch Hand

Joined: Jan 14, 2002
Posts: 39
To be more clear, I broke the code out. The IncompatibleClassChangeError is occuring at line 171.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Mike
From the API:
"Thrown when an incompatible class change has occurred to some class definition. The definition of some class, on which the currently executing method depends, has since changed."
Could the class file of whatever class the p variable is have been changed since you compiled your code? Or have some of your APIs or something maybe been changed without your knowing aboout it?
If that doesn't help can you show a little more code?


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IncompatibleClassChangeError
 
Similar Threads
java.exe error
Getting Exception error while deploying an web application
select count(*) does not work
JavaRanch Mock Exam not acessible
java.lang. NoClass DefFoundError: org/apache/ commons/beanutils/Converter