Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0014353 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | minor | have not tried | 2010-08-27 13:16 | 2010-10-30 11:24 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | harikrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4c5f366a38e6 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP20 | 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 | 0014353: ArrayOutOfBoundsException in SL_Requisition_BPartner | |||||||
Description | Found as stacktrace on logfile on demo.openbravo.com ff9cdf33 10:06:38 [ajp-8809-10] ERROR org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner - Error captured: java.lang.ArrayIndexOutOfBoundsException: 0 at org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner.printPage(SL_Requisition_BPartner.java:74) at org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner.doPost(SL_Requisition_BPartner.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) From checking code can happen, as never the count of the result is checked before using it. Also the calling code has some extra condition for an empty parameter being passed in but still continues with the execution flow which does not make sense (as "" for c_bpartner_id will never find any rows) | |||||||
Steps To Reproduce | *Go to Business Partner window and choose "Obelix Quarry SA". *And remove the price list assigned in vendor tab. *Now go to Requisition tab and in header choose the business partner "Obelix Quarry SA".Then this error will be thrown in the tomcat log. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0031806) hgbot (developer) 2010-10-13 13:12 |
Repository: erp/devel/pi Changeset: 4c5f366a38e6e67457f697f4c59fd0fb1a52eaeb Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com> Date: Wed Oct 13 16:41:09 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/4c5f366a38e6e67457f697f4c59fd0fb1a52eaeb [^] Fixes Issue 14353: ArrayOutOfBoundsException in SL_Requisition_BPartner --- M src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner.java --- |
(0031808) harikrishnan (viewer) 2010-10-13 13:14 |
Impact: Their is no impact because of this changeset. |
(0031840) hudsonbot (viewer) 2010-10-13 23:38 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/4c5f366a38e6 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/c531f0a7334b [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18531.obx [^] |
(0032072) sureshbabu (viewer) 2010-10-21 17:14 |
verified |
![]() |
|||
Date Modified | Username | Field | Change |
2010-08-27 13:16 | shuehner | New Issue | |
2010-08-27 13:16 | shuehner | Assigned To | => adrianromero |
2010-08-27 13:16 | shuehner | OBNetwork customer | => No |
2010-10-13 13:05 | harikrishnan | Steps to Reproduce Updated | View Revisions |
2010-10-13 13:05 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-10-13 13:12 | hgbot | Checkin | |
2010-10-13 13:12 | hgbot | Note Added: 0031806 | |
2010-10-13 13:12 | hgbot | Status | new => resolved |
2010-10-13 13:12 | hgbot | Resolution | open => fixed |
2010-10-13 13:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4c5f366a38e6e67457f697f4c59fd0fb1a52eaeb [^] |
2010-10-13 13:14 | harikrishnan | Note Added: 0031808 | |
2010-10-13 23:38 | hudsonbot | Checkin | |
2010-10-13 23:38 | hudsonbot | Note Added: 0031840 | |
2010-10-21 17:14 | sureshbabu | Note Added: 0032072 | |
2010-10-21 17:14 | sureshbabu | Status | resolved => closed |
2010-10-30 11:24 | anonymous | sf_bug_id | 0 => 3098728 |
Copyright © 2000 - 2009 MantisBT Group |