Skip to content

[BUG] Read access from outside read-action in EnvDataHolder (selectFile / getPsiJsonFile) #237

@imuromtsev

Description

@imuromtsev

Summary

RuntimeExceptionWithAttachments: Read access is allowed from inside read-action onlyEnvDataHolder accesses PSI without holding a read action. 6 events across 2 Sentry issues.

Where

  • EnvDataHolder.selectFile
  • EnvDataHolder.getPsiJsonFile

Sentry

Suggested direction (hypothesis)

Wrap the PSI access in ReadAction.compute {} / runReadAction {}, or ensure the caller already holds the read lock.

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