You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Sergey Chugunov (JIRA)" <ji...@apache.org> on 2017/08/24 16:43:01 UTC
[jira] [Created] (IGNITE-6180) Marshaller mappings are not restored
from disk on node start
Sergey Chugunov created IGNITE-6180:
---------------------------------------
Summary: 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
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)