<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722074#M2984</link>
    <description>Hi Kenneth.&lt;BR /&gt;&lt;BR /&gt;Click on the second tab, it's called tools.&lt;BR /&gt;&lt;BR /&gt;This will give you a drop down, to either search for classes/methods. Or another option called method invocations.&lt;BR /&gt;&lt;BR /&gt;Choose method invocations, wait a couple seconds. You will see live invocations of that class/method and the actual data within.&lt;BR /&gt;&lt;BR /&gt;Check if you can see/find the value you are after</description>
    <pubDate>Tue, 06 Jul 2021 19:42:23 GMT</pubDate>
    <dc:creator>Morelz</dc:creator>
    <dc:date>2021-07-06T19:42:23Z</dc:date>
    <item>
      <title>Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722067#M2977</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have this method.&lt;/P&gt;

&lt;PRE&gt;&lt;SPAN&gt;function &lt;/SPAN&gt;requestQuote(policyPeriod : PolicyPeriod, nextStep : String) {&lt;BR /&gt;  requestQuote(policyPeriod, nextStep, ValidationLevel.&lt;SPAN&gt;TC_QUOTABLE&lt;/SPAN&gt;, RatingStyle.&lt;SPAN&gt;TC_DEFAULT&lt;/SPAN&gt;)&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;I am trying to call a method on the policyPeriod parameter for data and it is not working for me.&lt;/P&gt;

&lt;P&gt;in code it would look like this -&amp;gt;&amp;nbsp;policyPeriod.&lt;SPAN&gt;Submission&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayName which would return a string.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Submission looks like this. It is a method that returns an object.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;public &lt;/SPAN&gt;entity.Submission getSubmission() {&lt;BR /&gt;  &lt;SPAN&gt;return &lt;/SPAN&gt;((com.guidewire.pc.domain.policy.period.PolicyPeriodPublicMethods)__getDelegateManager().getImplementation(&lt;SPAN&gt;"com.guidewire.pc.domain.policy.period.PolicyPeriodPublicMethods"&lt;/SPAN&gt;)).getSubmission();&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I have tried invoke object, use getter chain with getSubmission, getSubmission(), Submission, and Submission() combinations.&amp;nbsp; I get an out put similar to this.&lt;/P&gt;
&lt;P&gt;[CANNOT EVALUATE: Could not find specified method = [Submission()], CANNOT EVALUATE: Could not find specified method = [Submission()]]&lt;/P&gt;

&lt;P&gt;Here is my last attempt.&amp;nbsp; Any help would be appreciated.&amp;nbsp; Thanks....&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_0-1625146875723.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36425i81E8F3ED1BB378CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 13:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722067#M2977</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-01T13:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722068#M2978</link>
      <description>&lt;P&gt;Hi Kenneth&lt;/P&gt;

&lt;P&gt;What is the MIDC Setup like, What class and method are you using in the configuration? Can you share that?&lt;/P&gt;

&lt;P&gt;The easiest way to test this, is to use the Live Preview functionality, enter the class and method name, then use the Live preview Second tab option called Method Invocations.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;With this you can check the actual data being populated live , and configure the collection as it needs to be.&lt;/P&gt;

&lt;P&gt;Can you validate that you can see the data you are trying to extract using live preview?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 09:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722068#M2978</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-07-05T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722069#M2979</link>
      <description>&lt;P&gt;Thanks Mario.&amp;nbsp; Here is the MIDC.&amp;nbsp; The first data to collect policyPeriod which is the parameter.toString() is returning something back.&amp;nbsp; I will try the Live Preview tomorrow to see if that helps.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_1-1625536381854.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36435iE072A75B3D797EEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 01:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722069#M2979</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722070#M2980</link>
      <description>&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;I did Live Preview on Transaction Discovery (see below).&amp;nbsp; I can see the method in the class, but do see no&amp;nbsp;&lt;SPAN&gt;Live preview Second tab option called Method Invocations to see what is in the parameter.&amp;nbsp; Should I be doing Live Preview somewhere else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_0-1625598939798.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36434i73F4A04DD5C4ACAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:18:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722070#M2980</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T19:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722071#M2981</link>
      <description>Hi Kenneth&lt;BR /&gt;&lt;BR /&gt;My apologies.you should not use the default live preview option. &lt;BR /&gt;&lt;BR /&gt;Navigate to the Transaction Detection rules. Click the + sign, like you are going to add a new rule. However you will not save the rule. It's only to find the data you are after. &lt;BR /&gt;&lt;BR /&gt;Choose the POJO option, specify the method and class you had and click on live preview on the required node.&lt;BR /&gt;&lt;BR /&gt;Once it starts you need to click on the second tab on the right and choose from the drop down - method invocations.&lt;BR /&gt;&lt;BR /&gt;This should return live traffic on the class/method being triggered. Normally gives uou 1-2 invocations. &lt;BR /&gt;&lt;BR /&gt;You can then view the data for it, to see if you can find the value you are looking for&lt;BR /&gt;&lt;BR /&gt;Let me know if you get stuck.&lt;BR /&gt;&lt;BR /&gt;Ciao</description>
      <pubDate>Tue, 06 Jul 2021 19:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722071#M2981</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-07-06T19:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722072#M2982</link>
      <description>&lt;P&gt;Thanks Mario,&lt;/P&gt;&lt;P&gt;I am still not seeing a second tab with Method Invocations in this screen either.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_0-1625600335196.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36439i3CC03FE880489A0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722072#M2982</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T19:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722073#M2983</link>
      <description>&lt;P&gt;Hello Mario.&amp;nbsp; I spoke to soon.&amp;nbsp; I found it and will let you know if it helps.&amp;nbsp; Thanks....&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722073#M2983</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722074#M2984</link>
      <description>Hi Kenneth.&lt;BR /&gt;&lt;BR /&gt;Click on the second tab, it's called tools.&lt;BR /&gt;&lt;BR /&gt;This will give you a drop down, to either search for classes/methods. Or another option called method invocations.&lt;BR /&gt;&lt;BR /&gt;Choose method invocations, wait a couple seconds. You will see live invocations of that class/method and the actual data within.&lt;BR /&gt;&lt;BR /&gt;Check if you can see/find the value you are after</description>
      <pubDate>Tue, 06 Jul 2021 19:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722074#M2984</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-07-06T19:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722075#M2985</link>
      <description>&lt;P&gt;Thanks Mario,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found it.&amp;nbsp; I am not sure why the first parameter show up as Param 1, but the PolicyPeriod is the first parameter in the method and the one I am trying to access.&amp;nbsp; It appears the issue is that the parameter is not the actual object, but a delegate.&amp;nbsp; With what you are seeing below, is there anyway to get to the properties/methods of PolicyPeriod?&amp;nbsp; Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_0-1625606539809.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36443iDE27B2377E0B9EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_1-1625606586925.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36442iAAF7EE3CD15E59A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 21:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722075#M2985</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T21:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722076#M2986</link>
      <description>Hi Kenneth&lt;BR /&gt;&lt;BR /&gt;Most definitely, just need to understand how the code works and how AppD represents it. Looks like one class calling another class. &lt;BR /&gt;&lt;BR /&gt;Switch the drop down back to class method where you can search for classes, then search for either entity.PolicyPeriod or PolicyPeriod. I believe you should find what you require here. &lt;BR /&gt;&lt;BR /&gt;Check which methods this class has available. And do live previews on this class and method. &lt;BR /&gt;&lt;BR /&gt;From your initial post you can look at entity.Submission class as well, which methods it has available.&lt;BR /&gt;&lt;BR /&gt;I hope I am making sense:)</description>
      <pubDate>Tue, 06 Jul 2021 21:42:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722076#M2986</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-07-06T21:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722077#M2987</link>
      <description>&lt;P&gt;Thanks Mario.&lt;/P&gt;&lt;P&gt;I was able to get the entity.PolicyPeriod methods.&amp;nbsp; I tried the getVersionString() on both param 0 and 1 with no success.&amp;nbsp; It does appear it is param 1 even though it is the first param of the method in the code.&amp;nbsp;I just put&amp;nbsp;getVersionString() in the getter chain. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions how I get to it?&amp;nbsp; Do I have to do something different since it is a delegate?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethHines_0-1625611133727.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36441i11EF6CC9E756E7FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 22:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722077#M2987</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-06T22:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Java Method Invocation Data Collectors - invoke object or getter chain not working on parameter</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722078#M2988</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;.&amp;nbsp; I was able to see the methods that the PolicyPeriod had available, but I am not sure how to tie this all together.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have this method that I have instrumented.&amp;nbsp; It takes a PolicyPeriod which internally is a delegate to the real&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PolicyPeriod.&amp;nbsp; I think you said that it is a class calling a class type of thing.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;function &lt;/SPAN&gt;requestQuote(policyPeriod : PolicyPeriod, nextStep : String) {&lt;BR /&gt;  requestQuote(policyPeriod, nextStep, ValidationLevel.&lt;SPAN&gt;TC_QUOTABLE&lt;/SPAN&gt;, RatingStyle.&lt;SPAN&gt;TC_DEFAULT&lt;/SPAN&gt;)&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I am not sure how to set up the bottom of the MIDC to "&lt;SPAN&gt;Specify the Data to Collect from this Method Invocation&lt;/SPAN&gt;" I am not sure how to set this up to get the data that I need because of the delegate.&amp;nbsp; Can you please clarify for me?&amp;nbsp; Thanks.....&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 12:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Method-Invocation-Data-Collectors-invoke-object-or-getter/m-p/722078#M2988</guid>
      <dc:creator>Kenneth_Hines</dc:creator>
      <dc:date>2021-07-15T12:53:41Z</dc:date>
    </item>
  </channel>
</rss>

