After the upgrade from older version (11.X, 12.0.X), when trying to edit calendar keywords, the following error is present in AWI:
The issue happens with some keywords only
The following error is present in AWI log file:
2022-08-03 16:21:31,258 pool-2-thread-1649 [ERROR] Production:CLIENT/USERNAME/DEPARTMENT 4300 0000000005114638 [rk.core.pool.ContextAwareExecutorService] - Unhandled Exception in Async Call:
java.lang.IllegalStateException: A connector should not be marked as dirty while a response is being written.
at com.vaadin.ui.ConnectorTracker.markDirty(ConnectorTracker.java:504)
at com.vaadin.server.AbstractClientConnector.markAsDirty(AbstractClientConnector.java:143)
at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:619)
at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)
at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)
at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)
at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:587)
at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:214)
at com.vaadin.ui.CssLayout.addComponent(CssLayout.java:123)
at com.uc4.webui.vaadin.customwidgets.lazyrenderingpanel.LazyRenderingPanel.updateRenderedComponents(LazyRenderingPanel.java:301)
....
Release : 12.x and 21.x
Component : AUTOMATION ENGINE
Corrupted object
Somehow the object is corrupted during/after the upgrade.
To fix the issue, re-import the calendar in AWI.