Buggy code:
public class SessionBeanHomeProcessor extends AbstractComponentConfigProcessor { @ Override protected void processComponentConfig ( final DeploymentUnit deploymentUnit , final DeploymentPhaseContext phaseContext , final CompositeIndex index , final ComponentDescription componentDescription ) throws DeploymentUnitProcessingException { } private void configureHome ( final DeploymentPhaseContext phaseContext , final ComponentDescription componentDescription , final SessionBeanComponentDescription ejbComponentDescription , final EJBViewDescription homeView , final EJBViewDescription ejbObjectView ) { homeView . getConfigurators ( ) . add ( new ViewConfigurator ( ) { @ Override public void configure ( final DeploymentPhaseContext context , final ComponentConfiguration componentConfiguration , final ViewDescription description , final ViewConfiguration configuration ) throws DeploymentUnitProcessingException { final DeploymentReflectionIndex reflectionIndex = phaseContext . getDeploymentUnit ( ) . getAttachment ( REFLECTION_INDEX ) ; configuration . addClientPostConstructInterceptor ( Interceptors . getTerminalInterceptorFactory ( ) , TERMINAL_INTERCEPTOR ) ; configuration . addClientPreDestroyInterceptor ( Interceptors . getTerminalInterceptorFactory ( ) , InterceptorOrder . ClientPreDestroy . TERMINAL_INTERCEPTOR ) ; final ClassReflectionIndex < ? > classIndex = reflectionIndex . getClassIndex ( configuration . getViewClass ( ) ) ; for ( Method method : classIndex . getMethods ( ) ) { if ( method . getName ( ) . startsWith ( "create" ) ) { if ( ejbObjectView == null ) { throw new RuntimeException ( ( ( componentDescription . getComponentName ( ) ) + "<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>have<seq2seq4repair_space>a<seq2seq4repair_space>EJB<seq2seq4repair_space>2.x<seq2seq4repair_space>local<seq2seq4repair_space>interface" ) ) ; } final ViewDescription createdView = ejbObjectView ; Method initMethod = resolveInitMethod ( ejbComponentDescription , method ) ; final SessionBeanHomeInterceptorFactory factory = new SessionBeanHomeInterceptorFactory ( initMethod ) ; componentConfiguration . getStartDependencies ( ) . add ( new org . jboss . as . ee . component . DependencyConfigurator < ComponentStartService > ( ) { @ Override public void configureDependency ( final ServiceBuilder < ? > serviceBuilder , final ComponentStartService service ) throws DeploymentUnitProcessingException { serviceBuilder . addDependency ( createdView . getServiceName ( ) , ComponentView . class , factory . getViewToCreate ( ) ) ; } } ) ; configuration . addClientInterceptor ( method , CLIENT_DISPATCHER_INTERCEPTOR_FACTORY , CLIENT_DISPATCHER ) ; <START_BUG> configuration . addViewInterceptor ( method , factory , COMPONENT_DISPATCHER ) ; <END_BUG> } } } } ) ; } private Method resolveInitMethod ( final EJBComponentDescription description , final Method method ) throws DeploymentUnitProcessingException { } private Method resolveStatefulInitMethod ( final StatefulComponentDescription description , final Method method ) throws DeploymentUnitProcessingException { } }

Fix:
configuration . addViewInterceptor ( method , factory , HOME_CREATE_INTERCEPTOR ) ;