Hi,

In a client node that runs in a two server nodes cluster I get that
error at first value that is read from an Ignite cache:

org.apache.ignite.binary.BinaryInvalidTypeException: Requesting
mapping from grid failed for [platformId=0, typeId=-1293425677]
at 
org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:707)
at 
org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1757)
at 
org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716)
at 
org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:798)
at 
org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:143)

In all the nodes Ignite is embedded in Java applications running Java
11, Spring 5 and Ignite 2.7. The server nodes are Tomcats and the
client node an Spring Boot app.
All the nodes have a similar classpath including the classes that are
put in cache.

That problem happens in an environment and doesn't happen in another
with "apparently" with the same configuration. I tried to remote debug
and compare what diverges between working and failing environments.
And I've seen that in
org.apache.ignite.internal.binary.BinaryContext#descriptorForTypeId in
the line that does:

BinaryClassDescriptor desc = predefinedTypes.get(typeId);

In the working environment the predefinedTypes had a value for the
typeId, and in the failing one doesn't.
I don't have a lot of experience/knowledge of the Ignite internals.
Any help or indication to point where to investigate or possible
causes of the error will be very helpful.
A lot of thanks in advance,

-- 
Joan Jesús Pujol Espinar

Reply via email to