Property user.agent got stuck

7 views
Skip to first unread message

Richova

unread,
Aug 11, 2010, 2:47:24 PM8/11/10
to Google Web Toolkit
Hi.

I am working with Eclipse Galileo and GWT 2.0.3.

Once, to improve compilation time, I put these lines into the
Project.gwt.xml file:

<set-property name="user.agent" value="gecko1_8" />
<set-property name="locale" value="default" />

Days after that, I removed the lines and the project stop working,
executing it in Eclipse's host mode.

From Eclipse's "Development mode" tab, I got this message:

[ERROR] [project] Failed to load module 'project' from user agent
'Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9.2.8) Gecko/
20100722 AskTbUT2V5/3.8.0.12304 Firefox/3.6.8 ( .NET CLR
3.5.30729; .NET4.0E)' at 127.0.0.1:57662

And associated to that message, the following stack trace:

12:15:33.610 [ERROR] [project] Unable to load module entry point class
com.project.client.Project (see associated exception for details)
java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.user.client.impl.DOMImpl' (did you forget to inherit a
required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:43)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.google.gwt.user.client.DOM.<clinit>(DOM.java:34)
at com.google.gwt.user.client.ui.CellPanel.<init>(CellPanel.java:
68)
at
com.google.gwt.user.client.ui.VerticalPanel.<init>(VerticalPanel.java:
37)
at
com.pilote.client.ProjectMainFrame.setupGUI(ProjectMainFrame.java:29)
...
at java.lang.Thread.run(Thread.java:619)


After some hours, I put the same lines back to the gwt.xml file, and
the project came back to life.

I don't know if there is something bad with the GWT plug-in, with
Eclipse or with the version of GWT.

Reply all
Reply to author
Forward
0 new messages