productMap.put(product.getId(), product);
Collection<ProductContentData> pcdCollection = product.getProductContent();
if (pcdCollection != null) {
for (ProductContentData pcd : pcdCollection) {
if (pcd == null) {
<BUG>log.error(
"ERROR: product contains a null product-content mapping: {}", product);
</BUG>
throw new IllegalStateException(
"product contains a null product-content mapping: " + product);

productMap.put(product.getId(), product);
Collection<ProductContentData> pcdCollection = product.getProductContent();
if (pcdCollection != null) {
for (ProductContentData pcd : pcdCollection) {
if (pcd == null) {
log.error("product contains a null product-content mapping: {}", product);
throw new IllegalStateException(
"product contains a null product-content mapping: " + product);
