Skip to Content
3
Dec 08, 2016 at 03:43 PM

Delivery Address null in "InMemoryCart".

302 Views

Currently I'm trying to figure out why when applying a voucher we always get an error with an InMemoryCart (doesnt happen with the normal cart) because of the deliveryadddress being null.

Here a stacktrace:

 de.hybris.platform.jalo.order.delivery.JaloDeliveryModeException: getCost(): delivery address was NULL in order TempCart(12176073022638320)[HY-0]
 at de.hybris.platform.deliveryzone.jalo.ZoneDeliveryMode.getCost(ZoneDeliveryMode.java:269)
 at de.hybris.platform.jalo.order.delivery.DeliveryMode.getCost(DeliveryMode.java:202)
 at de.hybris.platform.basecommerce.jalo.MultiAddressInMemoryCart.findDeliveryCosts(MultiAddressInMemoryCart.java:42)
 at de.hybris.platform.jalo.order.AbstractOrder.resetAdditionalCosts(AbstractOrder.java:3215)


Anyone knows what could cause the issue? Do you need to set this deliveryaddress in a different manner for this in memory cart?