Buggy code:
public class BoundedQueueThreadPoolAdd implements OperationStepHandler , DescriptionProvider { public static final BoundedQueueThreadPoolAdd INSTANCE = new BoundedQueueThreadPoolAdd ( ) ; public void execute ( OperationContext context , ModelNode operation ) throws OperationFailedException { final BoundedOperationParameters params = ThreadsSubsystemThreadPoolOperationUtils . parseBoundedThreadPoolOperationParameters ( operation ) ; final PathAddress address = PathAddress . pathAddress ( operation . require ( OP_ADDR ) ) ; final String name = address . getLastElement ( ) . getValue ( ) ; final ModelNode model = context . readModelForUpdate ( EMPTY_ADDRESS ) ; model . get ( NAME ) . set ( name ) ; if ( ( params . getThreadFactory ( ) ) != null ) { model . get ( CommonAttributes . THREAD_FACTORY ) . set ( params . getThreadFactory ( ) ) ; } if ( ( ( params . getProperties ( ) ) != null ) && ( ( params . getProperties ( ) . asList ( ) . size ( ) ) > 0 ) ) { model . get ( CommonAttributes . PROPERTIES ) . set ( params . getProperties ( ) ) ; } if ( ( params . getMaxThreads ( ) ) != null ) { model . get ( CommonAttributes . MAX_THREADS ) . set ( operation . get ( CommonAttributes . MAX_THREADS ) ) ; } if ( ( params . getKeepAliveTime ( ) ) != null ) { model . get ( CommonAttributes . KEEPALIVE_TIME ) . set ( operation . get ( CommonAttributes . KEEPALIVE_TIME ) ) ; } model . get ( CommonAttributes . BLOCKING ) . set ( params . isBlocking ( ) ) ; if ( ( params . getHandoffExecutor ( ) ) != null ) { model . get ( CommonAttributes . HANDOFF_EXECUTOR ) . set ( params . getHandoffExecutor ( ) ) ; } model . get ( CommonAttributes . ALLOW_CORE_TIMEOUT ) . set ( params . isAllowCoreTimeout ( ) ) ; if ( ( params . getQueueLength ( ) ) != null ) { model . get ( CommonAttributes . QUEUE_LENGTH ) . set ( operation . get ( CommonAttributes . QUEUE_LENGTH ) ) ; } else { <START_BUG> throw new OperationFailedException ( new ModelNode ( ) . set ( ( ( "Parameter<seq2seq4repair_space>" + ( CommonAttributes . QUEUE_LENGTH ) ) + "<seq2seq4repair_space>may<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>null<seq2seq4repair_space>" ) ) ) ; <END_BUG> } if ( ( params . getCoreThreads ( ) ) != null ) { model . get ( CommonAttributes . CORE_THREADS ) . set ( operation . get ( CommonAttributes . CORE_THREADS ) ) ; } if ( ( context . getType ( ) ) == ( Type . SERVER ) ) { context . addStep ( new OperationStepHandler ( ) { public void execute ( OperationContext context , ModelNode operation ) { final ServiceVerificationHandler verificationHandler = new ServiceVerificationHandler ( ) ; ServiceTarget target = context . getServiceTarget ( ) ; final int coreThreads = ( ( params . getCoreThreads ( ) ) == null ) ? params . getMaxThreads ( ) . getScaledCount ( ) : params . getCoreThreads ( ) . getScaledCount ( ) ; final ServiceName serviceName = ThreadsServices . executorName ( params . getName ( ) ) ; final BoundedQueueThreadPoolService service = new BoundedQueueThreadPoolService ( coreThreads , params . getMaxThreads ( ) . getScaledCount ( ) , params . getQueueLength ( ) . getScaledCount ( ) , params . isBlocking ( ) , params . getKeepAliveTime ( ) , params . isAllowCoreTimeout ( ) ) ; final ServiceBuilder < ExecutorService > serviceBuilder = target . addService ( serviceName , service ) ; ThreadsSubsystemThreadPoolOperationUtils . addThreadFactoryDependency ( params . getThreadFactory ( ) , serviceName , serviceBuilder , service . getThreadFactoryInjector ( ) , target , ( ( params . getName ( ) ) + "-threads" ) ) ; serviceBuilder . addListener ( verificationHandler ) ; serviceBuilder . install ( ) ; context . addStep ( verificationHandler , VERIFY ) ; if ( ( context . completeStep ( ) ) == ( ResultAction . ROLLBACK ) ) { context . removeService ( serviceName ) ; } } } , RUNTIME ) ; } context . completeStep ( ) ; } @ Override public ModelNode getModelDescription ( Locale locale ) { } }

Fix:
throw new OperationFailedException ( new ModelNode ( ) . set ( ( ( "Parameter<seq2seq4repair_space>" + ( CommonAttributes . QUEUE_LENGTH ) ) + "<seq2seq4repair_space>may<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>null." ) ) ) ;