Skip to content

Kibana crashes with RangeError: Maximum call stack size exceeded if there is a circular dependency between NP plugins #44762

@azasypkin

Description

@azasypkin

Currently Kibana crashes with RangeError: Maximum call stack size exceeded when we have two NP plugins that have each other in requiredPlugins.

When such dependency is based on optionalPlugins error message is much better (still very vague though): Error: Topological ordering of plugins did not complete, these edges could not be ordered: [["plugin-a",{}],["plugin-b",{}]]

You can use licensing and security NP plugins to reproduce this.

Metadata

Metadata

Assignees

Labels

Feature:New PlatformFeature:PluginsTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//bugFixes for quality problems that affect the customer experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions