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