Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035178 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2017-02-07 08:59 | 2017-02-10 07:35 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR16Q4.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 1b9ee78082ee | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q4.3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | 0035178: 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | calloutMyPool.diff [^] (807 bytes) 2017-02-07 09:50 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0094112) hgbot (developer) 2017-02-07 09:57 |
Repository: erp/backports/3.0PR16Q4.3 Changeset: 1b9ee78082ee692d0d71f39e0b641eb9ce4ecdf7 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Feb 07 09:57:04 2017 +0100 URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/1b9ee78082ee692d0d71f39e0b641eb9ce4ecdf7 [^] fixes issue 35178: Initialize callout's connection pool on init --- M src/org/openbravo/erpCommon/ad_callouts/DelegateConnectionProvider.java --- |
(0094197) alostale (manager) 2017-02-10 07:35 |
code reviewed + tested |
Issue History | |||
Date Modified | Username | Field | Change |
2017-02-07 09:00 | caristu | Type | defect => backport |
2017-02-07 09:00 | caristu | Target Version | => 3.0PR16Q4.3 |
2017-02-07 09:50 | caristu | File Added: calloutMyPool.diff | |
2017-02-07 09:57 | hgbot | Checkin | |
2017-02-07 09:57 | hgbot | Note Added: 0094112 | |
2017-02-07 09:57 | hgbot | Status | scheduled => resolved |
2017-02-07 09:57 | hgbot | Resolution | open => fixed |
2017-02-07 09:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q4.3/rev/1b9ee78082ee692d0d71f39e0b641eb9ce4ecdf7 [^] |
2017-02-07 10:04 | caristu | Review Assigned To | => alostale |
2017-02-07 10:08 | caristu | Steps to Reproduce Updated | View Revisions |
2017-02-10 07:35 | alostale | Note Added: 0094197 | |
2017-02-10 07:35 | alostale | Status | resolved => closed |
2017-02-10 07:35 | alostale | Fixed in Version | => 3.0PR16Q4.3 |
Copyright © 2000 - 2009 MantisBT Group |