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 7821991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:48:18+00:00 2026-06-02T07:48:18+00:00

You use a CustomFieldSerializer to define custom serialisation and deserialisation for an object. It’s

  • 0

You use a CustomFieldSerializer to define custom serialisation and deserialisation for an object.

It’s ostensibly easy to define custom serialization for your class Xxx:

  • create a class called Xxx_CustomFieldSerializer that extends CustomFieldSerializer<Xxx>,
  • implement abstract methods serializeInstance and deserializeInstance, and optionally instantiateInstance.

This generates a gazillion compile errors that boil down to the following:

subtype Custom Field Serializer 'Xxx_CustomFieldSerializer' does not define a deserialize method: 'public static void deserialize(SerializationStreamReader reader,Xxx instance)' (reached via Xxx)'

It wants you to create static methods that do exactly what the implemented methods do. Obviously one delegates to the other, but it means you can’t extract out all of this boilerplate for similar types Xxx.

Why? Is this just left over from an old version of GWT or something? Is there a way to avoid having to write all the extra stuff?

  • 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-02T07:48:19+00:00Added an answer on June 2, 2026 at 7:48 am

    Thanks to Thomas Broyer for finding this. It’s just a limitation in GWT.

    See: com.google.gwt.user.rebind.rpc.CustomFieldSerializerValidator

    See: http://code.google.com/p/google-web-toolkit/issues/detail?id=7331&thanks=7331&ts=1335182609

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

Sidebar

Related Questions

Use case: Wanna insert custom annotation to fields in java class generated by JAXB
Use case: class MyTask(Task): queue = 'default_queue' def run(self): # do work Normally I
use pthread_create to create limited number of threads running concurrently Successfully compile and run
Use case: You have 2-3 files displayed in your MacVim window(s). You press ctrl+Q
Use Memcache php class to interact with the memcached. At the beginning all works
USE Pooja GO ----Create TestTable CREATE TABLE TestTable(RtJobCode VARCHAR(20), RtProfCode smallint,RtTestCode smallint,ProfCode smallint,TestCode smallint)
use ThreadPool.QueueUserWorkItem (WaitCallback, Object) to start a thread with my target method and data.
Use paperclip for my images. Models: class Country < ActiveRecord::Base has_many :regions has_many :assets,
USE [Fk_Test2] GO /****** Object: Table [dbo].[Owners] Script Date: 08/20/2010 16:52:44 ******/ SET ANSI_NULLS
Use open syscall to write and create a file ,there's no attributes with the

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.