Buggy code:
public class ManagedBeanAnnotationProcessor implements DeploymentUnitProcessor { static final DotName MANAGED_BEAN_ANNOTATION_NAME = DotName . createSimple ( ManagedBean . class . getName ( ) ) ; public void deploy ( DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext . getDeploymentUnit ( ) ; final EEModuleDescription moduleDescription = deploymentUnit . getAttachment ( EE_MODULE_DESCRIPTION ) ; final CompositeIndex compositeIndex = deploymentUnit . getAttachment ( COMPOSITE_ANNOTATION_INDEX ) ; if ( compositeIndex == null ) { return ; } final List < AnnotationInstance > instances = compositeIndex . getAnnotations ( ManagedBeanAnnotationProcessor . MANAGED_BEAN_ANNOTATION_NAME ) ; if ( ( instances == null ) || ( instances . isEmpty ( ) ) ) { return ; } for ( AnnotationInstance instance : instances ) { AnnotationTarget target = instance . target ( ) ; if ( ! ( target instanceof ClassInfo ) ) { throw new DeploymentUnitProcessingException ( ( "The<seq2seq4repair_space>ManagedBean<seq2seq4repair_space>annotation<seq2seq4repair_space>is<seq2seq4repair_space>only<seq2seq4repair_space>allowed<seq2seq4repair_space>at<seq2seq4repair_space>the<seq2seq4repair_space>class<seq2seq4repair_space>level:<seq2seq4repair_space>" + target ) ) ; } final ClassInfo classInfo = ( ( ClassInfo ) ( target ) ) ; final String beanClassName = classInfo . name ( ) . toString ( ) ; final AnnotationValue nameValue = instance . value ( ) ; final String beanName = ( ( nameValue == null ) || ( nameValue . asString ( ) . isEmpty ( ) ) ) ? beanClassName : nameValue . asString ( ) ; <START_BUG> final ComponentDescription componentDescription = new ComponentDescription ( beanName , beanClassName , moduleDescription , moduleDescription . getClassByName ( beanClassName ) , deploymentUnitServiceName ) ; <END_BUG> ViewDescription viewDescription = new ViewDescription ( componentDescription , beanClassName ) ; viewDescription . getConfigurators ( ) . addFirst ( new ViewConfigurator ( ) { public void configure ( final DeploymentPhaseContext context , final ComponentConfiguration componentConfiguration , final ViewDescription description , final ViewConfiguration configuration ) throws DeploymentUnitProcessingException { final Object contextKey = new Object ( ) ; configuration . getViewPostConstructInterceptors ( ) . addFirst ( new ManagedBeanCreateInterceptorFactory ( contextKey ) ) ; final ManagedBeanAssociatingInterceptorFactory associatingInterceptorFactory = new ManagedBeanAssociatingInterceptorFactory ( contextKey ) ; for ( Method method : configuration . getProxyFactory ( ) . getCachedMethods ( ) ) { configuration . getViewInterceptorDeque ( method ) . addFirst ( associatingInterceptorFactory ) ; } configuration . getViewPreDestroyInterceptors ( ) . addFirst ( new ManagedBeanCreateInterceptorFactory ( contextKey ) ) ; } } ) ; viewDescription . getBindingNames ( ) . addAll ( Arrays . asList ( ( "java:module//" + beanName ) , ( ( ( "java:app//" + ( moduleDescription . getModuleName ( ) ) ) + "//" ) + beanName ) ) ) ; componentDescription . getViews ( ) . add ( viewDescription ) ; moduleDescription . addComponent ( componentDescription ) ; } } public void undeploy ( DeploymentUnit context ) { } }

Fix:
final ComponentDescription componentDescription = new ComponentDescription ( beanName , beanClassName , moduleDescription , moduleDescription . getClassByName ( beanClassName ) , deploymentUnit . getServiceName ( ) ) ;