GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
I know it's not your plugin exactly, but I got this working on Grails 2.2 this morning by modifying the profiler plugin as depicted in the attached file.
In the main plugin file, add some ? to beanConfig and beanDefinition on line 85 (and I think on 86/87 just to be safe?)
then in the 'else' section below that, add a 'if(beanConfig)' block to skip that code if the beanConfig is null.
The profiler plugin is not on github or in any version control I can submit a patch to. :/
+1 Thanks @mgkimsal for posting the fix. I've opened a JIRA ticket to get the profiler code moved to GitHub so that others can participate, and I've linked this fix to the case for the profiler being broken in Grails v2.2.
Hi guys. The code for the grails profiler plugin lives here: https://github.com/pledbrook/grails-profiler and I've already submitted a pull request which does more or less what you have done here pledbrook/grails-profiler#1
Was waiting for it to be applied before closing this issue.
Oh weird - I didn't see that. I was looking in the /grails github and didn't see it there. Hopefully Peter will add that patch and get everything updated. I'd have submitted it myself but didn't know where too. The grails.org/plugins page for profiler should have the 'source' link updated too.
Peter Ledbrook has merged the issue but not released the profiler plugin since then. In the meantime, you can build it from github and it will work fine.