Worksheet sheet1 = wb.getSheet(1);
Cells cells1=sheet1.getCells();
com.aspose.cells.ComboBox comboBox = sheet.getShapes().addComboBox(3, 5, 20,0,525,15);
cells1.getCell("A5").setValue("One");
cells1.getCell("A5").setValue("Two");
cells1.getCell("A5").setValue("Three");
cells1.getCell("A5").setValue("Four");
cells1.getCell("A5").setValue("Five");
comboBox.setLinkedCell(cell2.getName());
comboBox.setInputRange("=Sheet1!A1:Sheet1!A5");
comboBox.setDropDownLines(5);
Getting the below error
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at com.aspose.cells.Shape.a(Unknown Source)
at com.aspose.cells.ComboBox.setLinkedCell(Unknown Source)
Please let me know the soultion.