Illegal Argument Exception on Adding CellRows

Hi,

I am getting Illegal Argument Exception on importing the object array.

java.lang.IllegalArgumentException: Unknow value type

at com.aspose.cells.Cell.setValue(Unknown Source)

at com.aspose.cells.Cells.importObjectArray(Unknown Source)

In the object[] array one of the value is StringBuffer.It doesn't allow this object data.But if i convert to String it goes fine.How to resolve this issue so that Aspose understands it properly without conversion.

Thanks

Joe

Hi Joe,

Please convert StringBuffer to string object before calling importing method.