Buggy code:
public class ManagedBeanAnnotationProcessor implements DeploymentUnitProcessor { static final DotName MANAGED_BEAN_ANNOTATION_NAME = DotName . createSimple ( ManagedBean . class . getName ( ) ) ; private static final Logger logger = Logger . getLogger ( ManagedBeanAnnotationProcessor . class ) ; public void deploy ( DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext . getDeploymentUnit ( ) ; final EEModuleDescription moduleDescription = deploymentUnit . getAttachment ( EE_MODULE_DESCRIPTION ) ; final EEApplicationClasses applicationClasses = deploymentUnit . getAttachment ( EE_APPLICATION_CLASSES_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 ) ) ; if ( ! ( ManagedBeanAnnotationProcessor . assertManagedBeanClassValidity ( classInfo ) ) ) { continue ; } 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 , deploymentUnit . getServiceName ( ) , applicationClasses ) ; <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 . addClientPostConstructInterceptor ( new ManagedBeanCreateInterceptorFactory ( contextKey ) , INSTANCE_CREATE ) ; final ManagedBeanAssociatingInterceptorFactory associatingInterceptorFactory = new ManagedBeanAssociatingInterceptorFactory ( contextKey ) ; configuration . addClientInterceptor ( associatingInterceptorFactory , ASSOCIATING_INTERCEPTOR ) ; configuration . addClientPreDestroyInterceptor ( new ManagedBeanDestroyInterceptorFactory ( contextKey ) , INSTANCE_DESTROY ) ; } } ) ; viewDescription . getBindingNames ( ) . addAll ( Arrays . asList ( ( "java:module//" + beanName ) , ( ( ( "java:app//" + ( moduleDescription . getModuleName ( ) ) ) + "//" ) + beanName ) ) ) ; componentDescription . getViews ( ) . add ( viewDescription ) ; moduleDescription . addComponent ( componentDescription ) ; EEResourceReferenceProcessorRegistry . registerResourceReferenceProcessor ( new ManagedBeanResourceReferenceProcessor ( beanClassName ) ) ; } } public void undeploy ( DeploymentUnit context ) { } private static boolean assertManagedBeanClassValidity ( final ClassInfo managedBeanClass ) { } }

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