Page 1 of 1

Error to add to cart after search product

Posted: Fri Jan 22, 2016 11:49 am
by alcuervo
Hello.

When I try to add an item to the cart after searching "something" I get this error

Code: Select all

22-Jan-2016 11:08:07.052 SEVERE [http-nio-80-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [amelissa] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'productId[]' of bean class [org.broadleafcommerce.core.order.service.call.AddToCartItem]: Illegal attempt to get property 'productId' threw exception; nested exception is org.springframework.beans.NullValueInNestedPathException: Invalid property 'productId' of bean class [org.broadleafcommerce.core.order.service.call.AddToCartItem]: Could not instantiate property type [java.lang.Long] to auto-grow nested property path: java.lang.InstantiationException: java.lang.Long] with root cause
 org.springframework.beans.NullValueInNestedPathException: Invalid property 'productId' of bean class [org.broadleafcommerce.core.order.service.call.AddToCartItem]: Could not instantiate property type [java.lang.Long] to auto-grow nested property path: java.lang.InstantiationException: java.lang.Long


but if I remove the search, the site allows to add products again.

Thanks for your help