Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi session bug #2

Open
stemlaur opened this issue Jul 18, 2017 · 1 comment
Open

Multi session bug #2

stemlaur opened this issue Jul 18, 2017 · 1 comment

Comments

@stemlaur
Copy link

Thank you for the nice project.
When I try to open it on two tabs on normal and one on private mode I get the exception:

"status":500,"error":"Internal Server Error","exception":"com.vaadin.server.ServiceException","message":"org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoView': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cannot remove from parent when the session is not locked. Furthermore, there is another locked session, indicating that the component might be about to be moved from one session to another.","path":"/"

Do you know what might be the cause ?

@gldiazcardenas
Copy link

This is something that I found: https://stackoverflow.com/questions/36625149/cannot-remove-from-parent-when-the-session-is-not-locked.

Make sure the components are all prototype scoped, include any subcomponent in the hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants