spring-vaadin icon indicating copy to clipboard operation
spring-vaadin copied to clipboard

?restartApplication => IllegalStateException

Open robaca opened this issue 11 years ago • 2 comments

If I try to reset my application using the query parameter 'restartApplication', I get the following Exception:

...
Caused by: com.vaadin.server.ServiceException: java.lang.IllegalStateException: UI id has already been defined
    at com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1387) [classes:7.1.0]
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1341) [classes:7.1.0]
    at com.vaadin.server.VaadinPortlet.handleRequest(VaadinPortlet.java:410) [classes:7.1.0]
    ... 148 more
Caused by: java.lang.IllegalStateException: UI id has already been defined
    at com.vaadin.ui.UI.doInit(UI.java:593) [classes:7.1.0]
    at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:223) [classes:7.1.0]
    at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:73) [classes:7.1.0]
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37) [classes:7.1.0]
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1329) [classes:7.1.0]
    ... 149 more

Environment: Vaadin 7.1 Portlet Application, SpringVaadinIntegration 2.0, Liferay 6.1.1, JBoss AS 7

robaca avatar Jul 08 '13 08:07 robaca

I've never used portlets. Maybe @h3nr1x publishes his test project and I'd try to resolve it.

xpoft avatar Jul 08 '13 10:07 xpoft

@xpoft Sorry for the delay, I was out for the weekend, here is the repo for the test project

dinox0r avatar Jul 08 '13 22:07 dinox0r