Buggy code:
public class ForgeDeployableContainer implements DeployableContainer < ForgeContainerConfiguration > { @ Inject private Instance < Deployment > deploymentInstance ; private final FurnaceHolder furnaceHolder = new FurnaceHolder ( ) ; private ForgeDeployableContainer . ForgeRunnable runnable ; private File addonDir ; private MutableAddonRepository repository ; private final Map < String , MutableAddonRepository > deploymentRepositories = new ConcurrentHashMap < String , MutableAddonRepository > ( ) ; private final Map < Deployment , AddonId > deployedAddons = new HashMap < Deployment , AddonId > ( ) ; private Thread thread ; private boolean undeploying = false ; private ForgeContainerConfiguration configuration ; @ Override public ProtocolMetaData deploy ( final Archive < ? > archive ) throws DeploymentException { } private < T > T waitForConfigurationRescan ( Callable < T > action ) { } private MutableAddonRepository selectTargetRepository ( Archive < ? > archive ) { } private void waitForDeploymentCompletion ( Deployment deployment , final AddonId addonToDeploy ) throws DeploymentException { } private void deployToRepository ( Archive < ? > archive , MutableAddonRepository repository , final AddonId addonToDeploy ) { } private void cleanup ( ) { } @ Override public void deploy ( Descriptor descriptor ) throws DeploymentException { } private AddonId getAddonEntry ( Deployment deployment ) { } @ Override public Class < ForgeContainerConfiguration > getConfigurationClass ( ) { } @ Override public ProtocolDescription getDefaultProtocol ( ) { } @ Override public void setup ( ForgeContainerConfiguration configuration ) { } @ Override public void start ( ) throws LifecycleException { } private void startContainer ( ) { } private void initContainer ( ) { } @ Override public void stop ( ) throws LifecycleException { } private void stopContainer ( ) { } @ Override public void undeploy ( Archive < ? > archive ) throws DeploymentException { undeploying = true ; AddonId addonToUndeploy = getAddonEntry ( deploymentInstance . get ( ) ) ; AddonRegistry registry = runnable . getForge ( ) . getAddonRegistry ( ) ; <START_BUG> System . out . println ( ( ( "Furance<seq2seq4repair_space>test<seq2seq4repair_space>harness<seq2seq4repair_space>is<seq2seq4repair_space>undeploying<seq2seq4repair_space>[" + addonToUndeploy ) + "]<seq2seq4repair_space>...<seq2seq4repair_space>" ) ) ; <END_BUG> try { Addon addonToStop = registry . getAddon ( addonToUndeploy ) ; if ( addonToStop . getStatus ( ) . isLoaded ( ) ) ( ( MutableAddonRepository ) ( addonToStop . getRepository ( ) ) ) . disable ( addonToUndeploy ) ; Addons . waitUntilStopped ( addonToStop ) ; } catch ( Exception e ) { throw new DeploymentException ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>undeploy<seq2seq4repair_space>" + addonToUndeploy ) , e ) ; } finally { repository . undeploy ( addonToUndeploy ) ; } } @ Override public void undeploy ( Descriptor descriptor ) throws DeploymentException { } private class ForgeRunnable implements Runnable { private final Furnace furnace ; private final ClassLoader loader ; public ForgeRunnable ( ClassLoader loader ) { } public Furnace getForge ( ) { } @ Override public void run ( ) { } public void stop ( ) { } } @ Override public String toString ( ) { } }

Fix:
System . out . println ( ( ( "Furnace<seq2seq4repair_space>test<seq2seq4repair_space>harness<seq2seq4repair_space>is<seq2seq4repair_space>undeploying<seq2seq4repair_space>[" + addonToUndeploy ) + "]<seq2seq4repair_space>...<seq2seq4repair_space>" ) ) ;