Hi all,
I've a new method deployed in a new .ear and I don't see that method in Class browsing (Browse for known methods and classes.
Also when I try to Decompile the class to see if this method is ther I found this error:
In my previous .ear I had a method with a sensor like this: private void setDynatraceMonitor(string x, string y) and in new .ear that method has changed to private void setDynatraceMonitor(string x, string y, string z, string k). When I do a Class browsing I see the oldest method not the new. Any idea?
Maybe its a collector cache problem?
Thanks! Josep Maria
Answer by Josep C. ·
Hi Andi,
For the first, I tried that and there's no difference checking the box, I think the problem is that the old sensor was strictly defined with two parameters and the new method same name as but has more parameters. Changing the sensor definition to disregard the number of parameters works, I see the new method in pure paths. In Class Browsing I still see the oldest, I don't know why...
For the second i think the problem is with abstract classes, my class is abstract.
Thanks a lot!
Answer by Andreas G. ·
Seems these are two different error messages - correct?`In the class browser check the box to include class information from all connected agents -> check if this makess a difference
the second dialog box in your comment I think shows up if you do a "Source COde Lookup" on a method that we cant correctly de-compile. There are improvements coming in dynatrace 6.2 for the decompile feature where we are going to have better support for Java 8 as well as JAva Annotations - that might help in your case as well
JANUARY 15, 3:00 PM GMT / 10:00 AM ET