Summary: | RecordFormatException when reading Excel workbook | ||
---|---|---|---|
Product: | POI | Reporter: | Nick Giles <nick.giles> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.5-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Nick Giles
2009-03-23 08:10:11 UTC
Can you re-test with a recent 3.5 nightly and see if it's fixed there or not? However, the stack trace does look like your file might be corrupt, or it's possible that the continue record is further from the original record than we expect it to be. Best to know if it's fixed first though Fails with 3.5-beta5-20090219, I can't find a link to any nightly builds on the website, would I have to download and build from source? The file opens in Excel, OpenOffice and POI 3.2. It continues to fail to open even when I've deleted every sheet from the workbook, so it looks like it's hidden in the leftovers. (In reply to comment #2) > Fails with 3.5-beta5-20090219, I can't find a link to any nightly builds on the > website, would I have to download and build from source? > And if so, should I just use trunk? Daily builds can be downlaoded from http://encore.torchbox.com/poi-svn-build/ You say you can reproduce the trouble even if you delete all sheets from the workbook. Can you attach the leftovers? Yegor It is fixed in poi-3.5-beta6-20090323.jar. A quick test suggests it was actually fixed in poi-3.5-beta6-20090212.jar (poi-3.5-beta6-20090211.jar fails). I was wrong about being able to reproduce with no sheets though, that was me not hitting refresh in Eclipse enough when testing... Thanks, I'll probably wait for beta 6 then. This bug is a duplicate of bug 46693 It's often a good idea to first try searching for existing reports of the same bug, for example: http://www.google.com/search?q="Expected+to+find+a+ContinueRecord+in+order+to+read+remaining+65535+of+65535+chars" *** This bug has been marked as a duplicate of bug 46693 *** |