Skip to content

IndexOutOfBoundsException when generating Excel spreadsheet for latency analysis #1985

Description

@reteprelief

The situation occurs when you have a model with modes and none of the ETEF are active in the initial mode and you run the analysis with only the initial mode.
Thus, there are no ETEF instance results.
The exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at jxl.write.biff.WritableWorkbookImpl.getSheet(WritableWorkbookImpl.java:408)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:794)
at org.osate.analysis.flows.model.LatencyExcelReport.generateExcelReport(LatencyExcelReport.java:127)
at org.osate.analysis.flows.handlers.CheckFlowLatency.finalizeAnalysis(CheckFlowLatency.java:132)

Activity

  1. changed the title [-]IndexOutOfBOundsException when gernating Excel spreadsheet for latency analysis[/-] [+]IndexOutOfBoundsException when generating Excel spreadsheet for latency analysis[/+] on Sep 9, 2019
  2. added this to the 2.6.0 milestone on Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions