Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037444 | Modules | Initial data load | public | 2017-12-11 10:49 | 2022-02-28 13:53 | |||||||
Reporter | AtulOpenbravo | |||||||||||
Assigned To | Triage Platform Conn | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0037444: IndexOutOf BoundException raised in Journal Entries process in IDL module under some circumstances | |||||||||||
Description | User can avoid defining Account dimensions in General Ledger Configuration. This raises java.lang.IndexOutOfBoundsException in Journal Entry import process in IDL Module. | |||||||||||
Steps To Reproduce | - Install IDL module and apply reference data set. - Login as F&B International Group Admin - Navigate to General Ledger Configuration - Select record F&B International Group US/A/US Dollar - Under Dimension Tab, delete record of type Account. - Navigate to Import process - Select attached file and Entity as Journal Entry. - Click on Validate button. Realize that process is executed successfully. - Select attached file and Entity as Journal Entry. - Click on Process button. - Error is raised as java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.openbravo.idl.proc.JournalEntriesProcess.createJournalEntries(JournalEntriesProcess.java:274) ** If Account dimension in defined and Account Tree is kep blank following error can occur. java.lang.NullPointerException at org.openbravo.idl.proc.JournalEntriesProcess.createJournalEntries(JournalEntriesProcess.java:274) at | |||||||||||
Proposed Solution | Before getting criteriaAcctSchemaElement.list().get(0).getAccountingElement().getId() check whether list is empty and also account tree is set or not as it could be left blank. Meaningful message could be set so that user can configure system as required. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | Journal_Entries.csv (614) 2017-12-11 10:49 https://issues.openbravo.com/file_download.php?file_id=11360&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-12-11 10:49 | AtulOpenbravo | New Issue | ||||||||||
2017-12-11 10:49 | AtulOpenbravo | Assigned To | => Triage Finance | |||||||||
2017-12-11 10:49 | AtulOpenbravo | File Added: Journal_Entries.csv | ||||||||||
2017-12-11 10:55 | AtulOpenbravo | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16425#r16425 | |||||||||
2017-12-11 10:55 | AtulOpenbravo | Proposed Solution updated | ||||||||||
2017-12-11 10:57 | AtulOpenbravo | Relationship added | related to 0037443 | |||||||||
2022-02-28 13:53 | vmromanos | Assigned To | Triage Finance => Triage Platform Conn |
There are no notes attached to this issue. |