Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008363 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2009-03-27 15:57 | 2009-10-13 08:18 | |||
Reporter | villind | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.40MP10 | |||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 2a0c13b0a89e | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40MP3 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0008363: Setting log level to DEBUG causes connection leak in AcctServer. | |||||||
Description | The array bonds are not checked before it is used (AcctServer.java:281). This causes connection leak. Exception: java.lang.ArrayIndexOutOfBoundsException: 0 at org.openbravo.erpCommon.ad_forms.AcctServer.run(AcctServer.java:281) at org.openbravo.erpCommon.ad_background.PeriodicAcctServer.processPL(PeriodicAcctServer.java:100) at org.openbravo.erpCommon.ad_background.PeriodicBackground.process(PeriodicBackground.java:209) at org.openbravo.erpCommon.ad_background.PeriodicBackground.run(PeriodicBackground.java:160) at java.lang.Thread.run(Thread.java:619) | |||||||
Steps To Reproduce | Set log level to debug for org.openbravo.erpCommon.ad_forms.AcctServer | |||||||
Proposed Solution | Fix the logging statement and also move connection closing to finally block. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0020532) hgbot (developer) 2009-09-29 15:36 |
Repository: erp/stable/2.40 Changeset: 2a0c13b0a89ee2877469d14d55045abcfa1361d6 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Tue Sep 29 15:34:29 2009 +0200 URL: http://code.openbravo.com/erp/stable/2.40/rev/2a0c13b0a89ee2877469d14d55045abcfa1361d6 [^] Fixed 8363: Add array bounds check to prevent exception and resulting connection leak. --- M src/org/openbravo/erpCommon/ad_forms/AcctServer.java --- |
(0020952) arunkumar (viewer) 2009-10-13 08:18 |
Tested & Working fine. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-03-31 12:34 | psarobe | Type | defect => backport |
2009-03-31 12:34 | psarobe | fix_in_branch | => 2.40 |
2009-03-31 13:33 | rafaroda | Assigned To | rafaroda => shuehner |
2009-09-29 15:36 | hgbot | Checkin | |
2009-09-29 15:36 | hgbot | Note Added: 0020532 | |
2009-09-29 15:36 | hgbot | Status | scheduled => resolved |
2009-09-29 15:36 | hgbot | Resolution | open => fixed |
2009-09-29 15:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.40/rev/2a0c13b0a89ee2877469d14d55045abcfa1361d6 [^] |
2009-10-13 08:18 | arunkumar | Status | resolved => closed |
2009-10-13 08:18 | arunkumar | Note Added: 0020952 | |
2009-10-13 08:18 | arunkumar | Fixed in Version | => 2.40MP10 |
Copyright © 2000 - 2009 MantisBT Group |