Error during an RPC

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Error during an RPC

Postby amina_anima » Wed Feb 23, 2011 7:30 am

hi everybody
I have this error in the console
Code: Select all
[WARN] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List com.xxx.sc.sqalegwt.client.DataSourceService.createTable()' threw an unexpected exception: java.lang.UnsatisfiedLinkError: com.google.gwt.visualization.client.DataTable.create()Lcom/google/gwt/visualization/client/DataTable;
   at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
   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:729)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:324)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
   at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Caused by: java.lang.UnsatisfiedLinkError: com.google.gwt.visualization.client.DataTable.create()Lcom/google/gwt/visualization/client/DataTable;
   at com.google.gwt.visualization.client.DataTable.create(Native Method)
   at com.xxx.sc.sqalegwt.server.DataSourceServiceImpl.createTable(DataSourceServiceImpl.java:351)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
   ... 22 more

this because I use the model MVP to draw a graphic chart.
when I add my presenter principal to RootPanel.
I have added this code in my service
Code: Select all
public List<DataTableSerialisable> createTable();

and in the asynchorne classe i have this:
Code: Select all
  void createTable( AsyncCallback<java.util.List<com.xxx.sc.sqalegwt.client.DataTableSerialisable>> callback );

and DataTableSerialisable is a class that implements "Serializable" of "java.io.Serializable";
please can you help me ?!! :cry:
Last edited by amina_anima on Sun Feb 27, 2011 12:42 am, edited 1 time in total.
amina_anima
 
Posts: 1
Joined: Wed Feb 23, 2011 7:18 am

Re: Error during an RPC

Postby Eric Clayberg » Wed Feb 23, 2011 1:19 pm

I would recommend posting general GWT questions to our (Google's) GWT Forum.

We would like to keep this forum focused on GWT Designer itself. Thank you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron