Tracer Version(s)
release-prod-6939
Java Version(s)
21.0.11
JVM Vendor
Amazon Corretto
Bug Report
Description:
Application pods running the dd-java-agent are frequently logging the following warning:
WARN com.datadog.debugger.exception.AbstractExceptionDebugger - currentIdx=0 out of bounds of innerTrace array length=0
Observed Behavior:
The agent throws an IndexOutOfBoundsException internally within the Exception Debugger module when processing application exceptions. The innerTrace array has a length of 0, but the agent attempts to access index 0.
Mitigation:
Performing a rollout (kubectl rollout restart) on the impacted pods temporarily stops the warnings. This indicates the agent enters a corrupted internal state that is cleared upon JVM and agent restart.
Environment:
- dd-java-agent version: 1.63.0~864ef847c7
- Datadog Cluster Agent: 7.80.2
- Infrastructure: AWS EKS
Expected Behavior
Not having this error
Reproduction Code
No response
Tracer Version(s)
release-prod-6939
Java Version(s)
21.0.11
JVM Vendor
Amazon Corretto
Bug Report
Description:
Application pods running the dd-java-agent are frequently logging the following warning:
WARN com.datadog.debugger.exception.AbstractExceptionDebugger - currentIdx=0 out of bounds of innerTrace array length=0
Observed Behavior:
The agent throws an IndexOutOfBoundsException internally within the Exception Debugger module when processing application exceptions. The innerTrace array has a length of 0, but the agent attempts to access index 0.
Mitigation:
Performing a rollout (kubectl rollout restart) on the impacted pods temporarily stops the warnings. This indicates the agent enters a corrupted internal state that is cleared upon JVM and agent restart.
Environment:
Expected Behavior
Not having this error
Reproduction Code
No response