config.allowNullValueTypeForOperationReplyProperties(createPlatformMBeanAddress(PlatformMBeanConstants.RUNTIME), READ_RESOURCE_OPERATION);
final ModelNode MEMORY_POOL_CHILDREN_ADDR = createPlatformMBeanAddress(PlatformMBeanConstants.MEMORY_POOL);
MEMORY_POOL_CHILDREN_ADDR.add(NAME, "*");
config.allowNullValueTypeForOperationReplyProperties(MEMORY_POOL_CHILDREN_ADDR, READ_RESOURCE_OPERATION);
ModelDescriptionValidator validator = new ModelDescriptionValidator(new ModelNode().setEmptyList(), description, config);
List<ValidationFailure> failures = validator.validateResource();
if (failures.size() > 0) {
System.out.println("==== VALIDATION FAILURES: " + failures.size());
for (ValidationFailure failure : failures) {
System.out.println(failure);