[ https://issues.apache.org/jira/browse/SLING-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-4007. -------------------------------------- Resolution: Fixed Fix Version/s: Servlets POST 2.3.8 Fixed in Rev. 1629608 > [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 > Fix For: Servlets POST 2.3.8 > > > 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)