Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0037444 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Modules] Initial data load | minor | always | 2017-12-11 10:49 | 2022-02-28 13:53 | |||||||
Reporter | AtulOpenbravo | View Status | public | |||||||||
Assigned To | Triage Platform Conn | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | Journal_Entries.csv [^] (614 bytes) 2017-12-11 10:49 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |