Timeout with internal error

Hi,

Whenever my vaadin app times out, I get “Internal Error”. The log shows the following:

SEVERE: Terminal error:
javax.servlet.ServletException: No UIProvider returned a UI for the request.
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:326)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)

How do I get rid of this error?

Thanks!

Could you be more specific? In what way does you app time out? Does the InternalError come when you are actively doing something or does it just popup on its own?

Hi,

I was testing with the following settings in my web.xml


		<init-param>
      		<param-name>heartbeatInterval</param-name>
			<param-value>5</param-value>
		</init-param>
		<init-param>
      		<param-name>closeIdleUIs</param-name>
			<param-value>true</param-value>
		</init-param>

	<session-config>
        <!-- Default to 15 minute session timeouts -->
        <session-timeout>2</session-timeout>
    </session-config>

I navigate to my vaadin root and leave it idle until it times out by itself. When I go back to check the page, the “Internal Error” pops up on its own. I am actually expecting a “Session Timeout” instead of “Internal Error”.

I’ll have a look.

Created ticket
#10116
.

Thank you very much, Johannes!