Openbravo Issue Tracking System - Openbravo ERP  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0035176 | Openbravo ERP | A. Platform | public | 2017-02-07 08:59 | 2017-03-15 20:19 | 
  | 
| Reporter | caristu |   | 
| Assigned To | caristu |   | 
| Priority | high | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version | 3.0PR17Q2 |   | 
| Merge Request Status |  | 
| Review Assigned To | alostale | 
| OBNetwork customer | OBPS | 
| Web browser |  | 
| Modules | Core | 
| Support ticket | 45314 | 
| Regression level | Production - QA Approved | 
| Regression date | 2016-09-08 | 
| Regression introduced in release | 3.0PR16Q4 | 
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^] | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0035176: Callout's pool should be initialized before executing them | 
| Description | Callout's pool should be initialized before executing them, in other case if the inherited myPool variable is used inside the execute method a NullPointerException will be thrown. | 
| Steps To Reproduce | 1) Apply the attached "calloutMyPool.diff" which adds a line which makes use of the myPool variable to show a message from the SE_InOut_Warehouse callout. 
 
2) Compile and restart tomcat 
 
3) Open the [Goods Shipment] window and notice that the NullPointerException is thrown in the log. | 
| Proposed Solution | Initialize myPool in the init method of DelegateConnectionProvider. 
 | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | depends on  | backport  | 0035177 | 3.0PR17Q1  | closed  | caristu  | Callout's pool should be initialized before executing them  |  | depends on  | backport  | 0035178 | 3.0PR16Q4.3  | closed  | caristu  | Callout's pool should be initialized before executing them  |  | caused by  | design defect  | 0032366 | 3.0PR16Q4  | closed  | inigosanchez  | callout invocation ineficiencies  |  
  | 
| Attached Files |   calloutMyPool.diff (807) 2017-02-07 09:01 https://issues.openbravo.com/file_download.php?file_id=10417&type=bug | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2017-02-07 08:59 | caristu | New Issue |  | 
| 2017-02-07 08:59 | caristu | Assigned To |  => caristu | 
| 2017-02-07 08:59 | caristu | OBNetwork customer |  => No | 
| 2017-02-07 08:59 | caristu | Modules |  => Core | 
| 2017-02-07 08:59 | caristu | Regression level |  => Production - QA Approved | 
| 2017-02-07 08:59 | caristu | Regression date |  => 2016-09-08 | 
| 2017-02-07 08:59 | caristu | Regression introduced in release |  => 3.0PR16Q4 | 
| 2017-02-07 08:59 | caristu | Regression introduced by commit |  => https://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^] | 
| 2017-02-07 08:59 | caristu | Triggers an Emergency Pack |  => No | 
| 2017-02-07 08:59 | caristu | Relationship added | caused by 0032366 | 
| 2017-02-07 09:00 | caristu | Status | new => scheduled | 
| 2017-02-07 09:01 | caristu | File Added: calloutMyPool.diff |  | 
| 2017-02-07 09:45 | hgbot | Checkin |  | 
| 2017-02-07 09:45 | hgbot | Note Added: 0094110 |  | 
| 2017-02-07 09:45 | hgbot | Status | scheduled => resolved | 
| 2017-02-07 09:45 | hgbot | Resolution | open => fixed | 
| 2017-02-07 09:45 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/devel/pi/rev/874f31389ea7ae046acdbf18f3a6ea584c8ac524 [^] | 
| 2017-02-07 09:49 | caristu | Review Assigned To |  => alostale | 
| 2017-02-07 10:08 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14500#r14500 | 
| 2017-02-07 10:11 | malsasua | OBNetwork customer | No => Yes | 
| 2017-02-07 10:11 | malsasua | Support ticket |  => 45314 | 
| 2017-02-10 07:33 | alostale | Note Added: 0094195 |  | 
| 2017-02-10 07:33 | alostale | Status | resolved => closed | 
| 2017-02-10 07:33 | alostale | Fixed in Version |  => 3.0PR17Q2 | 
| 2017-03-15 20:19 | hudsonbot | Checkin |  | 
| 2017-03-15 20:19 | hudsonbot | Note Added: 0095165 |  |