Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014353 | Openbravo ERP | 03. Procurement management | public | 2010-08-27 13:16 | 2010-10-30 11:24 |
|
Reporter | shuehner | |
Assigned To | harikrishnan | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP20 | |
Target Version | | Fixed in Version | | |
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.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | bug_revision_view_page.php?rev_id=1047#r1047 |
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 |