Buggy code:
public class WebExtension implements Extension { public static final String SUBSYSTEM_NAME = "web" ; public static final PathElement SUBSYSTEM_PATH = PathElement . pathElement ( SUBSYSTEM , WebExtension . SUBSYSTEM_NAME ) ; protected static final PathElement CONNECTOR_PATH = PathElement . pathElement ( CONNECTOR ) ; protected static final PathElement SSL_PATH = PathElement . pathElement ( CONFIGURATION , SSL ) ; protected static final PathElement SSL_ALIAS = PathElement . pathElement ( SSL , CONFIGURATION ) ; protected static final PathElement HOST_PATH = PathElement . pathElement ( VIRTUAL_SERVER ) ; protected static final PathElement JSP_CONFIGURATION_PATH = PathElement . pathElement ( CONFIGURATION , JSP_CONFIGURATION ) ; protected static final PathElement STATIC_RESOURCES_PATH = PathElement . pathElement ( CONFIGURATION , STATIC_RESOURCES ) ; protected static final PathElement CONTAINER_PATH = PathElement . pathElement ( CONFIGURATION , CONTAINER ) ; protected static final PathElement ACCESS_LOG_PATH = PathElement . pathElement ( CONFIGURATION , ACCESS_LOG ) ; protected static final PathElement ACCESS_LOG_ALIAS = PathElement . pathElement ( ACCESS_LOG , CONFIGURATION ) ; protected static final PathElement REWRITE_PATH = PathElement . pathElement ( REWRITE ) ; protected static final PathElement SSO_PATH = PathElement . pathElement ( CONFIGURATION , SSO ) ; protected static final PathElement SSO_ALIAS = PathElement . pathElement ( SSO , CONFIGURATION ) ; protected static final PathElement DIRECTORY_PATH = PathElement . pathElement ( SETTING , DIRECTORY ) ; protected static final PathElement DIRECTORY_ALIAS = PathElement . pathElement ( DIRECTORY , CONFIGURATION ) ; protected static final PathElement REWRITECOND_PATH = PathElement . pathElement ( CONDITION ) ; private static final String RESOURCE_NAME = ( WebExtension . class . getPackage ( ) . getName ( ) ) + ".LocalDescriptions" ; static StandardResourceDescriptionResolver getResourceDescriptionResolver ( final String keyPrefix ) { } private static final int MANAGEMENT_API_MAJOR_VERSION = 1 ; private static final int MANAGEMENT_API_MINOR_VERSION = 2 ; private static final int MANAGEMENT_API_MICRO_VERSION = 0 ; @ Override public void initialize ( ExtensionContext context ) { final SubsystemRegistration subsystem = context . registerSubsystem ( WebExtension . SUBSYSTEM_NAME , WebExtension . MANAGEMENT_API_MAJOR_VERSION , WebExtension . MANAGEMENT_API_MINOR_VERSION , WebExtension . MANAGEMENT_API_MICRO_VERSION ) ; final ManagementResourceRegistration registration = subsystem . registerSubsystemModel ( INSTANCE ) ; <START_BUG> registration . registerOperationHandler ( DESCRIBE , GenericSubsystemDescribeHandler . INSTANCE , GenericSubsystemDescribeHandler . INSTANCE , false , PRIVATE ) ; <END_BUG> subsystem . registerXMLElementWriter ( WebSubsystemParser . getInstance ( ) ) ; final ManagementResourceRegistration connectors = registration . registerSubModel ( WebConnectorDefinition . INSTANCE ) ; final ManagementResourceRegistration ssl = connectors . registerSubModel ( WebSSLDefinition . INSTANCE ) ; connectors . registerAlias ( WebExtension . SSL_ALIAS , new WebExtension . StandardWebExtensionAliasEntry ( ssl ) ) ; final ManagementResourceRegistration hosts = registration . registerSubModel ( WebVirtualHostDefinition . INSTANCE ) ; final ManagementResourceRegistration accesslog = hosts . registerSubModel ( WebAccessLogDefinition . INSTANCE ) ; hosts . registerAlias ( WebExtension . ACCESS_LOG_ALIAS , new WebExtension . StandardWebExtensionAliasEntry ( accesslog ) ) ; final ManagementResourceRegistration accessLogDir = accesslog . registerSubModel ( WebAccessLogDirectoryDefinition . INSTANCE ) ; accesslog . registerAlias ( WebExtension . DIRECTORY_ALIAS , new WebExtension . StandardWebExtensionAliasEntry ( accessLogDir ) ) ; final ManagementResourceRegistration sso = hosts . registerSubModel ( WebSSODefinition . INSTANCE ) ; hosts . registerAlias ( WebExtension . SSO_ALIAS , new WebExtension . StandardWebExtensionAliasEntry ( sso ) ) ; final ManagementResourceRegistration rewrite = hosts . registerSubModel ( WebReWriteDefinition . INSTANCE ) ; rewrite . registerSubModel ( WebReWriteConditionDefinition . INSTANCE ) ; registration . registerSubModel ( WebJSPDefinition . INSTANCE ) ; registration . registerSubModel ( WebStaticResources . INSTANCE ) ; registration . registerSubModel ( WebContainerDefinition . INSTANCE ) ; final ManagementResourceRegistration deployments = subsystem . registerDeploymentModel ( WebDeploymentDefinition . INSTANCE ) ; deployments . registerSubModel ( WebDeploymentServletDefinition . INSTANCE ) ; registerTransformers_1_1_0 ( subsystem ) ; } @ Override public void initializeParsers ( ExtensionParsingContext context ) { } private void registerTransformers_1_1_0 ( SubsystemRegistration registration ) { } private static class StandardWebExtensionAliasEntry extends AliasEntry { public StandardWebExtensionAliasEntry ( ManagementResourceRegistration target ) { } @ Override public PathAddress convertToTargetAddress ( PathAddress addr ) { } } }

Fix:
registration . registerOperationHandler ( DEFINITION , GenericSubsystemDescribeHandler . INSTANCE ) ;