[
https://issues.apache.org/jira/browse/IGNITE-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Chugunov updated IGNITE-6180:
------------------------------------
Attachment: BinaryOnJoinedNodeTest.java
> Marshaller mappings are not restored from disk on node start
> ------------------------------------------------------------
>
> Key: IGNITE-6180
> URL: https://issues.apache.org/jira/browse/IGNITE-6180
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Sergey Chugunov
> Assignee: Sergey Chugunov
> Fix For: 2.2
>
> Attachments: BinaryOnJoinedNodeTest.java
>
>
> h2. 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.
> h2. Expected behavior
> Instance is retrieved and deserialized successfully.
> h2. Actual behavior
> Exception is thrown, no instance is retrieved from cache.
> {noformat}
> 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
> {noformat}
> JUnit test is attached to the ticket.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)