Felix Meschberger created SLING-4007:
----------------------------------------

             Summary: [POST] Prevent NPE if no Session is available
                 Key: SLING-4007
                 URL: https://issues.apache.org/jira/browse/SLING-4007
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Post 2.3.6
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger


If the request has no Session available, a NullPointerException is thrown on 
line 285 of the SlingPropertyValueHandler class since 
ResourceResolver.adaptTo(Session.class) returns null which is not checked. 
(There is a TODO comment already, sigh...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to