AppDynamics Knowledge Base

Java Machine Agent not reporting metrics due to JSON Mapping Exception

Java Machine Agent not reporting metrics due to JSON Mapping Exception

Problem:

The Java Machine Agent is not reporting metrics. The following error message is displayed in the Machine Agent logs:

[extension-scheduler-pool-1] 11 October 2017 08:54:03,625 ERROR RawCollectorUtil - 
Could not collect raw data
 com.fasterxml.jackson.databind.JsonMappingException: Unrecognized character escape ‘d’ (code 100)

at [Source: java.io.StringReader@5ae97f86; line: 159; column: 115453]
at [Source: java.io.StringReader@5ae97f86; line: 159; column: 115453] (through reference chain:
com.appdynamics.sim.agent.extensions.servers.model.newlinux.Process][“effectiveGroup”])


Solution:

Restart the machine agent with the following startup parameter:

-Dappdynamics.machine.agent.extensions.linux.newFrameworkEnabled=false


Example
java -Dappdynamics.machine.agent.extensions.linux.newFrameworkEnabled=false -jar machineagent.jar

Labels (1)
Version history
Last update:
‎10-23-2017 08:53 AM
Updated by: