[ 
https://issues.apache.org/jira/browse/SLING-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-1275.
-----------------------------------


> Return value of ComponentContext#locateContext should be checked for null 
> value
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1275
>                 URL: https://issues.apache.org/jira/browse/SLING-1275
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons, Engine, Extensions, JCR, Servlets
>    Affects Versions: Servlets Post 2.0.4, JCR Resource 2.0.6, Engine 2.0.6, 
> Commons Scheduler 2.2.0, Adapter 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Servlets Post 2.1.0, JCR Resource 2.0.8, Engine 2.1.0, 
> Commons Scheduler 2.3.0, Adapter 2.0.6
>
>
> During binding of services using the ComponentContext#locateService method it 
> might happen that this method returns null (although this is very rare) - 
> However we should check against a null return value to prevent NPEs further 
> down

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to