Buggy code:
public final class EmbeddedDeployableContainer extends CommonDeployableContainer < EmbeddedContainerConfiguration > { private static final String MODULE_ID_LOGMANAGER = "org.jboss.logmanager" ; private static final String MODULE_ID_VFS = "org.jboss.vfs" ; private static final String SYSPROP_KEY_CLASS_PATH = "java.class.path" ; private static final String SYSPROP_KEY_MODULE_PATH = "module.path" ; private static final String SYSPROP_KEY_BUNDLE_PATH = "jboss.bundles.dir" ; private static final String SYSPROP_KEY_LOGMANAGER = "java.util.logging.manager" ; private static final String SYSPROP_KEY_JBOSS_HOME_DIR = "jboss.home.dir" ; private static final String SYSPROP_VALUE_JBOSS_LOGMANAGER = "org.jboss.logmanager.LogManager" ; private StandaloneServerIndirection server ; @ Override public void setup ( final EmbeddedContainerConfiguration config ) { super . setup ( config ) ; final String modulePath = config . getModulePath ( ) ; final File modulesDir = new File ( modulePath ) ; if ( ! ( modulesDir . isDirectory ( ) ) ) { throw new IllegalStateException ( ( "Invalid<seq2seq4repair_space>modules<seq2seq4repair_space>directory:<seq2seq4repair_space>" + modulesDir ) ) ; } final ModuleLoader moduleLoader = EmbeddedDeployableContainer . createModuleLoader ( modulesDir ) ; final ModuleIdentifier vfsModuleID = ModuleIdentifier . create ( EmbeddedDeployableContainer . MODULE_ID_VFS ) ; final Module vfsModule ; try { vfsModule = moduleLoader . loadModule ( vfsModuleID ) ; } catch ( final ModuleLoadException mle ) { throw new RuntimeException ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>VFS<seq2seq4repair_space>module" , mle ) ; } Module . registerURLStreamHandlerFactoryModule ( vfsModule ) ; final String bundlePath = config . getBundlePath ( ) ; final File bundlesDir = new File ( bundlePath ) ; if ( ! ( bundlesDir . isDirectory ( ) ) ) { <START_BUG> throw new IllegalStateException ( ( "Invalid<seq2seq4repair_space>modules<seq2seq4repair_space>directory:<seq2seq4repair_space>" + modulesDir ) ) ; <END_BUG> } SecurityActions . setSystemProperty ( EmbeddedDeployableContainer . SYSPROP_KEY_BUNDLE_PATH , bundlePath ) ; final ModuleIdentifier logModuleId = ModuleIdentifier . create ( EmbeddedDeployableContainer . MODULE_ID_LOGMANAGER ) ; final Module logModule ; try { logModule = moduleLoader . loadModule ( logModuleId ) ; } catch ( final ModuleLoadException mle ) { throw new RuntimeException ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>logging<seq2seq4repair_space>module" , mle ) ; } final ModuleClassLoader logModuleClassLoader = logModule . getClassLoader ( ) ; final ClassLoader tccl = SecurityActions . getContextClassLoader ( ) ; try { SecurityActions . setContextClassLoader ( logModuleClassLoader ) ; SecurityActions . setSystemProperty ( EmbeddedDeployableContainer . SYSPROP_KEY_LOGMANAGER , EmbeddedDeployableContainer . SYSPROP_VALUE_JBOSS_LOGMANAGER ) ; final Class < ? > actualLogManagerClass = LogManager . getLogManager ( ) . getClass ( ) ; if ( actualLogManagerClass == ( LogManager . class ) ) { System . err . println ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>JBoss<seq2seq4repair_space>LogManager;<seq2seq4repair_space>the<seq2seq4repair_space>LogManager<seq2seq4repair_space>or<seq2seq4repair_space>Logging<seq2seq4repair_space>subsystem<seq2seq4repair_space>has<seq2seq4repair_space>likely<seq2seq4repair_space>been<seq2seq4repair_space>accessed<seq2seq4repair_space>prior<seq2seq4repair_space>to<seq2seq4repair_space>this<seq2seq4repair_space>initialization." ) ; } else { Module . setModuleLogger ( new JDKModuleLogger ( ) ) ; } } finally { SecurityActions . setContextClassLoader ( tccl ) ; } final File jbossHome = new File ( config . getJbossHome ( ) ) ; SecurityActions . setSystemProperty ( EmbeddedDeployableContainer . SYSPROP_KEY_JBOSS_HOME_DIR , jbossHome . getAbsolutePath ( ) ) ; this . server = new StandaloneServerIndirection ( moduleLoader , jbossHome ) ; } @ Override public Class < EmbeddedContainerConfiguration > getConfigurationClass ( ) { } @ Override protected void startInternal ( ) throws LifecycleException { } @ Override protected void stopInternal ( ) throws LifecycleException { } private static ModuleLoader createModuleLoader ( final File modulePath ) { } }

Fix:
throw new IllegalStateException ( ( "Invalid<seq2seq4repair_space>modules<seq2seq4repair_space>directory:<seq2seq4repair_space>" + bundlesDir ) ) ;