In function {{protected Object handleRead(Object target, String attributeName, Object value) }} defined in class public class EnhancementAsProxyLazinessInterceptor extends AbstractLazyLoadInterceptor, I am getting Index Out of bound exception. If you see assignment as writtenValues = new Object[writtenFieldNames.size()]; In my case the size of writtenFieldNames is 1, But the size variable has value 23 which comes from final int size = entityPersister.getNumberOfAttributeMappings() In entityPersister my field is present at index 1, but writtenValues can contain only 1 element at index 0. and throws out of bond exception. if ( writtenFieldName.contains( entityPersister.getAttributeMapping( index ).getAttributeName() ) ) {

|