<?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: Crash with javaagent in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732193#M7890</link>
    <description>&lt;P&gt;Hi Ajay,&lt;/P&gt;

&lt;P&gt;Did you solve the problem as i have the same exception and my controller did show any data.&lt;/P&gt;
&lt;P&gt;FYI my Controller is SAAS&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;M.ElGazzar&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 08:11:46 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-02-28T08:11:46Z</dc:date>
    <item>
      <title>Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732188#M7885</link>
      <description>&lt;P&gt;I get exception while running with javaagent and no information is sent to controller from javaagent. I've attached log file from applicationserver and javaagent&lt;/P&gt;

&lt;P&gt;My application server log file has below exception...&lt;/P&gt;

&lt;P&gt;Running obfuscated agent&lt;BR /&gt;Registered app server agent with Node ID[8] Component ID[11] Application ID [7]&lt;BR /&gt;&lt;BR /&gt;Could not start Java Agent, Disabling !!!!!java.lang.NullPointerException ,Please check log files&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.Double.parseDouble(Double.java:538)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.gcvisibility.e.e(e.java:327)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.B.a(B.java:54)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.y.f(y.java:175)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.y.d(y.java:147)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.y.c(y.java:138)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.services.y.allServicesStarted(y.java:82)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.bm.c(bm.java:360)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.m.start(m.java:147)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:510)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:308)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:497)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:647)&lt;/P&gt;

&lt;P&gt;And agent log file has below exception&lt;/P&gt;

&lt;P&gt;[Thread-21] 20 Feb 2018 16:14:02,152&amp;nbsp; WARN AgentConfigWatchdog - Error in initializing from app-agent-config.xml&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.a(a.java:474)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.d(a.java:432)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.doOnChange(a.java:123)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:87)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.&amp;lt;init&amp;gt;(FileWatchdog.java:59)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.&amp;lt;init&amp;gt;(a.java:101)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.e.d(e.java:369)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.e.&amp;lt;init&amp;gt;(e.java:168)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.m.start(m.java:112)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:510)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:308)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:497)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:647)&lt;/P&gt;

&lt;P&gt;I'm not sure if these are related.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 01:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732188#M7885</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-21T01:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732189#M7886</link>
      <description>&lt;P&gt;Looking at your agent log, the agent is reporting successfully to the controller.&lt;/P&gt;

&lt;P&gt;The exception does suggest however that the agent is having trouble parsing its app-agent-config.xml file.&lt;/P&gt;

&lt;P&gt;Has that file got corrupted in some way?&amp;nbsp; Can you post it here?&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732189#M7886</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2018-02-21T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732190#M7887</link>
      <description>&lt;P&gt;Thanks for your prompt response.&lt;/P&gt;

&lt;P&gt;I've attached app-agent-config.xml from ver4.4.1.0\conf folder. I've not made any changes to this so this should be same as default one. But I have renamed extension from xml to txt as this forum doesn't allow uploading xml file.&lt;/P&gt;

&lt;P&gt;Based on the below exception, do you know which field in app-agent-config.xml I should look for?&lt;/P&gt;

&lt;P&gt;[Thread-21] 20 Feb 2018 16:14:02,152&amp;nbsp; WARN AgentConfigWatchdog - Error in initializing from app-agent-config.xml&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.a(a.java:474)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.d(a.java:432)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.doOnChange(a.java:123)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:87)&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 15:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732190#M7887</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-21T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732191#M7888</link>
      <description>&lt;P&gt;Ajay,&lt;/P&gt;

&lt;P&gt;The exception in your agent log is benign (which is why the fact that it is logged got missed - this is fixed in the next version.&lt;/P&gt;

&lt;P&gt;The exception in your stdout, however, seems to indicate that the agent cannot obtain the value of the "java.specification.version" system property.&lt;/P&gt;

&lt;P&gt;Could you please open a support case and support can work through this issue with you in more depth.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732191#M7888</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2018-02-23T10:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732192#M7889</link>
      <description>&lt;P&gt;Thanks Peter. I'm evaluating your software and I don't have support contract with AppDynamics yet.&lt;/P&gt;

&lt;P&gt;You may right that it's failing because of misssing system property expected by javaagent.&lt;/P&gt;
&lt;P&gt;I tried passing "java.specification.version" as system property while starting my application but still get the same error. So it may be some other system property which I can not figure out.&lt;/P&gt;

&lt;P&gt;If there is no other suggestion, I'll stop my evaluation here.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 00:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732192#M7889</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-24T00:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732193#M7890</link>
      <description>&lt;P&gt;Hi Ajay,&lt;/P&gt;

&lt;P&gt;Did you solve the problem as i have the same exception and my controller did show any data.&lt;/P&gt;
&lt;P&gt;FYI my Controller is SAAS&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;M.ElGazzar&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 08:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732193#M7890</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-28T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732194#M7891</link>
      <description>&lt;P&gt;No, sorry. I wasn't able to solve it. My best guess is the java agent is expecting some system property that's not populated from my java application. I was advised to work with AppDyanmic support which I wasn't able to.&lt;/P&gt;

&lt;P&gt;Did you mean you see data in controller even with this exception?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 23:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732194#M7891</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-28T23:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732195#M7892</link>
      <description>&lt;P&gt;Yes, but i can see the data now but still have the same this exception in my logs.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mostafa ElGazzar&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 08:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732195#M7892</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-03-01T08:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Crash with javaagent</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732196#M7893</link>
      <description>&lt;P&gt;Which exception can you see?&lt;/P&gt;
&lt;P&gt;The one I have pasted below is benign, and you can ignore it.&amp;nbsp; It will be fixed in the next agent release.&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;[Thread-21] 20 Feb 2018 16:14:02,152&amp;nbsp; WARN AgentConfigWatchdog - Error in initializing from app-agent-config.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.a(a.java:474)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.d(a.java:432)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.ee.agent.appagent.kernel.config.xml.a.doOnChange(a.java:123)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:87)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 12:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Crash-with-javaagent/m-p/732196#M7893</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2018-03-01T12:48:29Z</dc:date>
    </item>
  </channel>
</rss>

