Buggy code:
public class TimerServiceDeploymentProcessor implements DeploymentUnitProcessor { public static final ServiceName TIMER_SERVICE_NAME = JBOSS . append ( "ejb3" , "timer" ) ; private final ServiceName timerServiceThreadPool ; private final String defaultTimerDataStore ; public TimerServiceDeploymentProcessor ( final ServiceName timerServiceThreadPool , final String defaultTimerDataStore ) { } @ Override public void deploy ( final DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext . getDeploymentUnit ( ) ; final EEModuleDescription moduleDescription = deploymentUnit . getAttachment ( EE_MODULE_DESCRIPTION ) ; final Module module = deploymentUnit . getAttachment ( MODULE ) ; final EjbJarMetaData ejbJarMetaData = deploymentUnit . getAttachment ( EJB_JAR_METADATA ) ; ServiceName defaultTimerPersistenceService = SERVICE_NAME . append ( defaultTimerDataStore ) ; final Map < String , ServiceName > timerPersistenceServices = new HashMap < String , ServiceName > ( ) ; final TimerServiceRegistry timerServiceRegistry = ( EjbDeploymentMarker . isEjbDeployment ( deploymentUnit ) ) ? new TimerServiceRegistry ( ) : null ; if ( ( ejbJarMetaData != null ) && ( ( ejbJarMetaData . getAssemblyDescriptor ( ) ) != null ) ) { List < TimerServiceMetaData > timerService = ejbJarMetaData . getAssemblyDescriptor ( ) . getAny ( TimerServiceMetaData . class ) ; if ( timerService != null ) { for ( TimerServiceMetaData data : timerService ) { if ( data . getEjbName ( ) . equals ( "*" ) ) { defaultTimerPersistenceService = SERVICE_NAME . append ( data . getDataStoreName ( ) ) ; } else { timerPersistenceServices . put ( data . getEjbName ( ) , SERVICE_NAME . append ( data . getDataStoreName ( ) ) ) ; } } } } final ServiceName finalDefaultTimerPersistenceService = defaultTimerPersistenceService ; for ( final ComponentDescription componentDescription : moduleDescription . getComponentDescriptions ( ) ) { if ( componentDescription . isTimerServiceApplicable ( ) ) { if ( componentDescription . isTimerServiceRequired ( ) ) { final String deploymentName ; if ( ( ( moduleDescription . getDistinctName ( ) ) == null ) || ( ( moduleDescription . getDistinctName ( ) . length ( ) ) == 0 ) ) { deploymentName = ( ( moduleDescription . getApplicationName ( ) ) + "." ) + ( moduleDescription . getModuleName ( ) ) ; } else { deploymentName = ( ( ( ( moduleDescription . getApplicationName ( ) ) + "." ) + ( moduleDescription . getModuleName ( ) ) ) + "." ) + ( moduleDescription . getDistinctName ( ) ) ; } <START_BUG> ROOT_LOGGER . debug ( ( "Installing<seq2seq4repair_space>timer<seq2seq4repair_space>service<seq2seq4repair_space>for<seq2seq4repair_space>component<seq2seq4repair_space>" + ( componentDescription . getComponentName ( ) ) ) ) ; <END_BUG> componentDescription . getConfigurators ( ) . add ( new ComponentConfigurator ( ) { @ Override public void configure ( final DeploymentPhaseContext context , final ComponentDescription description , final ComponentConfiguration configuration ) throws DeploymentUnitProcessingException { final EJBComponentDescription ejbComponentDescription = ( ( EJBComponentDescription ) ( description ) ) ; final ServiceName invokerServiceName = ejbComponentDescription . getServiceName ( ) . append ( TimedObjectInvokerImpl . SERVICE_NAME ) ; final TimedObjectInvokerImpl invoker = new TimedObjectInvokerImpl ( deploymentName , module ) ; context . getServiceTarget ( ) . addService ( invokerServiceName , invoker ) . addDependency ( componentDescription . getCreateServiceName ( ) , EJBComponent . class , invoker . getEjbComponent ( ) ) . install ( ) ; final ServiceName serviceName = componentDescription . getServiceName ( ) . append ( TimerServiceImpl . SERVICE_NAME ) ; final TimerServiceImpl service = new TimerServiceImpl ( ejbComponentDescription . getScheduleMethods ( ) , serviceName , timerServiceRegistry ) ; final ServiceBuilder < TimerService > createBuilder = context . getServiceTarget ( ) . addService ( serviceName , service ) ; createBuilder . addDependency ( TimerServiceDeploymentProcessor . TIMER_SERVICE_NAME , Timer . class , service . getTimerInjectedValue ( ) ) ; createBuilder . addDependency ( componentDescription . getCreateServiceName ( ) , EJBComponent . class , service . getEjbComponentInjectedValue ( ) ) ; createBuilder . addDependency ( timerServiceThreadPool , ExecutorService . class , service . getExecutorServiceInjectedValue ( ) ) ; if ( timerPersistenceServices . containsKey ( ejbComponentDescription . getEJBName ( ) ) ) { createBuilder . addDependency ( timerPersistenceServices . get ( ejbComponentDescription . getEJBName ( ) ) , TimerPersistence . class , service . getTimerPersistence ( ) ) ; } else { createBuilder . addDependency ( finalDefaultTimerPersistenceService , TimerPersistence . class , service . getTimerPersistence ( ) ) ; } createBuilder . addDependency ( invokerServiceName , TimedObjectInvoker . class , service . getTimedObjectInvoker ( ) ) ; createBuilder . install ( ) ; ejbComponentDescription . setTimerService ( service ) ; configuration . getStartDependencies ( ) . add ( new org . jboss . as . ee . component . DependencyConfigurator < ComponentStartService > ( ) { @ Override public void configureDependency ( final ServiceBuilder < ? > serviceBuilder , final ComponentStartService service ) throws DeploymentUnitProcessingException { serviceBuilder . addDependency ( serviceName ) ; } } ) ; } } ) ; } else { componentDescription . getConfigurators ( ) . add ( new ComponentConfigurator ( ) { @ Override public void configure ( final DeploymentPhaseContext context , final ComponentDescription description , final ComponentConfiguration configuration ) throws DeploymentUnitProcessingException { final EJBComponentDescription ejbComponentDescription = ( ( EJBComponentDescription ) ( description ) ) ; final ServiceName nonFunctionalTimerServiceName = NonFunctionalTimerService . serviceNameFor ( ejbComponentDescription ) ; final NonFunctionalTimerService nonFunctionalTimerService ; if ( ejbComponentDescription instanceof StatefulComponentDescription ) { nonFunctionalTimerService = new NonFunctionalTimerService ( EjbLogger . ROOT_LOGGER . timerServiceMethodNotAllowedForSFSB ( ejbComponentDescription . getComponentName ( ) ) , timerServiceRegistry ) ; } else { nonFunctionalTimerService = new NonFunctionalTimerService ( EjbLogger . ROOT_LOGGER . ejbHasNoTimerMethods ( ) , timerServiceRegistry ) ; } context . getServiceTarget ( ) . addService ( nonFunctionalTimerServiceName , nonFunctionalTimerService ) . install ( ) ; ejbComponentDescription . setTimerService ( nonFunctionalTimerService ) ; configuration . getStartDependencies ( ) . add ( new org . jboss . as . ee . component . DependencyConfigurator < ComponentStartService > ( ) { @ Override public void configureDependency ( ServiceBuilder < ? > serviceBuilder , ComponentStartService service ) throws DeploymentUnitProcessingException { serviceBuilder . addDependency ( nonFunctionalTimerServiceName ) ; } } ) ; } } ) ; } } } }

Fix:
ROOT_LOGGER . debugf ( "Installing<seq2seq4repair_space>timer<seq2seq4repair_space>service<seq2seq4repair_space>for<seq2seq4repair_space>component<seq2seq4repair_space>%s" , componentDescription . getComponentName ( ) ) ;