-
Notifications
You must be signed in to change notification settings - Fork 31
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
Plugin breaks Grails 3.2.11 #43
Comments
Sorry, I do not reproduce the issue. |
@evernat just add |
This was also raised by me in grails repo: grails/grails-core#10715 |
I got the same bug. As I remember, I have had got same error in Grails 3.2.10 @evernat Any workarounds? |
@graemerocher suggested in grails/grails-core#10715:
|
As said in grails/grails-core#10715 (comment), it seems to be caused by a regression between groovy 2.4.8 and groovy 2.4.9. |
@evernat using groovy 2.4.8 with grails 3.2 acceptable only as a workaround. Do you plan to fix the plugin? |
I recommend reporting the issue to the Groovy issue tracker grails/grails-core#10715 |
@evernat would it be possible to test the following:
Perhaps the issue goes away if the plugin itself is build by groovy > 2.4.9 ? |
@jglapa @sergiomichels
But I am not sure of what I was doing in the plugin for testing this. Sergio, could you check that this change in the plugin will fix the error displayed by the sample project: https://github.com/evernat/grails-ssl ? |
Created #50 |
The Pull Request (50) above does indeed fix the problem described in this ticket under Grails 3.3.0, but a new problem emerges: now melody does not load at startup. The only other change is upgrading the java-melody-core dependency to 1.68.1. Here are the messages at application startup, indicating the problem.
|
PR #50 is merged. Thanks to all and in particular to @graemerocher and @bassmartin. |
… services and other stuff. This makes intercepting all service calls work as they were a while ago. The code is done in the doWithSpring to avoid removing metaclass changes done by Grails (see javamelody#43)
If you create a fresh Grails 3.2.11 project and add the dependency
runtime 'org.grails.plugins:grails-melody-plugin:1.67.0'
You'll get errors with Taglibs.
I created a simple view with a g:link and am getting this error.
`2017-06-28 11:46:53.983 ERROR --- [nio-8972-exec-1] .a.c.c.C.[.[.[.[grailsDispatcherServlet] : Servlet.service() for servlet [grailsDispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.grails.gsp.GroovyPagesException: Error processing GroovyPageView: [views/index/index.gsp:12] Error executing tag <g:link>: No signature of method: java.lang.String.encodeAsHTML() is applicable for argument types: () values: []
Possible solutions: encodeAsHex(), encodeAsSHA1(), encodeAsMD5(), encodeAsSHA256()] with root cause
groovy.lang.MissingMethodException: No signature of method: java.lang.String.encodeAsHTML() is applicable for argument types: () values: []
Possible solutions: encodeAsHex(), encodeAsSHA1(), encodeAsMD5(), encodeAsSHA256()`
Mac OS X 10.12.5
Java 1.8.131
Grails 3.2.11
The text was updated successfully, but these errors were encountered: