Skip to content

[Bug] Exception Debugger WARN: currentIdx=0 out of bounds of innerTrace array length=0 (v7.80.2) #11683

Description

@LucienLallier

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions