Description:
This article discusses the cause of the error: "An error occurred while initializing service class com.wily.introscope.ext.dumpproperties.AgentService in "Dump Properties"".
This error is harmless.
Solution:
During startup, the following error may appear in APM 9.1 agents:
[ERROR] [IntroscopeAgent.Agent] An error occurred while initializing serviceclass com.wily.introscope.ext.dumpproperties.AgentService in "Dump Properties"
This error occurs as the agent attempts to access a system property during agent startup.
In the 9.1 agents, we do not account for concurrent agent and system access to this property. This can result in a potential race condition for access to the property.
The error is logged as a result, however has no functional impact and can be safely ignored.
This error is addressed in APM 9.5 agents by creating a copy of the affected properties during startup to prevent concurrent access.