Skip to content

VaadinModel functions should be encapsulated in a ReadAction #448

@mgarciavaadin

Description

@mgarciavaadin
  • findFlowRoutes
  • findHillaEndpoints
  • findComponents
  • findEntities
  • findSecurityConfig
  • findUserDetails

Should be encapsulated to don't let the caller the responsibility to encapsulate or not as they read the model.

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify model on EDT consider wrapping your code in WriteIntentReadAction  or ReadAction; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[#96,Netty Builtin Server 1,5,main] 93545463 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[#46,AWT-EventQueue-0,6,main] 1802300015

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions