An Error in importing data:java.lang.ArrayIndexOutOfBoundsException

Gboyjh
Gboyjh New Altair Community Member
edited November 5 in Community Q&A
Details belowed:
  • Exception: java.lang.ArrayIndexOutOfBoundsException
  • Message: Index 5 out of bounds for length 5
  • Stack trace:
  • com.rapidminer.operator.nio.model.xlsx.XlsxNumberFormats.setCellNumberFormatId(XlsxNumberFormats.java:65)
  • com.rapidminer.operator.nio.model.xlsx.XlsxNumberFormatParser.parseNumberFormats(XlsxNumberFormatParser.java:144)
  • com.rapidminer.operator.nio.model.xlsx.XlsxResultSet.(XlsxResultSet.java:248)
  • com.rapidminer.operator.nio.model.xlsx.XlsxResultSet.(XlsxResultSet.java:329)
  • com.rapidminer.operator.nio.model.xlsx.XlsxSheetTableModel.(XlsxSheetTableModel.java:114)
  • com.rapidminer.operator.nio.model.ExcelResultSetConfiguration.createExcelTableModel(ExcelResultSetConfiguration.java:240)
  • com.rapidminer.operator.nio.model.ExcelResultSetConfiguration.createExcelTableModel(ExcelResultSetConfiguration.java:217)
  • com.rapidminer.studio.io.data.internal.file.excel.ExcelSheetSelectionPanelModel$1.loadTableModel(ExcelSheetSelectionPanelModel.java:212)
  • com.rapidminer.studio.io.data.internal.file.excel.ExcelSheetSelectionPanelModel$1.run(ExcelSheetSelectionPanelModel.java:176)
  • com.rapidminer.gui.tools.ProgressThread$3.run(ProgressThread.java:586)
  • java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  • java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  • java.base/java.lang.Thread.run(Unknown Source)

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    are you trying to read the 5th sheet of an excel which only has 4? Thats how this looks like.
    BR,
    Martin