[ 
https://issues.apache.org/jira/browse/OFBIZ-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721405#action_12721405
 ] 

Joe Eckard commented on OFBIZ-1172:
-----------------------------------

Right now you will get a null pointer exception from 
ProductStoreWorker.getStoreCurrencyUomId, which is called during cart creation.

However, if that is fixed it looks like the constructor for ShoppingCart 
explicitly checks for a null productStoreId and throws an 
IllegalArgumentException, so it won't make it much farther.

> Order Entry unclear error when no ProductStore set
> --------------------------------------------------
>
>                 Key: OFBIZ-1172
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1172
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Wickersheimer Jeremy
>            Priority: Minor
>         Attachments: ofbiz-1172.patch
>
>
> I ran into this issue because our staff accidentally removed the ProductStore 
> from the OrderEntry Website. The symptom was an java NPE display when trying 
> to create a Purchase Order.
> Because it took me some time to debug it i wrote a patch to make this 
> behavior more obvious.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to