Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Why this exception : EntrySerializationException

I am getting the below exception when the application is deployed in tomcat. GS agent is running...

Caused by: com.j_spaces.core.EntrySerializationException: Failed to deserialize Entry com.example.Employee

I have deployed the space in two servers. I am getting this exception in one server other one is running fine with the same code...

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=4074]{quote}

asked 2013-05-06 15:02:05 -0500

get4gopim gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Are you sure all com.example.Employee fields are serializable?

answered 2013-05-06 15:11:38 -0500

shay hassidim gravatar image
edit flag offensive delete link more


I have a Employee class which is serializable and inside that i am using enum (EmpStatus).

Do you need to serialize the enum too?

Is that mandatory to have all the classes should be serializable ?

get4gopim gravatar imageget4gopim ( 2013-05-06 15:33:33 -0500 )edit

The space class does need to be serializable, but all its fields (the ones that got getters/setters or annotated with the @SpaceProperty when having the ncludeProperties.EXPLICIT specified as part of the @SpaceClass attributes) should be serializable.

Are you sure all clients have the same GigaSpaces libraries in their classpath?

shay hassidim gravatar imageshay hassidim ( 2013-05-06 15:42:38 -0500 )edit

Can you please provide what is wrong here. I am using this ssame pojo to my marshalling also so I have @Xml annotations.

public class Employee implements Serializable {

private LPNState lpnState; // I have getter & setter

private Long empId;

    public Long getEmpId() {
        return empId;

public enum EmpStatus {



get4gopim gravatar imageget4gopim ( 2013-05-06 16:04:02 -0500 )edit

where is the setter for the empId field?

shay hassidim gravatar imageshay hassidim ( 2013-05-06 16:06:26 -0500 )edit

Yes I have that too....

get4gopim gravatar imageget4gopim ( 2013-05-06 16:19:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-05-06 15:02:05 -0500

Seen: 395 times

Last updated: May 06 '13