Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.0.3
-
None
Description
in org.apache.openejb.Injector, the method public static <T> T inject(final T object) calls cdiInjections(null, object) (line 59 in 7.0.3), which will immediately cause a NPE in private static <T> void cdiInjections(final BeanContext context, final T object) in the first statement if (context.getWebBeansContext() == null) (because context is null)