Discussion Feed
02-28-2018
03:37 PM
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.
Did you mean you see data in controller even with this exception?
... View more
02-23-2018
04:07 PM
Thanks Peter. I'm evaluating your software and I don't have support contract with AppDynamics yet.
You may right that it's failing because of misssing system property expected by javaagent.
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.
If there is no other suggestion, I'll stop my evaluation here.
... View more
02-21-2018
07:53 AM
Thanks for your prompt response.
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.
Based on the below exception, do you know which field in app-agent-config.xml I should look for?
[Thread-21] 20 Feb 2018 16:14:02,152 WARN AgentConfigWatchdog - Error in initializing from app-agent-config.xml java.lang.NullPointerException at com.singularity.ee.agent.appagent.kernel.config.xml.a.a(a.java:474) at com.singularity.ee.agent.appagent.kernel.config.xml.a.d(a.java:432) at com.singularity.ee.agent.appagent.kernel.config.xml.a.doOnChange(a.java:123) at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:87)
... View more
02-20-2018
05:34 PM
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
My application server log file has below exception...
Running obfuscated agent Registered app server agent with Node ID[8] Component ID[11] Application ID [7] Could not start Java Agent, Disabling !!!!!java.lang.NullPointerException ,Please check log files java.lang.NullPointerException at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838) at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.lang.Double.parseDouble(Double.java:538) at com.singularity.ee.agent.appagent.services.gcvisibility.e.e(e.java:327) at com.singularity.ee.agent.appagent.services.B.a(B.java:54) at com.singularity.ee.agent.appagent.services.y.f(y.java:175) at com.singularity.ee.agent.appagent.services.y.d(y.java:147) at com.singularity.ee.agent.appagent.services.y.c(y.java:138) at com.singularity.ee.agent.appagent.services.y.allServicesStarted(y.java:82) at com.singularity.ee.agent.appagent.kernel.bm.c(bm.java:360) at com.singularity.ee.agent.appagent.kernel.m.start(m.java:147) at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:510) at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:308) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:647)
And agent log file has below exception
[Thread-21] 20 Feb 2018 16:14:02,152 WARN AgentConfigWatchdog - Error in initializing from app-agent-config.xml java.lang.NullPointerException at com.singularity.ee.agent.appagent.kernel.config.xml.a.a(a.java:474) at com.singularity.ee.agent.appagent.kernel.config.xml.a.d(a.java:432) at com.singularity.ee.agent.appagent.kernel.config.xml.a.doOnChange(a.java:123) at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:87) at com.singularity.util.org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:59) at com.singularity.ee.agent.appagent.kernel.config.xml.a.<init>(a.java:101) at com.singularity.ee.agent.appagent.kernel.config.xml.e.d(e.java:369) at com.singularity.ee.agent.appagent.kernel.config.xml.e.<init>(e.java:168) at com.singularity.ee.agent.appagent.kernel.m.start(m.java:112) at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:510) at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:308) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:647)
I'm not sure if these are related.
... View more
Latest Activity
- Posted Re: Crash with javaagent on Java (Java Agent, Installation, JVM, and Controller Installation). 02-28-2018 03:37 PM
- Posted Re: Crash with javaagent on Java (Java Agent, Installation, JVM, and Controller Installation). 02-23-2018 04:07 PM
- Posted Re: Crash with javaagent on Java (Java Agent, Installation, JVM, and Controller Installation). 02-21-2018 07:53 AM
- Posted Crash with javaagent on Java (Java Agent, Installation, JVM, and Controller Installation). 02-20-2018 05:34 PM
Community Stats
Date Registered | 02-16-2018 04:03 PM |
Date Last Visited | 02-28-2018 06:05 PM |
Total Messages Posted | 4 |