You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Akash Jain (JIRA)" <ji...@apache.org> on 2009/10/24 14:58:59 UTC

[jira] Updated: (OFBIZ-3079) NPE appears on create customer from order entry screens.

     [ https://issues.apache.org/jira/browse/OFBIZ-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akash Jain updated OFBIZ-3079:
------------------------------

    Attachment: OFBIZ-3079.patch

Thanks Ratnesh,

There is a session issue, actually there is getting ShoppingCart object from session when session is expired then ShoppingCart object will be null and there is no check for this ShoppingCart object and call method of ShoppingCart.

I have uploaded patch, guarding ShoppingCart object for that exception.

> NPE appears on create customer from order entry screens.
> --------------------------------------------------------
>
>                 Key: OFBIZ-3079
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3079
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Ratnesh Upadhyay
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBIZ-3079.patch
>
>
> Got NPE, during create new customer from order entry screen.
> Steps to regenerate the error:
> 1). Browse following link : https://demo.ofbiz.org/ordermgr/control/orderentry , serve require inputs and click on continue link.
> 2). Now wait for some time on add item screen and click on create customer button available in shortcuts block. (shown in right bar)
> Note : It seems that, its a session issue, so some time it works fine but some time this screen is broken due to NPE.
> -- Ratnesh Upadhyay

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