Dear sir, please help me sort out following exception occurred while running on servlet for converting Doc file to html Exception on occurred on this line of colde Code is HWPFDocumentCore wordDocument = WordToHtmlUtils.loadDoc(new File(fileName));
Exception :- - Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError: org.apache.poi.util.IOUtils.closeQuietly(Ljava/io/Closeable;)V at org.apache.poi.hwpf.converter.AbstractWordUtils.loadDoc(AbstractWordUtils.java:471) at org.importWord.web.action.ImportWordFileAction.execute(ImportWordFileAction.java:84) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source) ________________________________ From: "[email protected]" <[email protected]> To: [email protected] Sent: Friday, 14 December 2012 5:55 AM Subject: [Bug 54294] New: setSheetOrder on cloned sheet and deleting original sheet clears all sheets in saved file https://issues.apache.org/bugzilla/show_bug.cgi?id=54294 Bug ID: 54294 Summary: setSheetOrder on cloned sheet and deleting original sheet clears all sheets in saved file Product: POI Version: 3.9 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: HSSF Assignee: [email protected] Reporter: [email protected] Classification: Unclassified Created attachment 29753 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29753&action=edit Code to recreate problem and two simple workbooks I clone a sheet and then try to place the cloned sheet at the index where the original was. This is repeated a number of times and finally the original sheet is removeed (I want to allow a user to specify a template where one sheet may have to be repeated in the resulting file). The resulting file will have correctly named sheets in correct order but they will all be empty (even those not involved in the cloning). If, instead of having a sheet to be duplicated in the template, an empty sheet created with createSheet("...") is used it seems to work, but not if I move the created empty sheet with setSheetOrder before cloning it. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
