Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008327 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2009-03-27 15:57 | 2009-09-30 00:00 | |||
Reporter | villind | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
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 | 0008327: 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 | ||||||||
![]() |
||||||||
|
![]() |
|
(0020529) shuehner (administrator) 2009-09-29 15:19 |
No change is required in pi as this commit '4841:e60855cb6805' for issue 9984 did add the missing array bounds check. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-03-27 15:57 | villind | New Issue | |
2009-03-27 15:57 | villind | Assigned To | => rafaroda |
2009-03-27 15:57 | villind | OBNetwork customer | => No |
2009-03-27 15:57 | villind | Regression testing | => No |
2009-03-31 12:34 | psarobe | Status | new => scheduled |
2009-03-31 12:34 | psarobe | Assigned To | rafaroda => shuehner |
2009-03-31 12:34 | psarobe | fix_in_branch | => pi |
2009-09-29 15:19 | shuehner | Status | scheduled => closed |
2009-09-29 15:19 | shuehner | Note Added: 0020529 | |
2009-09-29 15:19 | shuehner | Resolution | open => no change required |
2009-09-30 00:00 | anonymous | sf_bug_id | 0 => 2870158 |
Copyright © 2000 - 2009 MantisBT Group |