Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0028977 | Openbravo ERP | A. Platform | public | 2015-02-18 10:43 | 2015-11-23 21:17 | |||||||||||||||||||||
Reporter | alostale | |||||||||||||||||||||||||
Assigned To | caristu | |||||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR16Q1 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | alostale | |||||||||||||||||||||||||
OBNetwork customer | No | |||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0028977: NPE if property field can not reach the complete path | |||||||||||||||||||||||||
Description | When there is a property field which path can not be completed because there is a null object within it, a NPE is thrown when the tab containing it is opened. | |||||||||||||||||||||||||
Steps To Reproduce | As system admin role: * Create a new field in the Sales Invoice - Header tab * Add the following value in the Property field: businessPartner.priceList.name As group admin role: * Create a new record in the Sales Invoice window * Check the following error message is shown in the log 1f923ef8 357624 [http-8080-7] ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't get data for column Name java.lang.NullPointerException at org.openbravo.dal.core.DalUtil.getValueFromPath(DalUtil.java:174) at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:625) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:258) The problem is businessPartner is null, so it is trying to get priceList from a null object resulting in a NPE. | |||||||||||||||||||||||||
Proposed Solution | in this case the field property value should be null, without NPE in the logs | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2015-02-18 10:43 | alostale | New Issue | ||||||||||||||||||||||||
2015-02-18 10:43 | alostale | Assigned To | => AugustoMauch | |||||||||||||||||||||||
2015-02-18 10:43 | alostale | OBNetwork customer | => No | |||||||||||||||||||||||
2015-02-18 10:43 | alostale | Modules | => Core | |||||||||||||||||||||||
2015-02-18 10:43 | alostale | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2015-02-18 10:43 | alostale | Relationship added | related to 0028438 | |||||||||||||||||||||||
2015-03-11 09:49 | alostale | Priority | normal => high | |||||||||||||||||||||||
2015-03-11 09:49 | alostale | Status | new => acknowledged | |||||||||||||||||||||||
2015-03-17 14:37 | alostale | Assigned To | AugustoMauch => platform | |||||||||||||||||||||||
2015-11-11 11:37 | alostale | Priority | high => normal | |||||||||||||||||||||||
2015-11-12 19:41 | caristu | Assigned To | platform => caristu | |||||||||||||||||||||||
2015-11-12 19:41 | caristu | Status | acknowledged => scheduled | |||||||||||||||||||||||
2015-11-13 08:44 | hgbot | Checkin | ||||||||||||||||||||||||
2015-11-13 08:44 | hgbot | Note Added: 0081800 | ||||||||||||||||||||||||
2015-11-13 08:44 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2015-11-13 08:44 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2015-11-13 08:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3fd452d82f3582f226bc4c9c2d289c518a47ec68 [^] | |||||||||||||||||||||||
2015-11-13 08:46 | caristu | Relationship added | has duplicate 0031305 | |||||||||||||||||||||||
2015-11-13 08:48 | caristu | Relationship added | related to 0025754 | |||||||||||||||||||||||
2015-11-13 14:19 | alostale | Review Assigned To | => alostale | |||||||||||||||||||||||
2015-11-13 14:19 | alostale | Note Added: 0081825 | ||||||||||||||||||||||||
2015-11-13 14:19 | alostale | Status | resolved => closed | |||||||||||||||||||||||
2015-11-13 14:19 | alostale | Fixed in Version | => 3.0PR16Q1 | |||||||||||||||||||||||
2015-11-23 21:17 | hudsonbot | Checkin | ||||||||||||||||||||||||
2015-11-23 21:17 | hudsonbot | Note Added: 0082222 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|