Re: Deprecated SerializableException
Has anyone found a solution to this? I haven't experienced any runtime problems ignoring these messages but I'd like to follow a newer standard if it exists. On Dec 10, 2:56 pm, "Robert J. Carr" wrote: > Actually, I tend to *only* use Exception for my remote service methods > and I still get the warning. > > On Thu, Dec 10, 2009 at 11:47 AM, Jim Douglas wrote: > >> a custom class that extends Exception > > > That must be it; we have a couple of custom classes that just extend > > Exception: > > > ./InitializationException.java:public class InitializationException > > extends Exception > > ./RPCException.java:public class RPCException extends Exception > > > Would we be better off using one of the Exception types that GWT > > emulates? Or is this just an annoying-but-harmless warning? > > > On Dec 10, 2:31 am, Gabor wrote: > >> If your method throws Exception, or a custom class that extends > >> Exception, then you will get this warning. Maybe because the GWT > >> compiler searches for all subclasses of Exception, and finds > >> SerializableException. It includes it in the list of serializable > >> types, and you get a deprecation warning. I don't know how to make it > >> go away, without going back to 1.7. > > >> On Dec 10, 12:13 am, rjcarr wrote: > > >> > I'm attempting to upgrade to GWT 2.0 and everything is working well > >> > enough except I am getting this warning in the compile step: > > >> > Referencing deprecated class > >> > 'com.google.gwt.user.client.rpc.SerializableException' > > >> > And the file it mentions is a gwt derived file with the suffix: > >> > _TypeSerializer.java > > >> > The warning always happens on service classes (i.e., RemoteService), > >> > but doesn't seem to happen on *all* service classes. > > >> > I have not defined SerializableException explicitly, but my method > >> > signatures do throw Exception. > > >> > Any idea why this is happening and what I can do to make it go away? > > >> > Thanks! > > > -- > > > 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-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.
Re: Does GWT work in Snow Leopard?
Thanks Dean, that got me up and running again On Aug 29, 2:51 am, "Dean S. Jones" wrote: > http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard > > this got me back up and running --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: java.lang.UnsupportedClassVersionError: Bad version number in .class file in eclipse-3.4 + mac osx
I am getting a similar problem, I was working on my project last night with no problems. But opening it and running it today I am receiving the following error SEVERE: Caught exception from remote service procedure com.google.apphosting.api.ApiProxy$UnknownException: An error occurred for the API request urlfetch.Fetch(). at com.google.appengine.tools.development.ApiProxyLocalImpl.makeSyncCall (ApiProxyLocalImpl.java:108) at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:79) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch (URLFetchServiceImpl.java:28) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:389) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:289) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getResponseCode(URLFetchServiceStreamHandler.java:131) at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest (GoogleAuthTokenFactory.java:550) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken (GoogleAuthTokenFactory.java:477) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials (GoogleAuthTokenFactory.java:336) at com.google.gdata.client.GoogleService.setUserCredentials (GoogleService.java:362) at com.google.gdata.client.GoogleService.setUserCredentials (GoogleService.java:317) at com.google.gdata.client.GoogleService.setUserCredentials (GoogleService.java:301) at com.ltech.googleapps.powerpanel.server.BaseServiceImpl.setServiceCredentials (BaseServiceImpl.java:61) at com.ltech.googleapps.powerpanel.server.ProvisioningServiceImpl.getUsers (ProvisioningServiceImpl.java:181) at com.ltech.googleapps.powerpanel.server.ProvisioningServiceImpl.access$0 (ProvisioningServiceImpl.java:171) at com.ltech.googleapps.powerpanel.server.ProvisioningServiceImpl $1.performCall(ProvisioningServiceImpl.java:61) at com.ltech.googleapps.powerpanel.server.ProvisioningServiceImpl $1.performCall(ProvisioningServiceImpl.java:1) at com.ltech.googleapps.powerpanel.server.BaseServiceImpl.performSecureCall (BaseServiceImpl.java:72) at com.ltech.googleapps.powerpanel.server.ProvisioningServiceImpl.getUsers (ProvisioningServiceImpl.java:59) 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:585) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse (RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall (RemoteServiceServlet.java:166) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost (RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter (StaticFileFilter.java:124) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle (DevAppEngineWebAppContext.java:54) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:313) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.content (HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
Re: How to set Font style for full application
Parves, I had a similar issue to yours. What I did was copy the stylesheet for the theme I was using, removed the theme declaration from the entry point, and referenced the copied stylesheet manually. This let me make the GWT styles load before my own set of styles. On Aug 25, 8:23 am, Parvez Shah wrote: > Hello, > is there a way to set Font style for complete application, I tried > setting the font in the Main.html but to no avail > i am trying to set font style "Time new roman" size 16 > but just cant get it done .. i searched in the samples but there also > I could not find any example which does so. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---