Do we need lock on Application object for updating detached UI components

I faced the concurrent modification exception during repaint because a background thread was updating UI components.
If I detach a component manually by calling detach() and modify its state and then acquire application lock and attach the component, would it work?
Since its intermittent issue, there is no straightforward way to test this.
Am using Vaadin 6.8

Hello Tejaswi,

If you are using refresher Addon Ugrade the same to the latest version. Check the release notes of version 1.2.2.7.

Thanks,
Krishna.