IllegalStateException: Component is not attached to the UI hierarchy — lifecycle safety during detachment
Context In Vaadin Flow 14–23, server‑side code that mutates a component after the UI has been detached throws java.lang.IllegalStateException: Component is not attached to the UI hierarchy . The framework does not document which component lifecycle methods remain safe to invoke while the UI is detached, nor does it define a deterministic strategy for preserv