Description
Hi,
There were two errors in the ecommerce :
1) When we add any product and click on the EmptyCart then it throw's error of null pointer exception.
I have changed ShoppingCartEvents.java to check null condition for userLogin.
2) When we checkout the sale as "anonymous" user then we click on the "EmptyCart" then it was showing error of shoppingCart not found.
(See the online demo of Ofbiz for above two errors.Although same errors are resulting from the latest SVN )
I am also submitting the patch for this.
Regards
Ashish Vijaywargiya