Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040465 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | have not tried | 2019-03-27 11:24 | 2019-05-21 15:16 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a1661bb0744d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | Sandrahuguet | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040465: NPE is thrown in SE_Payment_BPartner callout | |||||||
Description | A NPE is thrown in SE_Payment_BPartner callout after clearing the "Received From" field in "Payment In" window: ... Caused by: java.lang.NullPointerException at org.openbravo.erpCommon.ad_callouts.SE_Payment_BPartner.execute(SE_Payment_BPartner.java:51) ~[classes/:?] at org.openbravo.erpCommon.ad_callouts.SimpleCallout.executeSimpleCallout(SimpleCallout.java:93) ~[classes/:?] at org.openbravo.client.application.window.FormInitializationComponent.runCallouts(FormInitializationComponent.java:1504) ~[classes/:?] ... 52 more | |||||||
Steps To Reproduce | 1) Go the [Payment In] window 2) Select a BP in the "Received From" field 3) Clear the "Received From" field. Note that the NPE is thrown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0110710) AtulOpenbravo (developer) 2019-03-28 03:47 |
Test Plan - Login and F&B International Group admin role. - Navigate to Payment In, select business partner in "Received From" field. - Set "Received From" field as blank again. - Realize that in console logs, NPE is not thrown any more. |
(0110957) hgbot (developer) 2019-04-02 09:29 |
Repository: erp/devel/pi Changeset: a1661bb0744d6fb2207d83c217f8ba14a6b8f4e8 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Thu Mar 28 07:19:45 2019 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/a1661bb0744d6fb2207d83c217f8ba14a6b8f4e8 [^] Fixes Issue 0040465: NPE is thrown in SE_Payment_BPartner callout ** Use StringUtils to avoid NPE and check whether strcBpartnerId is not empty before fetching default payment method & financial account of business partner. --- M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_BPartner.java --- |
(0110958) Sandrahuguet (developer) 2019-04-02 09:30 |
Code review + testing OK |
(0111956) hudsonbot (developer) 2019-05-21 15:16 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8f37d9d85e [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2019-03-27 11:24 | caristu | New Issue | |
2019-03-27 11:24 | caristu | Assigned To | => Triage Finance |
2019-03-27 11:24 | caristu | Modules | => Core |
2019-03-27 11:24 | caristu | Triggers an Emergency Pack | => No |
2019-03-27 11:25 | caristu | Relationship added | related to 0030954 |
2019-03-27 11:42 | Sandrahuguet | Assigned To | Triage Finance => AtulOpenbravo |
2019-03-27 18:34 | AtulOpenbravo | Status | new => scheduled |
2019-03-28 03:47 | AtulOpenbravo | Note Added: 0110710 | |
2019-04-02 09:29 | hgbot | Checkin | |
2019-04-02 09:29 | hgbot | Note Added: 0110957 | |
2019-04-02 09:29 | hgbot | Status | scheduled => resolved |
2019-04-02 09:29 | hgbot | Resolution | open => fixed |
2019-04-02 09:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a1661bb0744d6fb2207d83c217f8ba14a6b8f4e8 [^] |
2019-04-02 09:30 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-04-02 09:30 | Sandrahuguet | Note Added: 0110958 | |
2019-04-02 09:30 | Sandrahuguet | Status | resolved => closed |
2019-04-02 09:30 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111956 |
Copyright © 2000 - 2009 MantisBT Group |