[
https://issues.apache.org/jira/browse/SLING-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-668.
-------------------------------------
Resolution: Fixed
Fix Version/s: Servlets Post 2.0.4
Applied your patch in Rev. 699297. Thanks for providing it.
If this resolves your issue, please close this. Thanks.
> SlingPostServlet fails with NPE when posting to root node
> ---------------------------------------------------------
>
> Key: SLING-668
> URL: https://issues.apache.org/jira/browse/SLING-668
> Project: Sling
> Issue Type: Bug
> Components: Servlets Post
> Affects Versions: Servlets Post 2.0.2
> Reporter: Alexander Klimetschek
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: Servlets Post 2.0.4
>
> Attachments: SLING-668.patch
>
>
> If a POST to / is handled by the SlingPostServlet, it will fail with an NPE
> because AbstractSlingPostOperation tries to externalize the parent path
> (which is null for the root node) for setting the parent location of the
> response.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.