Skip to content

Error while parsing container info. Cause: undefined method `[]' for nil:NilClass #1475

Description

Since upgrading to 0.48, several of our developers running linux are running into the following error when starting up the app:

ERROR -- ddtrace: [ddtrace] (/home/mscrivo/affinity/vendor/bundle/ruby/3.0.0/gems/ddtrace-0.48.0/lib/ddtrace/runtime/container.rb:71:in `rescue in block in descriptor') Error while parsing container info. Cause: undefined method `[]' for nil:NilClass Location: /home/mscrivo/affinity/vendor/bundle/ruby/3.0.0/gems/ddtrace-0.48.0/lib/ddtrace/runtime/container.rb:56:in `block (2 levels) in descriptor'

Even if tracing is disabled. Note, they are running the code on VMs, but not containers. Downgrading to 0.47 gets rid of the error. People using macOS don't see this.

Ruby version: 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugInvolves a bugcommunityWas opened by a community membercoreInvolves Datadog core libraries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions