NullPointerException in DependentScopedBeanInterceptorHandler when it has a 
NullCreationalContext (normally from a EE component).
---------------------------------------------------------------------------------------------------------------------------------

                 Key: OWB-450
                 URL: https://issues.apache.org/jira/browse/OWB-450
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0-alpha-2
            Reporter: Joe Bergmark
            Assignee: Joe Bergmark
             Fix For: 1.0.0-alpha-3


DependentScopedBeanInterceptorHandler throws a NullPointerException in the 
constructor if the creational context passed in returns null for getBean().  I 
believe when EE components create a null creational context getBean() will 
return null.  Section 11.3.3 of the CDI spec talks about passing in a null for 
non-contextual objects.

A quick fix will be to check for null before trying to compare the 
ccImpl.getBean() to the bean passed into the constructor

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