-
Bug
-
Resolution: Done
-
Major
-
3.0.5.Final
-
None
-
None
CDI.current() should produce IllegalStateException when there is no active container at the moment.
Instead on the second call in the sample application CDI.current() returns null and that results in NPE.
The problem is in the implementation of WeldSEProvider.getCDI()
It should not return null if there is no active container. Instead it should produce IllegalStateException
- is blocked by
-
CDI-743 NPE when trying to get BeanManager after container was closed
- Closed