Buggy code:
@ Override protected void populateModel ( ModelNode operation , ModelNode model ) throws OperationFailedException { } @ Override protected void performRuntime ( OperationContext context , ModelNode operation , ModelNode model , final ServiceVerificationHandler verificationHandler , final List < ServiceController < ? > > newControllers ) throws OperationFailedException { } public void validateModel ( final OperationContext context , String partitionManagerName , final ModelNode partitionManager ) throws OperationFailedException { } public void createPartitionManagerService ( final OperationContext context , String partitionManagerName , final ModelNode partitionManager , final ServiceVerificationHandler verificationHandler , final List < ServiceController < ? > > newControllers , boolean onlyValidate ) throws OperationFailedException { } private void configureIdentityStore ( OperationContext context , ServiceBuilder < PartitionManager > serviceBuilder , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > newControllers , PartitionManagerService partitionManagerService , String configurationName , NamedIdentityConfigurationBuilder namedIdentityConfigurationBuilder , ModelNode modelNode ) throws OperationFailedException { } private LDAPStoreConfigurationBuilder configureLDAPIdentityStore ( OperationContext context , ModelNode ldapIdentityStore , NamedIdentityConfigurationBuilder builder ) throws OperationFailedException { LDAPStoreConfigurationBuilder storeConfig = builder . stores ( ) . ldap ( ) ; ModelNode url = URL . resolveModelAttribute ( context , ldapIdentityStore ) ; ModelNode bindDn = BIND_DN . resolveModelAttribute ( context , ldapIdentityStore ) ; ModelNode bindCredential = BIND_CREDENTIAL . resolveModelAttribute ( context , ldapIdentityStore ) ; ModelNode baseDn = BASE_DN_SUFFIX . resolveModelAttribute ( context , ldapIdentityStore ) ; if ( url . isDefined ( ) ) { storeConfig . url ( url . asString ( ) ) ; } if ( bindDn . isDefined ( ) ) { storeConfig . bindDN ( bindDn . asString ( ) ) ; } if ( bindCredential . isDefined ( ) ) { storeConfig . bindCredential ( bindCredential . asString ( ) ) ; } if ( baseDn . isDefined ( ) ) { storeConfig . baseDN ( baseDn . asString ( ) ) ; } if ( ldapIdentityStore . hasDefined ( LDAP_STORE_MAPPING . getName ( ) ) ) { for ( Property mappingNode : ldapIdentityStore . get ( LDAP_STORE_MAPPING . getName ( ) ) . asPropertyList ( ) ) { ModelNode ldapMapping = mappingNode . getValue ( ) ; ModelNode classNameNode = CLASS_NAME . resolveModelAttribute ( context , ldapMapping ) ; ModelNode codeNode = CODE . resolveModelAttribute ( context , ldapMapping ) ; ModelNode moduleNode = MODULE . resolveModelAttribute ( context , ldapMapping ) ; String typeName ; if ( classNameNode . isDefined ( ) ) { typeName = classNameNode . asString ( ) ; } else if ( codeNode . isDefined ( ) ) { typeName = AttributedTypeEnum . forType ( codeNode . asString ( ) ) ; } else { throw ROOT_LOGGER . typeNotProvided ( LDAP_STORE_MAPPING . getName ( ) ) ; } LDAPMappingConfigurationBuilder storeMapping = storeConfig . mapping ( this . < AttributedType > loadClass ( moduleNode , typeName ) ) ; ModelNode relatesToNode = RELATES_TO . resolveModelAttribute ( context , ldapMapping ) ; if ( relatesToNode . isDefined ( ) ) { String relatesTo = AttributedTypeEnum . forType ( relatesToNode . asString ( ) ) ; if ( relatesTo == null ) { relatesTo = relatesToNode . asString ( ) ; } storeMapping . forMapping ( this . < AttributedType > loadClass ( moduleNode , relatesTo ) ) ; } else { String baseDN = BASE_DN . resolveModelAttribute ( context , ldapMapping ) . asString ( ) ; storeMapping . baseDN ( baseDN ) ; String objectClasses = OBJECT_CLASSES . resolveModelAttribute ( context , ldapMapping ) . asString ( ) ; for ( String objClass : objectClasses . split ( "," ) ) { if ( ! ( objClass . trim ( ) . isEmpty ( ) ) ) { storeMapping . objectClasses ( objClass ) ; } } ModelNode parentAttributeName = PARENT_ATTRIBUTE . resolveModelAttribute ( context , ldapMapping ) ; if ( parentAttributeName . isDefined ( ) ) { storeMapping . parentMembershipAttributeName ( parentAttributeName . asString ( ) ) ; } } if ( ldapMapping . hasDefined ( LDAP_STORE_ATTRIBUTE . getName ( ) ) ) { for ( Property attributeNode : ldapMapping . get ( LDAP_STORE_ATTRIBUTE . getName ( ) ) . asPropertyList ( ) ) { ModelNode attribute = attributeNode . getValue ( ) ; String name = NAME . resolveModelAttribute ( context , attribute ) . asString ( ) ; String ldapName = LDAP_NAME . resolveModelAttribute ( context , attribute ) . asString ( ) ; boolean readOnly = READ_ONLY . resolveModelAttribute ( context , attribute ) . asBoolean ( ) ; if ( readOnly ) { storeMapping . readOnlyAttribute ( name , ldapName ) ; } else { boolean isIdentifier = IS_IDENTIFIER . resolveModelAttribute ( context , attribute ) . asBoolean ( ) ; storeMapping . attribute ( name , ldapName , isIdentifier ) ; } } } } } else { <START_BUG> throw ROOT_LOGGER . idmNoSupportedTypesDefined ( ) ; <END_BUG> } return storeConfig ; } private IdentityStoreConfigurationBuilder < ? , ? > configureFileIdentityStore ( OperationContext context , ServiceBuilder < PartitionManager > serviceBuilder , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > newControllers , PartitionManagerService partitionManagerService , ModelNode resource , String configurationName , final NamedIdentityConfigurationBuilder builder ) throws OperationFailedException { } private JPAStoreSubsystemConfigurationBuilder configureJPAIdentityStore ( OperationContext context , ServiceBuilder < PartitionManager > serviceBuilder , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > newControllers , PartitionManagerService partitionManagerService , final ModelNode identityStore , String configurationName , final NamedIdentityConfigurationBuilder builder ) throws OperationFailedException { } private void configureSupportedTypes ( OperationContext context , ModelNode identityStore , IdentityStoreConfigurationBuilder storeConfig ) throws OperationFailedException { } @ SuppressWarnings ( { "unchecked" , "rawtypes" } ) private void configureCredentialHandlers ( OperationContext context , ModelNode identityStore , IdentityStoreConfigurationBuilder < ? , ? > storeConfig ) throws OperationFailedException { } private String toJndiName ( String jndiName ) { } private Module getModule ( ModelNode moduleNode ) { } @ SuppressWarnings ( "unchecked" ) private < T > Class < T > loadClass ( ModelNode moduleNode , String typeName ) { } }

Fix:
throw ROOT_LOGGER . idmLdapNoMappingDefined ( ) ;