Buggy code:
public class LoggingDescribeHandler implements OperationStepHandler , DescriptionProvider { static final LoggingDescribeHandler INSTANCE = new LoggingDescribeHandler ( ) ; public void execute ( OperationContext context , ModelNode operation ) throws OperationFailedException { final ModelNode model = context . readModel ( EMPTY_ADDRESS ) ; PathAddress rootAddress = PathAddress . pathAddress ( PathAddress . pathAddress ( operation . require ( OP_ADDR ) ) . getLastElement ( ) ) ; final ModelNode result = context . getResult ( ) ; <START_BUG> result . add ( NewLoggingSubsystemAdd . createOperation ( rootAddress . toModelNode ( ) ) ) ; <END_BUG> if ( model . hasDefined ( CommonAttributes . ROOT_LOGGER ) ) { final ModelNode add = Util . getEmptyOperation ( OPERATION_NAME , rootAddress . append ( rootLoggerPath ) . toModelNode ( ) ) ; final ModelNode rootLogger = model . get ( CommonAttributes . ROOT_LOGGER , CommonAttributes . ROOT_LOGGER_NAME ) ; copy ( CommonAttributes . LEVEL , rootLogger , add ) ; copy ( CommonAttributes . FILTER , rootLogger , add ) ; copy ( CommonAttributes . HANDLERS , rootLogger , add ) ; result . add ( add ) ; } if ( model . hasDefined ( CommonAttributes . LOGGER ) ) { for ( Property prop : model . get ( CommonAttributes . LOGGER ) . asPropertyList ( ) ) { ModelNode add = Util . getEmptyOperation ( ADD , rootAddress . append ( PathElement . pathElement ( CommonAttributes . LOGGER , prop . getName ( ) ) ) . toModelNode ( ) ) ; copy ( CommonAttributes . NAME , prop . getValue ( ) , add ) ; copy ( CommonAttributes . CATEGORY , prop . getValue ( ) , add ) ; copy ( CommonAttributes . USE_PARENT_HANDLERS , prop . getValue ( ) , add ) ; copy ( CommonAttributes . HANDLERS , prop . getValue ( ) , add ) ; copy ( CommonAttributes . LEVEL , prop . getValue ( ) , add ) ; result . add ( add ) ; } } if ( model . hasDefined ( CommonAttributes . ASYNC_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . ASYNC_HANDLER ) . asPropertyList ( ) ) { result . add ( defineAsynchHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } if ( model . hasDefined ( CommonAttributes . CONSOLE_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . CONSOLE_HANDLER ) . asPropertyList ( ) ) { result . add ( defineConsoleHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } if ( model . hasDefined ( CommonAttributes . FILE_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . FILE_HANDLER ) . asPropertyList ( ) ) { result . add ( defineFileHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } if ( model . hasDefined ( CommonAttributes . CUSTOM_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . CUSTOM_HANDLER ) . asPropertyList ( ) ) { result . add ( defineCustomHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } if ( model . hasDefined ( CommonAttributes . PERIODIC_ROTATING_FILE_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . PERIODIC_ROTATING_FILE_HANDLER ) . asPropertyList ( ) ) { result . add ( definePeriodicRotatingFileHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } if ( model . hasDefined ( CommonAttributes . SIZE_ROTATING_FILE_HANDLER ) ) { for ( Property prop : model . get ( CommonAttributes . SIZE_ROTATING_FILE_HANDLER ) . asPropertyList ( ) ) { result . add ( defineSizeRotatingFileHandler ( prop . getName ( ) , prop . getValue ( ) , rootAddress ) ) ; } } context . completeStep ( ) ; } private ModelNode defineAsynchHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } private ModelNode defineConsoleHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } private ModelNode defineFileHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } private ModelNode defineCustomHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } private ModelNode definePeriodicRotatingFileHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } private ModelNode defineSizeRotatingFileHandler ( final String name , final ModelNode handler , final PathAddress rootAddress ) throws OperationFailedException { } @ Override public ModelNode getModelDescription ( Locale locale ) { } private void copyCommonHandlerAttributes ( final ModelNode from , final ModelNode to ) throws OperationFailedException { } private void copyCommonFlushingHandlerAttributes ( final ModelNode from , final ModelNode to ) throws OperationFailedException { } private void copy ( final AttributeDefinition definition , final ModelNode from , final ModelNode to ) throws OperationFailedException { } private void copy ( final String name , final ModelNode from , final ModelNode to ) { } }

Fix:
result . add ( LoggingSubsystemAdd . createOperation ( rootAddress . toModelNode ( ) ) ) ;