ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Chugunov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6180) Marshaller mappings are not restored from disk on node start
Date Thu, 24 Aug 2017 16:43:01 GMT
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.
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.

This message was sent by Atlassian JIRA

View raw message