-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Signature Parse error with Grails project #141
Comments
This is a very unhelpful issue report. Need a full stack trace to fix or even attempt to root cause it. |
Apologies. Does this help? FAILURE: Build failed with an exception.
|
Not much, this looks like a failure in your own code. |
Are you using reflection in your code/unit tests? Are you using other plugins with AST transformations? Need more info and a full stacktrace. |
FAILURE: Build failed with an exception.
BUILD FAILED |
As far as use of reflection and/or AST, I believe Grails does AST itself and I found at least one used import of Method from java.lang.reflect in a controller somewhere. |
I am afraid this is outside the scope of this plugin. The Groovy ANT compiler task it processing code and it almost seems as if there is an ANT parser failure. I will try to trace into the ANT tools source to see if this makes sense but I do not see how this is fixable from the Clover plugin viewpoint. Is the TradeTransaction class one of your own code? I cannot tell what this class is about and it is not one of this plugin. One possibility is classpath name collision with some JAR files in your classpath for tests. |
That class is one of our own. I've looked at it and things that use it for something that looks like that signature, or for code that seems unusual in some way but nothing comes to mind yet. Thanks for looking at it, though. I did post something on the OpenClover issues site, too, but so far, no response. |
hi, i got this error too, i have found the why in my case. i have a hasMany [titi: Titi] used like this in a method : titi?.first()?.field this code generate the "java.lang.reflect.GenericSignatureFormatError: Signature Parse error: Failure to make progress!" because titi it's not a Set class but a Titi class so i use an intermediate method to hide it and it's work 👍 getFirstField(titi) private Field getFirstField(titi){ hope it will help someone because i have lost 3 days on this problem |
I'm seeing this when I try to run coverage. Any suggestions on things to try?
java.lang.reflect.GenericSignatureFormatError: Signature Parse error: Failure to make progress!
The text was updated successfully, but these errors were encountered: