Thanks,
Nish
javamelody has nothing to do with private methods as far as I know.
So javamelody does not seem the cause of the issue at first sight.
By the way, the only missingMethodException(s) I find on the web comes
from .Net or perhaps groovy.
And so, you are perhaps the very first able to use javamelody in .Net or
perhaps you are using the grails plugin.
Is this a miracle or just the javamelody grails plugin?
Bye,
Emeric
Le 25/11/2011 00:01, Nish a �crit :
it is probably some error in your app code, the cause can be obscured
by JavaMelody.
What method is it, and how do you call it?
We are using the Grails plugin without any problem.
Best regards
Theo
Here is how I am executing the method"
class UserService {
def doStuff(params) { if(isAdmin()) { //
missingMethodException because of the grailsmelody plugin
.... } }
private def isAdmin() { .... }
}
Thanks,
Nish
hmm, it looks strange, it should work as you say it.
I would recommend to add some printlns in order to debug, to see if it
enters the method and what is the value of the parameter.
I was telling you this because it had happened to me too, I got
MissingMethodExceptions, but it was always something wrong with the
parameters.
Best regards
Theo
Failed: private def isAdmin( name, Class c ) { .... }
Worked: private def isAdmin( name, c ) { .... }
Nish
I have created an issue to track the problem:
http://code.google.com/p/javamelody/issues/detail?id=165
Feel free to submit a patch in the issue.
bye,
Emeric