Wednesday, December 18, 2024

RE: Getting 500 error from RPC call

I wrote a very simple class:

 

package com._3dmathpuzzles.slitherlink;

 

import java.io.Serializable;

 

public class TestPuzzle implements Serializable {

  private static final long serialVersionUID = 1L;

 

  /** Constructor */

  public TestPuzzle() {

    super();

  }

}

 

And updated my RPC call to use it and I still get this:

 

Exception while dispatching incoming RPC call

com.google.gwt.user.client.rpc.SerializationException:

Type 'com._3dmathpuzzles.slitherlink.TestPuzzle' was not assignable to

'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.

For security purposes, this type will not be serialized.: instance =

com._3dmathpuzzles.slitherlink.TestPuzzle@40a58058

 

I am not sure what to do about this.  My class implements Serializable
and has a no-arg constructor.

 

Thank you,

 Neil

 

--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!

No comments:

Post a Comment