You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2022/03/18 17:26:00 UTC

[jira] [Closed] (GEODE-10093) DeltaSession getAttribute method logs an NPE and returns unserialized value when called on attribute with null value

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

Dick Cavender closed GEODE-10093.
---------------------------------

> DeltaSession getAttribute method logs an NPE and returns unserialized value when called on attribute with null value
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-10093
>                 URL: https://issues.apache.org/jira/browse/GEODE-10093
>             Project: Geode
>          Issue Type: Bug
>          Components: http session
>    Affects Versions: 1.12.2, 1.13.3, 1.14.0, 1.15.0
>            Reporter: Benjamin P Ross
>            Assignee: Benjamin P Ross
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>             Fix For: 1.12.9, 1.13.8, 1.14.4, 1.15.0
>
>
> Under certain circumstances, a null value can be set for an attribute which then throws an NPE when trying to add it to the local map during a getAttribute call on the session. Prior to 1.12.2 we were responding to this by removing the entry entirely from the local map which is consistent with what the base Session class for Catalina does, but starting with 1.12.2 onward this results in an error message being displayed and the serialized value being returned rather than the unserialized value.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)