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

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

     [ https://issues.apache.org/jira/browse/IGNITE-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Gura resolved IGNITE-6536.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: Sergey Chugunov
>             Fix For: 2.4
>
>
> {{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)