logger.warn("Object in session under key [" + name + "] is not compatible with the current class loader, and cannot be recovered because it does not implement " + Serializable.class.getName() + ". Attribute will be removed from the session");
this.removeAttribute(name);
return null;
}
SerializationHelper helper = new SerializationHelper(new ClassLoaderAwareSerializationStreamFactory(moduleClassLoader));
Object clonedAttribute = null;
try {
clonedAttribute = clone(attribute, helper);
} catch (RuntimeException e) {