<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Excel tools not reading excel file (zip entry)</title><link>https://community.appian.com/discussions/f/plug-ins/23499/excel-tools-not-reading-excel-file-zip-entry</link><description>Upon reading or uploading an excel file receiving the following log error 
 
 2022-01-20 21:09:00,529 [ajp-nio-0.0.0.0-8009-exec-6] ERROR com.appiancorp.ps.exceltools.expression.ReadExcelFileFunction - Failed to read zip entry source java.io.IOException</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Excel tools not reading excel file (zip entry)</title><link>https://community.appian.com/thread/90398?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 19:59:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69256102-4bc1-46ae-8622-021ef0fbf6ab</guid><dc:creator>hunterr0001</dc:creator><description>&lt;p&gt;Thanks for the response. So actually the file upload is on a separate interface and process. I just wasn&amp;#39;t getting the error at the file upload step but the process was not taking the file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On a separate interface, I used the function to read excel (the excel file was already in an Appian folder as the file upload was complete). The file shows as .xlsx in the folder. When I pass it in to the read excel function, then I receive the error (Failure to read zip entry source).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Excel tools not reading excel file (zip entry)</title><link>https://community.appian.com/thread/90009?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 19:35:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b011ad86-b96f-4d6c-b77c-5ac3882b2e65</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;To confirm here, are you attempting to read the file with fn!readexcelsheetpaging() on the same form that you are uploading it via a!fileUploadField()?&amp;nbsp; I can&amp;#39;t say I&amp;#39;ve seen this exact error prior, but one note in case this is the scenario, is that you must first submit the form in which the upload is occurring to turn the document from a temporary object, to an actual document object, then you can read the file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is done often is, aside from your file upload field, have a button near by with something like &amp;#39;Process Upload&amp;#39;, &amp;#39;Load File&amp;#39;, etc - which actually submits the form (converting the upload into a document object), but chains through a script task which completes the fn!readexcelsheetpaging, then chains back to the same form - this will read the doc and give the use the impression that the form did not move/submit.&lt;/p&gt;
&lt;p&gt;If that is not the situation, please elaborate on your use case a bit - thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Excel tools not reading excel file (zip entry)</title><link>https://community.appian.com/thread/90008?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 19:24:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13379c05-50f6-479e-b6ab-dd5b76fa2a41</guid><dc:creator>hunterr0001</dc:creator><description>&lt;p&gt;Caused by: java.util.zip.ZipException: invalid entry size (expected 0 but got 1053 bytes)&lt;br /&gt;at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384)&lt;br /&gt;at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)&lt;br /&gt;at org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream.read(ZipSecureFile.java:220)&lt;br /&gt;at java.io.FilterInputStream.read(FilterInputStream.java:107)&lt;br /&gt;at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource$FakeZipEntry.&amp;lt;init&amp;gt;(ZipInputStreamZipEntrySource.java:132)&lt;br /&gt;at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource.&amp;lt;init&amp;gt;(ZipInputStreamZipEntrySource.java:56)&lt;br /&gt;at org.apache.poi.openxml4j.opc.ZipPackage.&amp;lt;init&amp;gt;(ZipPackage.java:100)&lt;br /&gt;... 830 more&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>