ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Gura (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-6536) NPE on registerClassName() with MappedName
Date Wed, 11 Oct 2017 12:35:00 GMT

     [ 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)

Mime
View raw message