cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in SAP Commerce 2211.32 at startup during spring context initialization

Eddy_
Explorer
391

Hi SAP community,

currently we are upgrading to the version 2211.32 of SAP Commerce Cloud and during startup of the application we are facing following issue:

ERROR [Catalina-utility-12] [HybrisContextFactory] Error initializing global application context!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSAPOrderGenericPaymentInfoPopulator' defined in class path resource [commercefacades-spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Properties 'addressConverter', 'commerceEntryGroupUtils', 'commonI18NService', 'creditCardPaymentInfoConverter', 'deliveryModeConverter', 'entryGroupConverter', 'entryGroupService', 'modelService', 'orderCommentConverter', 'orderEntryConverter', 'priceDataFactory', 'principalConverter', 'promotionResultConverter', 'promotionsService', 'typeService', 'virtualEntryGroupStrategy' and 'zoneDeliveryModeConverter' are required for bean 'defaultSAPOrderGenericPaymentInfoPopulator'

Because of the error the server cannot start.

The message relates to following bean definition in commercefacades-spring.xml

<alias name="defaultSAPOrderGenericPaymentInfoPopulator" alias="sapOrderGenericPaymentInfoPopulator"/>
<bean id="defaultSAPOrderGenericPaymentInfoPopulator"
class="de.hybris.platform.commercefacades.order.converters.populator.OrderGenericPaymentInfoPopulator">
<constructor-arg name="genericPaymentInfoConverter" ref="sapGenericPaymentInfoConverter"/>
</bean>

Since there is no parent reference, the required properties are missing - which the error message also says.

I am wondering how this can run anywhere? 😀

Anyone else out there having the same problem?

 

Thanks and BR!
Eddy

View Entire Topic
cieslo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes, this is an issue. It should be fixed in the upcoming releases. Right now you can try to add the missing parent to the bean definition:

parent="baseOrderPopulator"