Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.4
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: parser
-
Labels:None
-
Number of attachments :
Description
test.groovy
void testt(String a) { println a; } testt_test(String a) { println "I'm bad" } testt(testt_test("asd"));
It was a real PITA till I found the offending line in my code due to the non-informative error message. Anyway groovy rocks!
just "testt_test(String a)" is already enoughz to get that error.. ah yes, the error is "java.lang.VerifyError: (class: test, method: run signature: ()Ljava/lang/Object
Expecting to find object/array on stack. Sure, this kind of error should never be seen... but it is no Groovy message, it is one form the JVM. You have the thank the VM guys for giving such nice messages..and yes, these are a PITA. Without an external verifyer I would have killed myself a long time ago 