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

  • Home
  • SEARCH
  • 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 8424761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:05:35+00:00 2026-06-10T04:05:35+00:00

I am using gwt with gwt-platform and making a server call with the dispatch

  • 0

I am using gwt with gwt-platform and making a server call with the dispatch async. The issue I am running into is that the Action that I am using is not being marked as serializable or being added to the *.gwt.rpc file. When my code run I get a

com.google.gwt.user.client.rpc.SerializationException
at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:153)
at com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:125)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:183)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
at com.gwtplatform.dispatch.shared.DispatchService_Proxy.execute(DispatchService_Proxy.java:33)
at com.gwtplatform.dispatch.client.DefaultDispatchAsync.serviceExecute(DefaultDispatchAsync.java:126)
at com.gwtplatform.dispatch.client.DefaultDispatchAsync.execute(DefaultDispatchAsync.java:…

The Action:

public class FindCallsWithFilterAction extends UnsecuredActionImpl<FindCallsWithFilterResult> {

public FindCallsWithFilterAction() {

}

public Date getAfter() {
    return after;
}
public Date getBefore() {
    return before;
}
public Long getReferenceNumber() {
    return referenceNumber;
}
public String getUser() {
    return user;
}

public void setAfter(Date after) {
    this.after = after;
}
public void setBefore(Date before) {
    this.before = before;
}
public void setReferenceNumber(Long referenceNumber) {
    this.referenceNumber = referenceNumber;
}
public void setUser(String user) {
    this.user = user;
}

public boolean hasAfter(){
    return null != after;
}
public boolean hasBefore(){
    return null != before;
}
public boolean hasReferenceNumber(){
    return null != referenceNumber;
}
public boolean hasUser(){
    return null != user;
}


private Date after = null;
private Date before = null;
private Long referenceNumber = null;
private String user = null;

}

The Action has result and a Handler and the handler is bound in my server module. When I debug the code and look at the Serialization map that gwt generates this action and its result aren’t there event though this implements the isSerializable interface (in the super class, it still doesn’t work if I use Serializable or isSerializable at this level either). Also when I look into my *.gwt.rpc file the class is not in there either. I’m just stuck and was hoping some one would know what to do or what was wrong.

Update: I don’t know if it is relevant but I am using spring on the server.

  • 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-10T04:05:37+00:00Added an answer on June 10, 2026 at 4:05 am

    I found my problem. I had forgotten a no-arg constructor in my Result object, also I was using a Builder to create my action and for some reason that was causing the serialization issue once I stopped using the Builder pattern everything ran smoothly.

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

Sidebar

Related Questions

While developing an application using gwt in ecliplse crashed. Now the server is running
Using GWT , I have deployed my server into Tomcat . This works fine,
I know that most GWT based application now is being implemented using the MVP
I am using GWT to write a simple app. Ive divided the view into
I am using gwt-upload to upload an image to my server. In the response
I am building a facebook platform web app using GWT and hosting it on
I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I
Currently we are using GWT Platform with MVP architecture for our UI development. I
Using GWT with the MVP pattern , I'd like to have a place that
I am totally new to GWT and I am using GWT-Platform (http://code.google.com/p/gwt-platform/). My GWT

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.