You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexandr Kuramshin (JIRA)" <ji...@apache.org> on 2017/10/02 08:39:00 UTC

[jira] [Created] (IGNITE-6536) NPE on registerClassName() with MappedName

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)