Closed GoogleCodeExporter closed 9 years ago
I don't understand yet, how you can get this NPE.
Can you give a stack-trace?
Do you create an instance of Counter yourself?
Original comment by evernat@free.fr
on 14 Feb 2014 at 9:03
I've written an package-proxy-Class to net.bull.javamelody namespace to provide
service post process. The class actually doing the melody reporting is a
variant of the spring interceptor (see attached file).
Original comment by hannes.a...@gmail.com
on 17 Feb 2014 at 7:15
Attachments:
You probably know that you use an internal and undocumented API.
That said, I suggest to not record the stack-traces of exceptions for your
spring like beans, because it may soon create a big overhead to compute all the
stack-traces.
It means: don't use addRequestForSystemError in this case.
(Otherwise, note that the boolean errorCounter and the list errors are really
supposed to be coherent with each other.)
By the way, if you want to use the addRequest method like you have written, you
are supposed to call the bindContext method some time before.
I hope that you have what you need with this non-API.
But, this is of course an invalid issue for the reason given above.
Original comment by evernat@free.fr
on 17 Feb 2014 at 3:52
Original issue reported on code.google.com by
hannes.a...@gmail.com
on 13 Feb 2014 at 2:11