Buggy code:
public class InfinispanResourceDescriptionResolver extends StandardResourceDescriptionResolver { private Map < String , String > sharedAttributeResolver = new HashMap < String , String > ( ) ; public InfinispanResourceDescriptionResolver ( String keyPrefix , String bundleBaseName , ClassLoader bundleLoader ) { } @ Override public String getResourceAttributeDescription ( String attributeName , Locale locale , ResourceBundle bundle ) { } @ Override public String getResourceAttributeValueTypeDescription ( String attributeName , Locale locale , ResourceBundle bundle , String ... suffixes ) { } @ Override public String getOperationParameterDescription ( String operationName , String paramName , Locale locale , ResourceBundle bundle ) { } @ Override public String getOperationParameterValueTypeDescription ( String operationName , String paramName , Locale locale , ResourceBundle bundle , String ... suffixes ) { } @ Override public String getChildTypeDescription ( String childType , Locale locale , ResourceBundle bundle ) { } private String getBundleKey ( final String name ) { } private String getVariableBundleKey ( final String name , final String ... variable ) { } private void initMap ( ) { sharedAttributeResolver . put ( BATCHING . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( MODULE . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( INDEXING . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( INDEXING_PROPERTIES . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( JNDI_NAME . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( NAME . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( START . getName ( ) , "cache" ) ; <START_BUG> sharedAttributeResolver . put ( STATISTICS . getName ( ) , "cache" ) ; <END_BUG> sharedAttributeResolver . put ( ASYNC_MARSHALLING . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( MODE . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( QUEUE_FLUSH_INTERVAL . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( QUEUE_SIZE . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( REMOTE_TIMEOUT . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( FETCH_STATE . getName ( ) , "store" ) ; sharedAttributeResolver . put ( PASSIVATION . getName ( ) , "store" ) ; sharedAttributeResolver . put ( PRELOAD . getName ( ) , "store" ) ; sharedAttributeResolver . put ( PURGE . getName ( ) , "store" ) ; sharedAttributeResolver . put ( SHARED . getName ( ) , "store" ) ; sharedAttributeResolver . put ( SINGLETON . getName ( ) , "store" ) ; sharedAttributeResolver . put ( PROPERTY . getName ( ) , "store" ) ; sharedAttributeResolver . put ( PROPERTIES . getName ( ) , "store" ) ; sharedAttributeResolver . put ( DATA_SOURCE . getName ( ) , "jdbc-store" ) ; sharedAttributeResolver . put ( BATCH_SIZE . getName ( ) , "jdbc-store" ) ; sharedAttributeResolver . put ( FETCH_SIZE . getName ( ) , "jdbc-store" ) ; sharedAttributeResolver . put ( PREFIX . getName ( ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ( ( ID_COLUMN . getName ( ) ) + ".column" ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ( ( DATA_COLUMN . getName ( ) ) + ".column" ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ( ( TIMESTAMP_COLUMN . getName ( ) ) + ".column" ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ( ( ENTRY_TABLE . getName ( ) ) + "table" ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ( ( BUCKET_TABLE . getName ( ) ) + "table" ) , "jdbc-store" ) ; sharedAttributeResolver . put ( ACTIVATIONS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( AVERAGE_READ_TIME . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( AVERAGE_WRITE_TIME . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( CACHE_STATUS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( ELAPSED_TIME . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( HIT_RATIO . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( HITS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( INVALIDATIONS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( MISSES . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( NUMBER_OF_ENTRIES . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( PASSIVATIONS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( READ_WRITE_RATIO . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( REMOVE_HITS . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( REMOVE_MISSES . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( STORES . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( TIME_SINCE_RESET . getName ( ) , "cache" ) ; sharedAttributeResolver . put ( AVERAGE_REPLICATION_TIME . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( REPLICATION_COUNT . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( REPLICATION_FAILURES . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( SUCCESS_RATIO . getName ( ) , "clustered-cache" ) ; sharedAttributeResolver . put ( CACHE_LOADER_LOADS . getName ( ) , "store" ) ; sharedAttributeResolver . put ( CACHE_LOADER_MISSES . getName ( ) , "store" ) ; sharedAttributeResolver . put ( TRANSPORT , null ) ; sharedAttributeResolver . put ( LOCKING , null ) ; sharedAttributeResolver . put ( TRANSACTION , null ) ; sharedAttributeResolver . put ( EVICTION , null ) ; sharedAttributeResolver . put ( EXPIRATION , null ) ; sharedAttributeResolver . put ( STATE_TRANSFER , null ) ; sharedAttributeResolver . put ( STORE , null ) ; sharedAttributeResolver . put ( FILE_STORE , null ) ; sharedAttributeResolver . put ( REMOTE_STORE , null ) ; sharedAttributeResolver . put ( STRING_KEYED_JDBC_STORE , null ) ; sharedAttributeResolver . put ( BINARY_KEYED_JDBC_STORE , null ) ; sharedAttributeResolver . put ( MIXED_KEYED_JDBC_STORE , null ) ; sharedAttributeResolver . put ( WRITE_BEHIND , null ) ;

Fix:
sharedAttributeResolver . put ( STATISTICS_ENABLED . getName ( ) , "cache" ) ;