Benjamin P Ross created GEODE-10093:
---------------------------------------

             Summary: 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.14.3, 1.13.7, 1.12.7, 1.15.0
            Reporter: Benjamin P Ross


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