ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Kuramshin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6536) NPE on registerClassName() with MappedName
Date Mon, 02 Oct 2017 08:39:00 GMT
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)

Mime
View raw message