Customer Portal

XLS_WRITER throwing java.lang.ArrayIndexOutOfBoundsException

Comments 2

  • Avatar
    Vladimir Barton
    0
    Comment actions Permalink
    Hi kreddy,
    the ArrayIndexOutOfBoundsException error message is typically thrown to indicate that an array has been accessed with an illegal index. The index could be either negative or greater than or equal to the size of the array. Given the fact that XLSWriter is a deprecated component in the 4.3 version I would suggest replacing it with its successor – the SpreadSheetWriter component.
    If this does not help, the graph will require a closer inspection from our end. In such case, please, provide us with the graph in question including some sample data?
    Regards,
  • Avatar
    Vladimir Barton
    0
    Comment actions Permalink
    Hello kreddy,
    there might be another reason for the issue to occur non-deterministicly. The error message that you reported has been seen in situations where a JXL library version newer than 2.6.9 is used when writing to Excel. The JXL is a library of JExcelAPI, which is an open source Java API that enables reading, writing, and modifying Excel spreadsheets dynamically. To confirm that the issue you have been encountering is actually caused by the newer version of the JXL library, please run the attached graph and provide us with the run log from that graph. We will then take it from here.
    Regards,

Please sign in to leave a comment.