Buggy code:
public class EjbIIOPDeploymentUnitProcessor implements DeploymentUnitProcessor { private final IIOPSettingsService settingsService ; public EjbIIOPDeploymentUnitProcessor ( final IIOPSettingsService settingsService ) { } @ Override public void deploy ( final DeploymentPhaseContext phaseContext ) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext . getDeploymentUnit ( ) ; <START_BUG> if ( ! ( JdkORBDeploymentMarker . isJacORBDeployment ( deploymentUnit ) ) ) { <END_BUG> return ; } final EEModuleDescription moduleDescription = deploymentUnit . getAttachment ( EE_MODULE_DESCRIPTION ) ; if ( ! ( EjbDeploymentMarker . isEjbDeployment ( deploymentUnit ) ) ) { return ; } Map < String , IIOPMetaData > iiopMetaDataMap = new HashMap < String , IIOPMetaData > ( ) ; final EjbJarMetaData ejbMetaData = deploymentUnit . getAttachment ( EJB_JAR_METADATA ) ; if ( ( ejbMetaData != null ) && ( ( ejbMetaData . getAssemblyDescriptor ( ) ) != null ) ) { List < IIOPMetaData > iiopMetaDatas = ejbMetaData . getAssemblyDescriptor ( ) . getAny ( IIOPMetaData . class ) ; if ( ( iiopMetaDatas != null ) && ( ( iiopMetaDatas . size ( ) ) > 0 ) ) { for ( IIOPMetaData metaData : iiopMetaDatas ) { iiopMetaDataMap . put ( metaData . getEjbName ( ) , metaData ) ; } } } final DeploymentClassIndex classIndex = deploymentUnit . getAttachment ( CLASS_INDEX ) ; final DeploymentReflectionIndex deploymentReflectionIndex = deploymentUnit . getAttachment ( REFLECTION_INDEX ) ; final Module module = deploymentUnit . getAttachment ( MODULE ) ; if ( moduleDescription != null ) { for ( final ComponentDescription componentDescription : moduleDescription . getComponentDescriptions ( ) ) { if ( componentDescription instanceof EJBComponentDescription ) { final EJBComponentDescription ejbComponentDescription = ( ( EJBComponentDescription ) ( componentDescription ) ) ; if ( ( ( ejbComponentDescription . getEjbRemoteView ( ) ) != null ) && ( ( ejbComponentDescription . getEjbHomeView ( ) ) != null ) ) { IIOPMetaData iiopMetaData = iiopMetaDataMap . get ( ejbComponentDescription . getEJBName ( ) ) ; if ( iiopMetaData == null ) { iiopMetaData = iiopMetaDataMap . get ( WILDCARD_BEAN_NAME ) ; } if ( ( iiopMetaData != null ) || ( settingsService . isEnabledByDefault ( ) ) ) { processEjb ( ejbComponentDescription , classIndex , deploymentReflectionIndex , module , phaseContext . getServiceTarget ( ) , iiopMetaData ) ; } } } } } } @ Override public void undeploy ( final DeploymentUnit context ) { } private void processEjb ( final EJBComponentDescription componentDescription , final DeploymentClassIndex classIndex , final DeploymentReflectionIndex deploymentReflectionIndex , final Module module , final ServiceTarget serviceTarget , final IIOPMetaData iiopMetaData ) { } private Method translateMethod ( final DeploymentReflectionIndex deploymentReflectionIndex , final OperationAnalysis op ) { } private static class IIOPInterceptorViewConfigurator implements ViewConfigurator { @ Override public void configure ( final DeploymentPhaseContext context , final ComponentConfiguration componentConfiguration , final ViewDescription description , final ViewConfiguration configuration ) throws DeploymentUnitProcessingException { } } }

Fix:
if ( ! ( JdkORBDeploymentMarker . isJdkORBDeployment ( deploymentUnit ) ) ) {