Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8700937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:17:03+00:00 2026-06-13T02:17:03+00:00

I have created a class which extends com.smartgwt.client.widgets.grid.ListGridRecord and implements com.google.gwt.user.client.rpc.IsSerializable. I am returning

  • 0

I have created a class which extends com.smartgwt.client.widgets.grid.ListGridRecord and implements com.google.gwt.user.client.rpc.IsSerializable. I am returning an array of such objects as a result of RPC. But on running in dev mode it is throwing an exception

    [java] SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call
 [java] com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.aman.gwt.test.shared.FriendRecord[] com.aman.gwt.test.client.FirstService.test()' threw an unexpected exception: java.lang.UnsatisfiedLinkError: com.smartgwt.client.util.JSOHelper.createObject()Lcom/google/gwt/core/client/JavaScriptObject;
 [java]     at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
 [java]     at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
 [java]     at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
 [java]     at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
 [java]     at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
 [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 [java]     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
 [java]     at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:110)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
 [java]     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 [java]     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
 [java]     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 [java]     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
 [java]     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
 [java]     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
 [java]     at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)
 [java]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 [java]     at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:380)
 [java]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 [java]     at org.mortbay.jetty.Server.handle(Server.java:326)
 [java]     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
 [java]     at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
 [java]     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
 [java]     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
 [java]     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
 [java]     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
 [java]     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
 [java] Caused by: java.lang.UnsatisfiedLinkError: com.smartgwt.client.util.JSOHelper.createObject()Lcom/google/gwt/core/client/JavaScriptObject;
 [java]     at com.smartgwt.client.util.JSOHelper.createObject(Native Method)
 [java]     at com.smartgwt.client.core.DataClass.<init>(DataClass.java:35)
 [java]     at com.smartgwt.client.core.RefDataClass.<init>(RefDataClass.java:30)
 [java]     at com.smartgwt.client.data.Record.<init>(Record.java:59)
 [java]     at com.smartgwt.client.widgets.grid.ListGridRecord.<init>(ListGridRecord.java:127)
 [java]     at com.aman.gwt.test.shared.FriendRecord.<init>(FriendRecord.java:13)
 [java]     at com.aman.gwt.test.server.FirstServiceImpl.test(FirstServiceImpl.java:26)
 [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java]     at java.lang.reflect.Method.invoke(Method.java:616)
 [java]     at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
 [java]     ... 38 more
 [java] 
 [java] Oct 18, 2012 1:52:36 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet
 [java] WARNING: No file found for: /favicon.ico

Shared class and the service implementation method is:

     package com.aman.gwt.test.shared;
     import com.smartgwt.client.widgets.grid.ListGridRecord;
     import com.google.gwt.user.client.rpc.IsSerializable;
     public class FriendRecord extends ListGridRecord implements IsSerializable{

public FriendRecord(){

}

public FriendRecord(String name,String id){
    setName(name);
    setId(id);
}
public void setName(String name){
    setAttribute("name",name);
}
//public void setImgSrc(String imgSrc){
    //setAttribute("imgSrc",imgSrc);
//}
public void setId(String id){
    setAttribute("id",id);
}
    }





    public FriendRecord[] test(){
    FriendRecord[] fr = new FriendRecord[10];
    for(int i=0;i<10;i++){
        fr[i]=new FriendRecord("name"+i,String.valueOf(i*2));
    }
    return fr;

}

Am I doing it right? Only thing I want to be able to do here is to fill ListGrid with these records.And why does ListGrid only accepts JSObjects not Java objects?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:17:04+00:00Added an answer on June 13, 2026 at 2:17 am

    If it’s what you are doing I don’t think You can’t instantiate ListGridRecord on the server side since it’s just a javascript object. Your rpc is sending a serilizable objects and client side you are filling your ListGridRecord or YouClassDerivatedFromListGridRecord objects with data included in these objects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a class which extends View class. public class SplashScreen extends View
I have created a class which extends Gallery. There is no onCreate() method in
So I have created a global class which extends globalsettings: public class Global extends
In Java I have created the following class which extends ImageView to create a
I have crated a class which extends the ListFragment . I have one button
I am trying to create downloading progress. I have my class which extends AsyncTask:
I am using C#. I have created a class which can be included in
I am using the apache library. I have created a class which sends a
I have created a class library called AddServiceLibrary in which I have a method
I am writing a game which uses opengles. I have created my renderer class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.