We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception on document load

With the simple code snippet as following:
import com.aspose.cells.Workbook;

public class MainClass
{

public static void main(String[] args) throws Exception
{
Workbook workboook = new Workbook(“PATH_TO_FILE\escapers_test.xlsx”);

}
}
I receive an exception when document is loaded, document attached:
Exception in thread “main” com.aspose.cells.bjd: ReadElementString only could be called when the content is simple or empty.
at com.aspose.cells.bjm.h(Unknown Source)
at com.aspose.cells.zs.b(Unknown Source)
at com.aspose.cells.zs.a(Unknown Source)
at com.aspose.cells.zy.t(Unknown Source)
at com.aspose.cells.zy.a(Unknown Source)
at com.aspose.cells.zx.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at mine.test.MainClass.main(MainClass.java:10)

Hi,

Thanks for your posting and using Aspose.Cells for Java.

We were able to replicate this exception using your source file and sample code. We have logged this issue in our database. We will look into it and resolve this exception. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSJAVA-40550.

Hi,


Please try the attached fix/version: Aspose.Cells for Java v7.5.0.2, we have fixed the issue regarding reading files.

Thank you.

The issues you have found earlier (filed as CELLSJAVA-40550) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.