Buggy code:
public class ManagedDomainDeployableContainer extends CommonDomainDeployableContainer < ManagedDomainContainerConfiguration > { private static final String CONFIG_PATH = "//domain//configuration//" ; private final Logger log = Logger . getLogger ( ManagedDomainDeployableContainer . class . getName ( ) ) ; private Thread shutdownThread ; private Process process ; @ Override public Class < ManagedDomainContainerConfiguration > getConfigurationClass ( ) { } @ Override protected void startInternal ( ) throws LifecycleException { } @ Override protected void waitForStart ( Domain domain , ManagementClient client ) throws LifecycleException { } @ Override protected void stopInternal ( ) throws LifecycleException { } private List < String > createCommandLine ( ManagedDomainContainerConfiguration config ) throws Exception { } private static boolean processHasDied ( final Process process ) { } private boolean isServerRunning ( ) { } private void failDueToRunning ( ) throws LifecycleException { <START_BUG> throw new LifecycleException ( ( "The<seq2seq4repair_space>server<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>running!<seq2seq4repair_space>" + ( ( ( ( "Managed<seq2seq4repair_space>containers<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>support<seq2seq4repair_space>connecting<seq2seq4repair_space>to<seq2seq4repair_space>running<seq2seq4repair_space>server<seq2seq4repair_space>instances<seq2seq4repair_space>due<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>" + "possible<seq2seq4repair_space>harmful<seq2seq4repair_space>effect<seq2seq4repair_space>of<seq2seq4repair_space>connecting<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>wrong<seq2seq4repair_space>server.<seq2seq4repair_space>Please<seq2seq4repair_space>stop<seq2seq4repair_space>server<seq2seq4repair_space>before<seq2seq4repair_space>running<seq2seq4repair_space>or<seq2seq4repair_space>" ) + "change<seq2seq4repair_space>to<seq2seq4repair_space>another<seq2seq4repair_space>type<seq2seq4repair_space>of<seq2seq4repair_space>container.\n" ) + "To<seq2seq4repair_space>disable<seq2seq4repair_space>this<seq2seq4repair_space>check<seq2seq4repair_space>and<seq2seq4repair_space>allow<seq2seq4repair_space>Arquillian<seq2seq4repair_space>to<seq2seq4repair_space>connect<seq2seq4repair_space>to<seq2seq4repair_space>a<seq2seq4repair_space>running<seq2seq4repair_space>server,<seq2seq4repair_space>" ) + "set<seq2seq4repair_space>allowConnectingToRunningServer<seq2seq4repair_space>to<seq2seq4repair_space>true<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>container<seq2seq4repair_space>configuration" ) ) ) ; <END_BUG> } private int destroyProcess ( ) { } private void waitForAutoStartServersToStart ( Domain domain , ManagementClient client ) { } private class ConsoleConsumer implements Runnable { @ Override public void run ( ) { } } }

Fix:
throw new LifecycleException ( ( "The<seq2seq4repair_space>server<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>running!<seq2seq4repair_space>" + ( ( ( ( "Managed<seq2seq4repair_space>containers<seq2seq4repair_space>do<seq2seq4repair_space>not<seq2seq4repair_space>support<seq2seq4repair_space>connecting<seq2seq4repair_space>to<seq2seq4repair_space>running<seq2seq4repair_space>server<seq2seq4repair_space>instances<seq2seq4repair_space>due<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>" + "possible<seq2seq4repair_space>harmful<seq2seq4repair_space>effect<seq2seq4repair_space>of<seq2seq4repair_space>connecting<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>wrong<seq2seq4repair_space>server.<seq2seq4repair_space>Please<seq2seq4repair_space>stop<seq2seq4repair_space>server<seq2seq4repair_space>before<seq2seq4repair_space>running<seq2seq4repair_space>or<seq2seq4repair_space>" ) + "change<seq2seq4repair_space>to<seq2seq4repair_space>another<seq2seq4repair_space>type<seq2seq4repair_space>of<seq2seq4repair_space>container.\n" ) + "To<seq2seq4repair_space>disable<seq2seq4repair_space>this<seq2seq4repair_space>check<seq2seq4repair_space>and<seq2seq4repair_space>allow<seq2seq4repair_space>Arquillian<seq2seq4repair_space>to<seq2seq4repair_space>connect<seq2seq4repair_space>to<seq2seq4repair_space>a<seq2seq4repair_space>running<seq2seq4repair_space>server,<seq2seq4repair_space>" ) + "set<seq2seq4repair_space>allowConnectingToRunningServer<seq2seq4repair_space>to<seq2seq4repair_space>true<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>container<seq2seq4repair_space>configuration" ) ) ) ;