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

View Revisions: Issue #37444 Back to Issue ]
Summary 0037444: IndexOutOf BoundException raised in Journal Entries process in IDL module under some circumstances
Revision 2017-12-11 10:55 by AtulOpenbravo
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
Revision 2017-12-11 10:49 by AtulOpenbravo
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)
    at org.openbravo.idl.proc.JournalEntriesProcess.internalProcess(JournalEntriesProcess.java:99)
    at org.openbravo.idl.proc.IdlService.finishRecordProcess(IdlService.java:221)
    at org.openbravo.idl.initial_data_load.journalentryjob_0_1.JournalEntryJob.tFileInputDelimited_1Process(JournalEntryJob.java:6527)
    at org.openbravo.idl.initial_data_load.journalentryjob_0_1.JournalEntryJob.runJobInTOS(JournalEntryJob.java:6836)
    at org.openbravo.idl.initial_data_load.journalentryjob_0_1.JournalEntryJob.runJob(JournalEntryJob.java:6762)
    at org.openbravo.idl.proc.JournalEntriesProcess.runJob(JournalEntriesProcess.java:63)
    at org.openbravo.idl.proc.IdlServiceETL.executeImport(IdlServiceETL.java:20)
    at org.openbravo.idl.proc.IdlService.executeProcess(IdlService.java:103)
    at org.openbravo.idl.form.IDL_import.doPost(IDL_import.java:109)


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker