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: Adapter 2.0.4, Commons Scheduler 2.2.0, Engine 2.0.6, JCR 
Resource 2.0.6, Servlets Post 2.0.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Servlets Post 2.0.6, JCR Resource 2.0.8, Engine 2.1.0, 
Commons Scheduler 2.2.2, 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to