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

Free Support Forum - aspose.com

Open excel with throw exception

JDK version : java version "1.6.0_18"
aspose version : aspose-cells-8.0.2.jar
attached is test file.
could you check what's the reson?



[2014-08-04 10:56:01,778] ERROR AsposeExcelToMDXUtil(getWorkSheetsName:196): error:Unexcepted eof.
[2014-08-04 10:56:01,778] DEBUG AsposeExcelToMDXUtil(shutDown:36): reportNumber 117777920 shutDown start
[2014-08-04 10:56:01,945] DEBUG AsposeExcelToMDXUtil(shutDown:51): reportNumber 117777920 shutDown end
[2014-08-04 10:56:01,946] ERROR ReportServerHelper(createTemplateCopy:136): Error in ReportRenderer.createTemplateCopy()
com.rsi.common.base.service.ServiceException: Error in getWorkSheetsName
at com.rsi.report.util.AsposeExcelToMDXUtil.getWorkSheetsName(AsposeExcelToMDXUtil.java:197)
at com.rsi.report.util.AsposeExcelToMDXUtil.readTemplateFile(AsposeExcelToMDXUtil.java:154)
at com.rsi.reportserver.service.ReportServerHelper.validateCustomTemplate(ReportServerHelper.java:156)
at com.rsi.reportserver.service.ReportServerHelper.createTemplateCopy(ReportServerHelper.java:127)
at com.rsi.reportserver.service.ReportServerHelper.processMDX(ReportServerHelper.java:265)
at com.rsi.reportserver.service.ReportServerServiceImpl.processMDX(ReportServerServiceImpl.java:63)
at com.rsi.report.service.ReportGenerationJob.execute(ReportGenerationJob.java:211)
at com.rsi.core.job.service.jobengine.JobRunShell$2.process(JobRunShell.java:117)
at com.rsi.core.job.service.jobengine.TransactionTask.call(TransactionTask.java:29)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.aspose.cells.bqa: Unexcepted eof.
at com.aspose.cells.bqj.w(Unknown Source)
at com.aspose.cells.bqj.b(Unknown Source)
at com.aspose.cells.bqj.u(Unknown Source)
at com.aspose.cells.acg.n(Unknown Source)
at com.aspose.cells.acg.a(Unknown Source)
at com.aspose.cells.acf.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at com.rsi.report.util.AsposeExcelToMDXUtil.getWorkSheetsName(AsposeExcelToMDXUtil.java:179)
... 13 more
Hi,

After an initial test, I got the exception when opening your template XLSM file:
Unexpected eof
e.g
Sample code:

Workbook workbook = new Workbook("SSO+Generator.xlsm");

I have logged a ticket with an id "CELLSJAVA-40935" for your issue. We will look into it soon.

Once we have any update on it, we will let you know here.

Thank you.

could you update the status? thanks.

We buy your license and use it in our project, but it’s a block issue for us to read this excel template.

Hi Joseph,

Thanks for using Aspose.Cells.

We have checked your issue status from database and we are pleased to inform you that this issue has been fixed. Hopefully, we will provide you a fix in this week to you.

Hi,

Thanks for using Aspose.Cells for Java.

Please download and try this fix: Aspose.Cells for Java v8.1.2.5 and let us know your feedback.

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


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