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

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks like Enum not getting deserialized

I have implemented custom serialization as mentioned for embedded classes. I do not want to change the implementation as non-embedded as I think it should be resolvable

https://docs.gigaspaces.com/latest/dev-java/custom-serialization.html?Highlight=serialize

But for some reason I dont think the Enum are getting serialized and deserialized appropriately and I am getting the following error -

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SampleApp': Invocation of init method failed; nested exception is com.gigaspaces.lrmi.nio.UnMarshallingException: Failed to unmarsh :[RequestPacket: interface com.gigaspaces.internal.remoting.RemoteOperationsExecutor.executeOperation(com.gigaspaces.internal.remoting.RemoteOperationRequest null), isOneWay = false, isCallBack = false, Priority = REGULAR]

Below are the linked exceptions -

Caused by: com.gigaspaces.lrmi.nio.UnMarshallingException: Failed to unmarsh :[RequestPacket: interface com.gigaspaces.internal.remoting.RemoteOperationsExecutor.executeOperation(com.gigaspaces.internal.remoting.RemoteOperationRequest null), isOneWay = false, isCallBack = false, Priority = REGULAR]

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

Caused by: java.lang.ClassNotFoundException: com.example.Child (no security manager: RMI class loader disabled)

Deploying on docker - 14.5.0 image