[ 
https://issues.apache.org/jira/browse/SLING-2844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645348#comment-13645348
 ] 

Carsten Ziegeler commented on SLING-2844:
-----------------------------------------

The same applies for findResourceSuperType()
                
> ResourceUtil.isA() and findResourceSuperType()  should check for null resource
> ------------------------------------------------------------------------------
>
>                 Key: SLING-2844
>                 URL: https://issues.apache.org/jira/browse/SLING-2844
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>    Affects Versions: API 2.4.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: API 2.4.2
>
>
> ResourceUitl.isA() delegates to the resource resolver of the resource however 
> if the resource is null, this results in a NPE
> THe method should first check th resource for null and return false if it is 
> null

--
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

Reply via email to