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?
> 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 :
> > I have a private method defined in a service. When calling it, I get > > missingMethodException. Does javamelody not support private methods?
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
On 24 nov, 18:49, Nish <nishantpatel...@gmail.com> wrote:
> On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > Hi,
> > 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 :
> > > I have a private method defined in a service. When calling it, I get > > > missingMethodException. Does javamelody not support private methods?
> 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
> On 24 nov, 18:49, Nish <nishantpatel...@gmail.com> wrote:
> > Yeah, I am using the grails plugin.
> > On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > > Hi,
> > > 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 :
> > > > I have a private method defined in a service. When calling it, I get > > > > missingMethodException. Does javamelody not support private methods?
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
On Nov 27, 4:02 pm, Nish <nishantpatel...@gmail.com> wrote:
> class UserService { > def doStuff(params) { if(isAdmin()) { // > missingMethodException because of the grailsmelody plugin > .... } } > private def isAdmin() { .... }}
> Thanks, > Nish
> On Nov 26, 10:47 am, tgrip <theo.g...@googlemail.com> wrote:
> > Hi Nish,
> > 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
> > On 24 nov, 18:49, Nish <nishantpatel...@gmail.com> wrote:
> > > Yeah, I am using the grails plugin.
> > > On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > > > Hi,
> > > > 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 :
> > > > > I have a private method defined in a service. When calling it, I get > > > > > missingMethodException. Does javamelody not support private methods?
> 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
> On Nov 27, 4:02 pm, Nish <nishantpatel...@gmail.com> wrote:
> > Hello 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
> > On Nov 26, 10:47 am, tgrip <theo.g...@googlemail.com> wrote:
> > > Hi Nish,
> > > 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
> > > On 24 nov, 18:49, Nish <nishantpatel...@gmail.com> wrote:
> > > > Yeah, I am using the grails plugin.
> > > > On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > > > > Hi,
> > > > > 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 :
> > > > > > I have a private method defined in a service. When calling it, I get > > > > > > missingMethodException. Does javamelody not support private methods?
> I fixed it. It had to do with how method was declared. I am not > exactly sure as to why this fixed the problem.
> Failed: private def isAdmin( name, Class c ) { .... } > Worked: private def isAdmin( name, c ) { .... }
> Nish
> On Nov 28, 10:57 am, tgrip <theo.g...@googlemail.com> wrote:
> > Hi 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
> > On Nov 27, 4:02 pm, Nish <nishantpatel...@gmail.com> wrote:
> > > Hello 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
> > > On Nov 26, 10:47 am, tgrip <theo.g...@googlemail.com> wrote:
> > > > Hi Nish,
> > > > 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.
> > > > > On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > > > > > Hi,
> > > > > > 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 :
> > > > > > > I have a private method defined in a service. When calling it, I get > > > > > > > missingMethodException. Does javamelody not support private methods?
> Cool, this is the kind of problems I was referring to
> On Nov 28, 11:00 am, Nish <nishantpatel...@gmail.com> wrote:
> > I fixed it. It had to do with how method was declared. I am not > > exactly sure as to why this fixed the problem.
> > Failed: private def isAdmin( name, Class c ) { .... } > > Worked: private def isAdmin( name, c ) { .... }
> > Nish
> > On Nov 28, 10:57 am, tgrip <theo.g...@googlemail.com> wrote:
> > > Hi 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
> > > On Nov 27, 4:02 pm, Nish <nishantpatel...@gmail.com> wrote:
> > > > On Nov 26, 10:47 am, tgrip <theo.g...@googlemail.com> wrote:
> > > > > Hi Nish,
> > > > > 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.
> > > > > > On Nov 24, 6:18 pm, Emeric Vernat <ever...@free.fr> wrote:
> > > > > > > Hi,
> > > > > > > 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 :
> > > > > > > > I have a private method defined in a service. When calling it, I get > > > > > > > > missingMethodException. Does javamelody not support private methods?