Skip to Content
0
Mar 02, 2021 at 12:32 PM

Base site is coming as null in thread

28 Views

I have made my place order method async and i am calling load cart method in thread , but when i cam trying to implement that in thread then i am getting base id null exception.

cartLoaderStrategy.loadCart(cartId);

This method is getting called in thread , DefaultCartLoaderStrategy is the class which is getting called here but i am getting base site id null which is breaking the implementation, in the normal flow without using (thread or async approach) things are working fine. What could be the reason for that?

https://help.sap.com/doc/f7dca1ac1b4440b88ad35578aae77b8d/6.0.0.0/en-US/de/hybris/platform/commercewebservicescommons/strategies/impl/DefaultCartLoaderStrategy.html