Created attachment 32721 [details] Excel File and error stack trace WorkbookFactory.create(is) (Where is input stream) is throwing an error.(using an xls file) On looking up the error, I found Bug 50779 which suggested that it has been fixed...Tried downloading the 3.11 Final version but still get the same error.. org.apache.poi.hssf.record.RecordFormatException: Not enough data (1) to read requested (2) bytes On just opening the file and saving it without any modifications and keeping the file type as xls only, the problem appears to go away...So some wierd characters might be causing the issue.. Attached the xls file and the complete error strack trace. Appreciate a quick turnaround !!!
Any chance you could re-test with the POI 3.12 release candidate, and see if it's fixed in that newer version? https://dist.apache.org/repos/dist/dev/poi/
Nick, I tested it with the latest 3.12 version and I can confirm that the issue still exists.
Is anyone looking into this ??
I am sorry that the free support you receive from a community of volunteers for some software that is free isn't as fast as you would like. If only you had the source code for the software, so you could investigate it yourself! Or a workaround! Oh, wait...
Can anyone please suggest if this issue has been fixed and if yes , what version is it ?
Feel free to write a unit test for this. If it's fixed in the latest version but not fixed in a previous version (or vice versa), you could use a tool look git-bisect to find the version that fixed (or broke) this issue. In general, the best way to see a bug resolved to your liking is to put in a proportional amount of effort, which includes doing a majority of the leg work developing necessary tests to prove existing functionality is incorrect, proposing patches, then using those tests to prove the patch is correct. Downloading the POI source code, setting up eclipse, and building and testing the code is pretty straightforward.