The problem can be spotted in the DefaultInitializeCollectionEventListener when analyzing the ce.getLoadedKey(), which in this case, takes the entire entity as the Collection key instead of a composite identifier passed as an array.