Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-10093

DeltaSession getAttribute method logs an NPE and returns unserialized value when called on attribute with null value

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Sarm Kahel Benjamin P Ross
              Sarm Kahel Benjamin P Ross
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: