You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/04/30 09:32:16 UTC

[jira] [Created] (SLING-2844) ResourceUtil.isA() should check for null resource

Carsten Ziegeler created SLING-2844:
---------------------------------------

             Summary: ResourceUtil.isA() 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