OK, so it's not that, then :-( I don't know if it's still not fixed, but I've had this error message when the service is returning null and I was expecting it to return something.
Ian http://examples.roughian.com 2009/5/12 Pavel Byles <pavelby...@gmail.com> > Ian, > I'm using whatever came with the Google Eclipse Plugin (1.6.4) > When I tried updating the plugin there's nothing to update. > > Thanks... anymore ideas? > > > On Tue, May 12, 2009 at 10:44 AM, Ian Bambury <ianbamb...@gmail.com>wrote: > >> Check that you are using the matching version of the gwt-servlet.jar (i.e. >> everything is 1.6.4 or whatever) and that the correct versions of the >> compiled servlets are being used on the server. >> >> Ian >> >> http://examples.roughian.com >> >> >> 2009/5/12 Pavel Byles <pavelby...@gmail.com> >> >> I tried cleaning the project and running it again. Same thing. I manually >>> deleted all generated files (class, html, js etc..) and still the same >>> error. >>> >>> >>> On Tue, May 12, 2009 at 4:12 AM, mars1412 <martin.trum...@24act.at>wrote: >>> >>>> >>>> *This application is out of date, please click the refresh button on >>>> your browser.* >>>> >>>> we also had problems with this and in our case it turned out, that an >>>> old backend-application was still acitve under tomcat/webapps. >>>> then the gui-application always connected to this one instead of the >>>> current-backend-application as expected. >>>> maybe doublecheck this... >>>> >>>> On May 11, 9:09 pm, Pavel Byles <pavelby...@gmail.com> wrote: >>>> > The error I'm getting is: *This application is out of date, please >>>> click the >>>> > refresh button on your browser.* >>>> > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: >>>> This >>>> > application is out of date, please click the refresh button on your >>>> browser. >>>> > at >>>> > >>>> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) >>>> > at >>>> > >>>> com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) >>>> > at >>>> > >>>> com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) >>>> > at >>>> > >>>> com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) >>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> > at >>>> > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> > at >>>> > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> > at java.lang.reflect.Method.invoke(Method.java:597) >>>> > at >>>> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) >>>> > at >>>> > >>>> com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) >>>> > at >>>> org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native >>>> > Method) >>>> > at >>>> > org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) >>>> > at >>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) >>>> > at >>>> > >>>> com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) >>>> > at >>>> > >>>> com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) >>>> > at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) >>>> > at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) >>>> > >>>> > This is how I send it from the server: >>>> > >>>> > public List<Country> getAllCountries() { >>>> > PersistenceManager pm = PMF.get().getPersistenceManager(); >>>> > pm.setDetachAllOnCommit(true); >>>> > Query query = pm.newQuery(Country.class); >>>> > List<Country> results = null; >>>> > try { >>>> > results = new ArrayList<Country>((List<Country>) >>>> query.execute()); >>>> > pm.detachCopyAll(); >>>> > } finally { >>>> > query.closeAll(); >>>> > pm.close(); >>>> > } >>>> > return results; >>>> > } >>>> > >>>> > Other times I get a StreamingQueryResult error. I have followed the >>>> artice: >>>> http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd. >>>> .. >>>> > But still no luck. >>>> > >>>> > Here's my JDO: >>>> > >>>> > @PersistenceCapable(identityType = IdentityType.APPLICATION, >>>> detachable = >>>> > "true") >>>> > public class Country implements Serializable { >>>> > >>>> > private static final long serialVersionUID = -6845617278370037319L; >>>> > @SuppressWarnings("unused") >>>> > @PrimaryKey >>>> > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) >>>> > private Key key; >>>> > >>>> > @Persistent >>>> > private String name; >>>> > >>>> > @Persistent >>>> > private float latitude; >>>> > >>>> > @Persistent >>>> > private float longitude; >>>> > >>>> > public Country() {} >>>> > >>>> > public Country(String name, float latitude, float longitude) { >>>> > this.name = name; >>>> > this.latitude = latitude; >>>> > this.longitude = longitude; >>>> > } >>>> > >>>> > public void setKey(Key key) { >>>> > this.key = key; >>>> > } >>>> > >>>> > public String getName() { >>>> > return name; >>>> > } >>>> > >>>> > public void setName(String name) { >>>> > this.name = name; >>>> > } >>>> > >>>> > public float getLatitude() { >>>> > return latitude; >>>> > } >>>> > >>>> > public float getLongitude() { >>>> > return longitude; >>>> > } >>>> > >>>> > public void setLatitude(float latitude) { >>>> > this.latitude = latitude; >>>> > } >>>> > >>>> > public void setLongtiude(float longitude) { >>>> > this.longitude = longitude; >>>> > } >>>> > >>>> > } >>>> > >>>> > -- >>>> > -Pav >>>> >>>> >>> >>> >>> -- >>> -Pav >>> >>> >>> >> >> >> > > > -- > -Pav > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---