GWT not initialised error

4 views
Skip to first unread message

riyaz....@gmail.com

unread,
Nov 25, 2006, 11:28:00 PM11/25/06
to Google Web Toolkit

[WARN] StandardContext[]Exception while dispatching incoming RPC call
java.lang.RuntimeException: GWT has not been properly initialized; if
you are running a unit test, check that your test case extends
GWTTestCase
at com.google.gwt.core.client.GWT.create(GWT.java:94)
at
rm.gwt.forms.client.AtollPojo.getFieldPropertiesInterface(AtollPojo.java:81)
at rm.gwt.util.client.BasePojo.<init>(BasePojo.java:45)
at rm.gwt.forms.client.AtollPojo.<init>(AtollPojo.java:39)
at
rm.gwt.forms.server.AtollServiceImpl.doPrint(AtollServiceImpl.java:70)


public ConstantsWithLookup getFieldPropertiesInterface() {
return (ConstantsWithLookup)GWT.create(AtollProperties.class);
//AtollPojo:81
}

AtollProperties extends ConstantsWithLookup


On the client side this, when my form creates an AtollPojo there is no
error. When form is submitted, i create another instance of AtollPojo
(on the server side) but gives the above error.

ie: works on client side but does NOT work on the server side? help
please :(

Riyaz

Reply all
Reply to author
Forward
0 new messages