You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2012/10/21 18:44:12 UTC
[jira] [Updated] (SLING-2626) NPE in
ResourceResolverImpl.getResource
[ https://issues.apache.org/jira/browse/SLING-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-2626:
--------------------------------
Description: The path parameter is not checked for null in either of the ResourceResolverImpl.getResource(String path) and ResourceResolverImpl.getResource(Resource base, String path), which makes the two methods throw NPE on several lines. (was: The {{path}} parameter is not checked for null in either of the {{ResourceResolverImpl.getResource(String path)}} and {{ResourceResolverImpl.getResource(Resource base, String path)}}, which makes the two methods throw NPE on several lines.)
> NPE in ResourceResolverImpl.getResource
> ---------------------------------------
>
> Key: SLING-2626
> URL: https://issues.apache.org/jira/browse/SLING-2626
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.0.0
> Reporter: Radu Cotescu
> Labels: patch
> Fix For: Resource Resolver 1.0.0
>
>
> The path parameter is not checked for null in either of the ResourceResolverImpl.getResource(String path) and ResourceResolverImpl.getResource(Resource base, String path), which makes the two methods throw NPE on several lines.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira