[ 
https://issues.apache.org/jira/browse/GEODE-10093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499694#comment-17499694
 ] 

Jacob Barrett commented on GEODE-10093:
---------------------------------------

Changes made in GEODE-8217 exposed incorrect handling of {{null}} values in 
{{DeltaSession.setAttribute}}.

> 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, 1.16.0
>            Reporter: Benjamin P Ross
>            Assignee: Benjamin P Ross
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>
> 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)

Reply via email to