Exception processing particular xls file in Viewer

Hi,


I’ve set up the demo viewer app for java using both spring and servlet examples running on JDK8 and tomcat 8. The viewer is running fine and processing all of the pdf, ppt, doc and xls files we pass to it, except for one particular file (attached). When this file is run through the viewer it just displayed a blank viewer window the following exception is reported in the catelina.out log:

30-Sep-2015 17:05:54.299 SEVERE [http-nio-8080-exec-9] null.null null

java.lang.IllegalStateException: Can't get html content from xls file!

at com.groupdocs.viewer.b.a.b.L(Unknown Source)

at com.groupdocs.viewer.handlers.ViewerHandlerBasic.viewDocument(Unknown Source)

at com.groupdocs.viewer.handlers.ViewerHandler.viewDocumentHandler(Unknown Source)

at com.groupdocs.viewer.samples.javaweb.servlet.ViewDocumentHandlerServlet.doPost(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:169)

at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:232)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)


The odd thing is that I tried using the hosted viewer app at apps.groupdocs.com and it works fine there. Please could you help me figure out why it is not working in my local instance?

Thank you,

Stephen Thornhill

Hello Stephen,

Thank you for your inquiry.

We have tested your file example and have managed to reproduce the same issue at our side. We have logged this problem in our issue tracking system as VIEWERJAVA-1051. We have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for the inconvenience.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

The issues you have found earlier (filed as VIEWERJAVA-1051;VIEWERJAVA-1053) have been fixed in this update.


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

Hi Evgen,


Thanks very much for your help,

Stephen

Hello Stephen,


You are welcome. We will do everything possible to resolve this issue ASAP and we will notify you , when this issue will be resolved.

--------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hi Evgen,


Thank you. We have also found an Exception being raised on some PPTX files (see attached file), though the exception is different:

02-Oct-2015 09:15:52.550 SEVERE [http-nio-8080-exec-5] com.groupdocs.viewer.samples.javaweb.servlet.ViewDocumentHandlerServlet.doPost null

java.lang.NullPointerException

at com.groupdocs.viewer.b.a.j.L(Unknown Source)

at com.groupdocs.viewer.handlers.ViewerHandlerBasic.viewDocument(Unknown Source)

at com.groupdocs.viewer.handlers.ViewerHandler.viewDocumentHandler(Unknown Source)

at com.groupdocs.viewer.samples.javaweb.servlet.ViewDocumentHandlerServlet.doPost(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)


We've found that this occurs on a few different powerpoint files. Thanks very much for your help,


Stephen

Hello Stephen,

Thank you for this notification.

Yes , we have managed to reproduce the same issue at our side. The Product team was informed about it and we created a ticket in our system (VIEWERJAVA-1053). When the bug is resolved you’ll get an email notification.

We apologize for the inconvenience.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+