java.lang.VerifyError: (class: a method: parse signature:
()Z) Incompatible argument to function
public boolean parse() {
}
What does this error mean and how to fix these kind of errors
java.lang.VerifyError: (class: a method: parse signature:
()Z) Incompatible argument to function
public boolean parse() {
}
What does this error mean and how to fix these kind of errors
Normally this kind of error is related to version problems, you are compiling with a different version of a library than you are running with. There are also some quite subtle varieties of this that can occur with java 1.5 type coercion, where a 1.4 compiler would choose differently. Recompile everything with 1.5, and make sure you're using the same versions.
It usually is about a java 1.5 or 6 compatibility issue (like trying to compile a Java5 or 6 code with an older 1.4 javac).
Clean all your .class files and rebuild from scratch, checking that you have your JDK and JRE at the same level.
It can also be a bad typecast from a third party class method "return items" to your local ones.
I just found this:
Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. Java API
Have you returned a boolean?
Could you please provide more information, which environment is set? The security question is important, I think.