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)
I don’t find the issue (you have mentioned) using your code. I have used the attached version, kindly try it. Following is my sample code with the attached version and it works fine.
Sample code: //Create a new Workbook. Workbook wb = new Workbook();
I am not creating the new excel. Reading existing excel sheet and adding the combobox on exporting the data in the excel sheet. But when i deploy the code on other windows OS. It works only when I re-start the WebSphere server for about 10-15 min and then the below error is generating.
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 com.aspose.cells.Shape.a(Unknown Source) com.aspose.cells.ComboBox.setLinkedCell(Unknown Source)
Even I tried to read the excel sheet that consist the form combobox. but on reading and exporting the excel the combobox are not displaying. .
Are you using IBM's JDK1.5? There are some other users that have reported such issue with IBM's JDK1.5, one of those threads is: https://forum.aspose.com/t/68276, would you please try it to test whether it can work? If you still get such issue with this version, I am afraid the root solution should be that the bugs of IBM's JDK be fixed. Thank you.