Alexandr Kuramshin created IGNITE-6536:
------------------------------------------
Summary: NPE on registerClassName() with MappedName
Key: IGNITE-6536
URL: https://issues.apache.org/jira/browse/IGNITE-6536
Project: Ignite
Issue Type: Bug
Components: binary
Affects Versions: 2.1
Reporter: Alexandr Kuramshin
Fix For: None
{{NullPointerException}} occurs in
{{org.apache.ignite.internal.MarshallerContextImpl#registerClassName}} on
trying to compare {{mappedName.className()}} of already existed {{typeId}}
mapping with the new one {{clsName}} has come as a parameter.
Actually
{{org.apache.ignite.internal.processors.marshaller.MappedName#className}} may
not be null but it was. So we should check {{clsName}} comes in {{MappedName}}
constructor, to prevent same NPEs in the future.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)