Bug 52373

Summary: Parsers should handle failures more gracefully
Product: POI Reporter: Jerome Lacoste <jerome.lacoste>
Component: POI OverallAssignee: POI Developers List <dev>
Severity: normal CC: purebredfromcinsity
Priority: P2    
Version: 3.8-dev   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Jerome Lacoste 2011-12-20 12:22:49 UTC
Bug #52372 is one instance of a family of bugs that can come from either unsupported features / broken files and cause the parser to fail very hard.

So we wrote 
https://github.com/lacostej/tika-hardener to ease identifying places in the code which can be improved to fail more gracefully.

Feedback appreciated.
Comment 1 Nick Burch 2011-12-20 13:26:44 UTC
This is probably one for the Tika dev list

If you find issues in the underlying POI code, which are present in the latest POI svn snapshots, please report them here. For general discussions on parser stability, Tika is the place to have the discussion
Comment 2 Jerome Lacoste 2011-12-20 13:39:13 UTC
We will report individual issues as we find them. I just thought you might want to look at the code and maybe adapt it for use internally to the POI project.

Not sure I will personally be able to be on the mailing list. I will ask some co-workers if they can. Feel free to add info to this issue as I will follow up here.