AnsweredAssumed Answered

Using ThrownExceptionMethodTraceIncrementor

Question asked by isaac_s on Mar 17, 2011
Latest reply on Apr 21, 2015 by Hiko_Davis
Hello all,
I am wondering whether anyone had the luck using "ThrownExceptionMethodTraceIncrementor" or "BlamedThrownExceptionMethodTraceIncrementor".

What I'm trying to do is to count the number of times that methods in a specific class are throwing exceptions (or having exceptions percolated through them). I tried using this:

TraceAllMethodsOfClass: com.MyClass
ThrownExceptionMethodTraceIncrementor "Applications|Apps|Common|Exception Counters|{packageandclassname}:{method}"

In runtime, I see (in the Investigator view) that the metric is created, but it's grayed-out (not being reported). In the logs, I see the following, extremely obscure message:

[ERROR] [IntroscopeAgent] Tracer com.wily.introscope.agent.trace.MethodFinishCounter does not have access to required method parameters for probe at com.MyClass.processRequest(Ljava/lang/String;Ljava/lang/String;Lcom/parms/Y;Lcom/parms/Z;ILjava/lang/String;)V

Anybody has any idea what that error message means? Couldn't find any information about it... anywhere.

Thank you for your time,

Isaac

Outcomes