Buggy code:
public final class SarSubsystemAdd extends AbstractSubsystemAdd < SarSubsystemElement > { private static final long serialVersionUID = 7065406809630792436L ; public static final ServiceName SAR_DEPLOYMENT_CHAIN_SERVICE_NAME = SERVICE_NAME . append ( "sar" ) ; public static final long SAR_DEPLOYMENT_CHAIN_PRIORITY = ( JarDeploymentActivator . JAR_DEPLOYMENT_CHAIN_PRIORITY ) - 1000000L ; public SarSubsystemAdd ( ) { } protected < P > void applyUpdate ( final UpdateContext updateContext , final UpdateResultHandler < ? super Void , P > resultHandler , final P param ) { final BatchBuilder batchBuilder = updateContext . getBatchBuilder ( ) ; batchBuilder . addServiceValueIfNotExist ( DeploymentChainProviderService . SERVICE_NAME , new DeploymentChainProviderService ( ) ) ; final Value < DeploymentChain > deploymentChainValue = Values . immediateValue ( ( ( DeploymentChain ) ( new org . jboss . as . deployment . chain . DeploymentChainImpl ( SarSubsystemAdd . SAR_DEPLOYMENT_CHAIN_SERVICE_NAME . toString ( ) ) ) ) ) ; final DeploymentChainService deploymentChainService = new DeploymentChainService ( deploymentChainValue ) ; batchBuilder . addService ( SarSubsystemAdd . SAR_DEPLOYMENT_CHAIN_SERVICE_NAME , deploymentChainService ) . addDependency ( DeploymentChainProviderService . SERVICE_NAME , DeploymentChainProvider . class , new org . jboss . as . deployment . chain . DeploymentChainProviderInjector < DeploymentChain > ( deploymentChainValue , new SarDeploymentChainSelector ( ) , SarSubsystemAdd . SAR_DEPLOYMENT_CHAIN_PRIORITY ) ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ManifestAttachmentProcessor ( ) , PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ServiceActivatorDependencyProcessor ( ) , ServiceActivatorDependencyProcessor . PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ModuleDependencyProcessor ( ) , ModuleDependencyProcessor . PRIORITY ) ; <START_BUG> SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new NestedJarInlineProcessor ( ) , ModuleDependencyProcessor . PRIORITY ) ; <END_BUG> SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ModuleConfigProcessor ( ) , ModuleConfigProcessor . PRIORITY ) ; final InjectedValue < DeploymentModuleLoader > deploymentModuleLoaderValue = new InjectedValue < DeploymentModuleLoader > ( ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new org . jboss . as . deployment . module . DeploymentModuleLoaderProcessor ( deploymentModuleLoaderValue ) , DeploymentModuleLoaderProcessor . PRIORITY ) . addDependency ( DeploymentModuleLoaderService . SERVICE_NAME , DeploymentModuleLoader . class , deploymentModuleLoaderValue ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ModuleDeploymentProcessor ( ) , ModuleDeploymentProcessor . PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ServiceDeploymentParsingProcessor ( ) , ServiceDeploymentParsingProcessor . PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ModuleContextProcessor ( ) , ModuleContextProcessor . PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ServiceActivatorProcessor ( ) , ServiceActivatorProcessor . PRIORITY ) ; SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new ParsedServiceDeploymentProcessor ( ) , ParsedServiceDeploymentProcessor . PRIORITY ) ; } protected SarSubsystemElement createSubsystemElement ( ) { } private static < T extends DeploymentUnitProcessor > BatchServiceBuilder < T > addDeploymentProcessor ( final BatchBuilder batchBuilder , final T deploymentUnitProcessor , final long priority ) { } }

Fix:
SarSubsystemAdd . addDeploymentProcessor ( batchBuilder , new NestedJarInlineProcessor ( ) , NestedJarInlineProcessor . PRIORITY ) ;