Recently began using the DT Automation Library with our CI environment and we're having an issue where the JUnit tests that run successfully without the agent injected fail when it is injected. It looks to me like maybe there is some sort of a reflection error involving groovy but I'm at a loss as where to go from here. Our log files all look like this:
2013-02-26 14:43:05 0000095c warning java java.lang.reflect.InvocationTargetException
.
.
.
Caused by: java.lang.UnsupportedOperationExceptionat org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.java:49)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:82)
at $Proxy49.getObjectProperty(Unknown Source)
Answer by Wolfgang G. ·
Hi,
Looks like our instrumentation is getting in the way of Groovy's reflection magic. What dynaTrace version are you using, any chance you could provide a minimum working example?
Thanks,
Wolfgang
Hey, thanks for the response. I'm running version 5.0 of Dynatrace. What would you a like a working example of exactly?
JANUARY 15, 3:00 PM GMT / 10:00 AM ET
Automation Client in an Intrumented app - how to get the app measures as test checkpoints?
DynaTrace 6.3 and Jenkins 1.625.3 connectivity issue
Manage Remote Batch Processes through Eclipse Plugin
Load Test Category in Dynatrace 5.5
Loadrunner integration in Loadtesting - Unique transaction question