Description
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