Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037444
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Initial data loadminoralways2017-12-11 10:492022-02-28 13:53
ReporterAtulOpenbravoView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM 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

DescriptionUser 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 SolutionBefore 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.
TagsNo tags attached.
Attached Filescsv file icon Journal_Entries.csv [^] (614 bytes) 2017-12-11 10:49

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037443 newTriage Platform Conn Query did not return a unique result error when import Journal Entries using IDL Module 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker