Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035176Openbravo ERPA. Platformpublic2017-02-07 08:592017-03-15 20:19
caristu 
caristu 
highminoralways
closedfixed 
5
 
3.0PR17Q2 
alostale
Core
Production - QA Approved
2016-09-08
3.0PR16Q4
https://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^]
No
0035176: Callout's pool should be initialized before executing them
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.
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.
Initialize myPool in the init method of DelegateConnectionProvider.
No tags attached.
depends on backport 00351773.0PR17Q1 closed caristu Callout's pool should be initialized before executing them 
depends on backport 00351783.0PR16Q4.3 closed caristu Callout's pool should be initialized before executing them 
caused by design defect 00323663.0PR16Q4 closed inigosanchez callout invocation ineficiencies 
diff calloutMyPool.diff (807) 2017-02-07 09:01
https://issues.openbravo.com/file_download.php?file_id=10417&type=bug
Issue History
2017-02-07 08:59caristuNew Issue
2017-02-07 08:59caristuAssigned To => caristu
2017-02-07 08:59caristuModules => Core
2017-02-07 08:59caristuRegression level => Production - QA Approved
2017-02-07 08:59caristuRegression date => 2016-09-08
2017-02-07 08:59caristuRegression introduced in release => 3.0PR16Q4
2017-02-07 08:59caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^]
2017-02-07 08:59caristuTriggers an Emergency Pack => No
2017-02-07 08:59caristuRelationship addedcaused by 0032366
2017-02-07 09:00caristuStatusnew => scheduled
2017-02-07 09:01caristuFile Added: calloutMyPool.diff
2017-02-07 09:45hgbotCheckin
2017-02-07 09:45hgbotNote Added: 0094110
2017-02-07 09:45hgbotStatusscheduled => resolved
2017-02-07 09:45hgbotResolutionopen => fixed
2017-02-07 09:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/874f31389ea7ae046acdbf18f3a6ea584c8ac524 [^]
2017-02-07 09:49caristuReview Assigned To => alostale
2017-02-07 10:08caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14500#r14500
2017-02-10 07:33alostaleNote Added: 0094195
2017-02-10 07:33alostaleStatusresolved => closed
2017-02-10 07:33alostaleFixed in Version => 3.0PR17Q2
2017-03-15 20:19hudsonbotCheckin
2017-03-15 20:19hudsonbotNote Added: 0095165

Notes
(0094110)
hgbot   
2017-02-07 09:45   
Repository: erp/devel/pi
Changeset: 874f31389ea7ae046acdbf18f3a6ea584c8ac524
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Feb 07 09:44:39 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/874f31389ea7ae046acdbf18f3a6ea584c8ac524 [^]

fixes issue 35176: Initialize callout's connection pool on init

---
M src/org/openbravo/erpCommon/ad_callouts/DelegateConnectionProvider.java
---
(0094195)
alostale   
2017-02-10 07:33   
code reviewed + tested
(0095165)
hudsonbot   
2017-03-15 20:19   
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/54e102bef53e [^]
Maturity status: Test