Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028018 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2014-10-29 19:27 | 2014-12-30 23:25 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 130e3a63dcc2 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 31924 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028018: Uncaught null pointer exception when using obuisel_selectors based on datasource | |||||||
Description | The following exception is raised in the log: "ERROR org.openbravo.userinterface.selector.SelectorDefaultFilterActionHandler - Error generating Default Filter action result: null java.lang.NullPointerException ..." after opening the grid view of an obuisel_selector based on a datasource | |||||||
Steps To Reproduce | 1) Go to the [Reference] window, look for the OBUISEL_SelectorFieldPropertySelector and navigate to the [Defined selector field]. Check the "show in grid" checkbox. This way we'll be able to open the grid for this selector 2) Rebuild the application and restart tomcat 3) Go to the [Reference] window and create a new reference of Tree Reference type. 4) Navigate to the [Tree Reference] tab and create a new record. 5) Navigate to the [Tree Field] window. Click on the magnifying glass of the property selector. The error appears in the log. | |||||||
Proposed Solution | The exception is thrown on line 69 of the SelectorDefaultFilterActionHandler class: sel.getTable().getName(); sel.getTable() is null because this kind of selector definition does not use a table but a datasource | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0071843) hgbot (developer) 2014-11-20 09:52 |
Repository: erp/devel/pi Changeset: 130e3a63dcc29438f97db13154c13594fb50ec1b Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Thu Nov 20 09:50:36 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/130e3a63dcc29438f97db13154c13594fb50ec1b [^] Fixes issue 28018:Null pointer exception when using obuisel_selectors An uncaught null pointer exception when using obuisel_selectors based on datasource. The exception is thrown on the SelectorDefaultFilterActionHandler class. In some cases this happens when this kind of selector definition does not use a table but a datasource. This has been fixed and now it can obtain the name of a table based on datasource too. --- M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDefaultFilterActionHandler.java --- |
(0071936) alostale (viewer) 2014-11-24 13:32 |
code reviewed tested following the steps to reproduce |
(0073114) hudsonbot (viewer) 2014-12-30 23:25 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-10-29 19:27 | caristu | New Issue | |
2014-10-29 19:27 | caristu | Assigned To | => AugustoMauch |
2014-10-29 19:27 | caristu | OBNetwork customer | => Yes |
2014-10-29 19:27 | caristu | Modules | => Core |
2014-10-29 19:27 | caristu | Support ticket | => 31924 |
2014-10-29 19:27 | caristu | Resolution time | => 1417474800 |
2014-10-29 19:27 | caristu | Triggers an Emergency Pack | => No |
2014-10-29 19:28 | caristu | Issue Monitored: networkb | |
2014-11-11 17:07 | alostale | Assigned To | AugustoMauch => inigosanchez |
2014-11-20 09:48 | inigosanchez | Issue Monitored: alostale | |
2014-11-20 09:49 | inigosanchez | Resolution | open => fixed |
2014-11-20 09:51 | inigosanchez | Review Assigned To | => alostale |
2014-11-20 09:52 | hgbot | Checkin | |
2014-11-20 09:52 | hgbot | Note Added: 0071843 | |
2014-11-20 09:52 | hgbot | Status | new => resolved |
2014-11-20 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/130e3a63dcc29438f97db13154c13594fb50ec1b [^] |
2014-11-24 13:32 | alostale | Note Added: 0071936 | |
2014-11-24 13:32 | alostale | Status | resolved => closed |
2014-11-24 13:32 | alostale | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:25 | hudsonbot | Checkin | |
2014-12-30 23:25 | hudsonbot | Note Added: 0073114 |
Copyright © 2000 - 2009 MantisBT Group |