IT Mill 5.2.5 Beta Exception on launching

Hi Folks,

I just see the new release for the 5.2.5 so I have downloaded it to test it. But when I try to launch my project (display a simple Label on Window) I’ve got the following exception :

java.lang.ArrayIndexOutOfBoundsException: 1
	at com.itmill.toolkit.terminal.gwt.server.CommunicationManager.handleVariables(
	at com.itmill.toolkit.terminal.gwt.server.CommunicationManager.handleUidlRequest(
	at com.itmill.toolkit.terminal.gwt.server.ApplicationServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
	at org.apache.tomcat.util.threads.ThreadPool$

My code

public class MainWindow extends Application {
	public void init() {
		Window main = new Window("It Mill 5.2.5");
		Label label = new Label("Hello");

Before I worked on 5.2.2 without problem, maybe I do something wrong but I don’t know why. I’m working under Eclipse with tomcat 5.5 and I have proceeded cleanup operation.
Can you tell me if is that normal ?
Thanks in advance !

This surely is not normal - are the demo applications working for you? Your code is almost identical to hello world demo, so the problem surely is not in your test app…

Possible problems:

  • Your browser cache has not been cleared up
  • You are using self-compiled widgetset, but did not recompile after upgrade

(My guess is that the actual problem is that for some reason your browser is running old version of widgetset and the communication encoding has changed between toolkit versions. This change should be internal, but for some reason the client and server side versions are out of sync)

Added to make errors more readable in the future revisions…

That’s it ! After recompile it and launch my project again, all works fine, sorry about my mistake and Thanks you,