Skip to content

[BUG] "Slow operations are prohibited on EDT" — SpringCoreUtil.isSpringBootProject (Bean SearchEverywhere) #233

@imuromtsev

Description

@imuromtsev

Summary

Throwable: Slow operations are prohibited on EDTSpringCoreUtil.isSpringBootProject runs a slow op (index/PSI access) on the EDT. 22 events.

Where

  • SpringCoreUtil.isSpringBootProjectSpringCoreUtil.kt:163
  • Call site: BeanSearchEverywhereContributorFactory.kt:34 (contributor availability runs on EDT)

Sentry

Suggested direction (hypothesis)

Move Spring Boot detection off the EDT: cache the result, compute under ReadAction.nonBlocking, or precompute so isSpringBootProject never hits indices on the EDT.

Filed from Sentry (project 4 / spring-plugin), last 30 days. Auto-triaged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in:spring-coreSpring Core or Spring Boot Core issues

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions