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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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


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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-3079.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Akash,

Your patch is in trunk at r829412, R9.04 at r829413

> 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
>            Assignee: Jacques Le Roux
>             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.