Debugging @Connect Mapping Error

I have exactly the same problem. It happens roughly once in every 10 view opening.
I integrated Spring with Vaadin, and used Spring Security for user management, when this started to happen.
Any hints/ideas on what is happening? Which direction should I look for a solution?