Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
Steps to reproduce
- Start node1 with persistence enabled.
- Put instance of custom class to cache so marshaller mapping for the class is created.
- Restart node1.
- Start node2 and ensure it joins the cluster with node1.
- Get instance from cache on node2 added on step #2.
Expected behavior
Instance is retrieved and deserialized successfully.
Actual behavior
Exception is thrown, no instance is retrieved from cache.
Caused by: java.lang.ClassNotFoundException: Unknown pair [platformId=0, typeId=-347776464] at org.apache.ignite.internal.MarshallerContextImpl.getClassName(MarshallerContextImpl.java:392) at org.apache.ignite.internal.MarshallerContextImpl.getClass(MarshallerContextImpl.java:342) at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:686) ... 15 more
JUnit test is attached to the ticket.