This is probably an integration issue. The WeldTerminalListener has no BeanManager injected and NPE is thrown. Note that an integrator must register a WeldInitialListener for each WAR. And if the injection is not possible a WeldTerminalListener constructor with BeanManager can be used - see also
WELD-1874
. Also note that the reproducer MyApp.ear works fine on WildFly 10.
|